equal
deleted
inserted
replaced
|
1 # Build WLDCOMP, a strange WINC/Win32 hybrid |
|
2 # |
|
3 !IF "$(PLATFORM)" == "WINSCW" |
|
4 TOOLNAME=genbackupmeta |
|
5 SRCDIR=..\genbackupmeta |
|
6 |
|
7 |
|
8 !if "$(CFG)" == "REL" |
|
9 VC_CFG="$(TOOLNAME) - Win32 Release" |
|
10 CFG=UREL |
|
11 !else |
|
12 VC_CFG="$(TOOLNAME) - Win32 Debug" |
|
13 CFG=UDEB |
|
14 !endif |
|
15 |
|
16 maketool : |
|
17 cd $(SRCDIR) |
|
18 echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG=$(VC_CFG) |
|
19 NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG=$(VC_CFG) |
|
20 echo ..\tgenbackupmeta\scripts\preparemeta.pl $(PLATFORM) $(CFG) |
|
21 ..\tgenbackupmeta\scripts\preparemeta.pl $(PLATFORM) $(CFG) |
|
22 |
|
23 !ELSE |
|
24 maketool :do_nothing |
|
25 |
|
26 !ENDIF |
|
27 do_nothing: |
|
28 rem do nothing |
|
29 |
|
30 # |
|
31 # The targets invoked by abld... |
|
32 # |
|
33 |
|
34 MAKMAKE : do_nothing |
|
35 FREEZE : do_nothing |
|
36 LIB : do_nothing |
|
37 RESOURCE : do_nothing |
|
38 CLEANLIB : do_nothing |
|
39 FINAL : do_nothing |
|
40 |
|
41 SAVESPACE : BLD |
|
42 |
|
43 BLD : maketool |
|
44 |
|
45 CLEAN : |
|
46 cd $(SRCDIR) |
|
47 echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CLEAN CFG=$(VC_CFG) |
|
48 NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CLEAN CFG=$(VC_CFG) |
|
49 -@erase $(TOOL) |
|
50 |
|
51 RELEASABLES : |
|
52 echo $(TOOL) |