author | sl@SLION-WIN7.fritz.box |
Fri, 15 Jun 2012 03:10:57 +0200 | |
changeset 0 | bde4ae8d615e |
permissions | -rw-r--r-- |
sl@0 | 1 |
# Build WLDCOMP, a strange WINC/Win32 hybrid |
sl@0 | 2 |
# |
sl@0 | 3 |
|
sl@0 | 4 |
TOOLNAME=zlib |
sl@0 | 5 |
SRCDIR=. |
sl@0 | 6 |
|
sl@0 | 7 |
!if "$(CFG)" == "DEB" |
sl@0 | 8 |
VC_CFG="$(TOOLNAME) - Win32 Release" |
sl@0 | 9 |
!else |
sl@0 | 10 |
VC_CFG="$(TOOLNAME) - Win32 Debug" |
sl@0 | 11 |
CFG=REL |
sl@0 | 12 |
!endif |
sl@0 | 13 |
|
sl@0 | 14 |
TARGETDIR=$(EPOCROOT)epoc32\release\winc\$(CFG) |
sl@0 | 15 |
TOOL=$(TARGETDIR)\$(TOOLNAME).lib |
sl@0 | 16 |
|
sl@0 | 17 |
makelib : |
sl@0 | 18 |
cd $(SRCDIR) |
sl@0 | 19 |
echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG=DEB |
sl@0 | 20 |
NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG="$(TOOLNAME) - Win32 Debug" |
sl@0 | 21 |
echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG=REL |
sl@0 | 22 |
NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CFG="$(TOOLNAME) - Win32 Release" |
sl@0 | 23 |
|
sl@0 | 24 |
do_nothing: |
sl@0 | 25 |
rem do nothing |
sl@0 | 26 |
|
sl@0 | 27 |
# |
sl@0 | 28 |
# The targets invoked by abld... |
sl@0 | 29 |
# |
sl@0 | 30 |
|
sl@0 | 31 |
MAKMAKE : do_nothing |
sl@0 | 32 |
FREEZE : do_nothing |
sl@0 | 33 |
|
sl@0 | 34 |
LIB : makelib |
sl@0 | 35 |
|
sl@0 | 36 |
RESOURCE : do_nothing |
sl@0 | 37 |
CLEANLIB : do_nothing |
sl@0 | 38 |
FINAL : do_nothing |
sl@0 | 39 |
SAVESPACE : do_nothing |
sl@0 | 40 |
BLD : do_nothing |
sl@0 | 41 |
|
sl@0 | 42 |
CLEAN : |
sl@0 | 43 |
cd $(SRCDIR) |
sl@0 | 44 |
echo NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CLEAN CFG=$(VC_CFG) |
sl@0 | 45 |
NMAKE /S /NOLOGO /f $(SRCDIR)\$(TOOLNAME).MAK CLEAN CFG=$(VC_CFG) |
sl@0 | 46 |
erase $(TOOL) |
sl@0 | 47 |
|
sl@0 | 48 |
RELEASABLES : |
sl@0 | 49 |
echo $(TOOL) |