Makefile.win revision 8c7eff1522ca75fe6b5a76565cf35a0a9723e093
6ae232055d4d8a97267517c5e50074c2c819941and# Makefile for Windows NT and Windows 95/98/2000
6ae232055d4d8a97267517c5e50074c2c819941and# Targets are:
6ae232055d4d8a97267517c5e50074c2c819941and# _apacher - build Apache in Release mode
6ae232055d4d8a97267517c5e50074c2c819941and# _apached - build Apache in Debug mode
6ae232055d4d8a97267517c5e50074c2c819941and# installr - build and install a Release build
6ae232055d4d8a97267517c5e50074c2c819941and# installd - build and install a Debug build
6ae232055d4d8a97267517c5e50074c2c819941and# clean - remove (most) generated files
6ae232055d4d8a97267517c5e50074c2c819941and# _cleanr - remove (most) files generated by a Release build
6ae232055d4d8a97267517c5e50074c2c819941and# _cleand - remove (most) files generated by a Debug build
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# The default installation directory is \Apache. This can be changed
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# with the INSTDIR macro, for example:
6ae232055d4d8a97267517c5e50074c2c819941and# nmake /f Makefile.win INSTDIR="d:\Program Files\Apache" installr
6ae232055d4d8a97267517c5e50074c2c819941and# Note: this does *NOT* change the compiled in default "server root"
3f08db06526d6901aa08c110b5bc7dde6bc39905nd!IF "$(INSTDIR)" == ""
6ae232055d4d8a97267517c5e50074c2c819941andINSTDIR=\Apache
6ae232055d4d8a97267517c5e50074c2c819941and!MESSAGE Using default install directory \Apache
6ae232055d4d8a97267517c5e50074c2c819941anddefault: _apacher
b43f840409794ed298e8634f6284741f193b6c4ftakashi $(MAKE) /f Makefile.win SHORT=R LONG=Release _build
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung $(MAKE) /f Makefile.win SHORT=D LONG=Debug _build
b43f840409794ed298e8634f6284741f193b6c4ftakashi $(MAKE) /f Makefile.win SHORT=R LONG=Release _build _install
6ae232055d4d8a97267517c5e50074c2c819941and $(MAKE) /f Makefile.win SHORT=D LONG=Debug _build _install
6ae232055d4d8a97267517c5e50074c2c819941and $(MAKE) /f Makefile.win SHORT=R LONG=Release CTARGET=CLEAN _build
6ae232055d4d8a97267517c5e50074c2c819941and $(MAKE) /f Makefile.win SHORT=D LONG=Debug CTARGET=CLEAN _build
6ae232055d4d8a97267517c5e50074c2c819941and $(MAKE) /f Makefile.win SHORT=R LONG=Release CTARGET=CLEAN _build
6ae232055d4d8a97267517c5e50074c2c819941and $(MAKE) /f Makefile.win SHORT=D LONG=Debug CTARGET=CLEAN _build
6ae232055d4d8a97267517c5e50074c2c819941and $(MAKE) /f Makefile.win SHORT=R LONG=Release CTARGET=CLEAN _installdll
6ae232055d4d8a97267517c5e50074c2c819941andinstalldll:
6ae232055d4d8a97267517c5e50074c2c819941and $(MAKE) /f Makefile.win SHORT=R LONG=Release _installdll
6ae232055d4d8a97267517c5e50074c2c819941and echo Building Win32 $(LONG) targets ($(SHORT) suffixes)
6ae232055d4d8a97267517c5e50074c2c819941and# aprlibdll creates the dynamic aprlib.dll from the static library project aprlib.dsp
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="aprlib - Win32 $(LONG)" -f aprlib.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="aprlibdll - Win32 $(LONG)" -f aprlibdll.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="regex - Win32 $(LONG)" -f regex.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="ap - Win32 $(LONG)" -f ap.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and cd support
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="htpasswd - Win32 $(LONG)" -f htpasswd.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and# nmake /nologo CFG="htdigest - Win32 $(LONG)" -f htdigest.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="logresolve - Win32 $(LONG)" -f logresolve.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="rotatelogs - Win32 $(LONG)" -f rotatelogs.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="gen_uri_delims - Win32 $(LONG)" -f gen_uri_delims.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="gen_test_char - Win32 $(LONG)" -f gen_test_char.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and -del Core$(SHORT)\buildmark.obj
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="ApacheCore - Win32 $(LONG)" -f ApacheCore.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="Apache - Win32 $(LONG)" -f Apache.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and cd os\win32
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="ApacheModuleStatus - Win32 $(LONG)" -f ApacheModuleStatus.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and# nmake /nologo CFG"=ApacheModuleInfo - Win32 $(LONG)" -f ApacheModuleInfo.mak RECURSE=0 $(CTARGET)
b43f840409794ed298e8634f6284741f193b6c4ftakashi nmake /nologo CFG="ApacheModuleAuthAnon - Win32 $(LONG)" -f ApacheModuleAuthAnon.mak RECURSE=0 $(CTARGET)
6ae232055d4d8a97267517c5e50074c2c819941and nmake /nologo CFG="ApacheModuleAuthDigest - Win32 $(LONG)" -f ApacheModuleAuthDigest.mak RECURSE=0 $(CTARGET)
e1e8390280254f7f0580d701e583f670643d4f3fnilgun nmake /nologo CFG="ApacheModuleCERNMeta - Win32 $(LONG)" -f ApacheModuleCERNMeta.mak RECURSE=0 $(CTARGET)
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung nmake /nologo CFG="ApacheModuleExpires - Win32 $(LONG)" -f ApacheModuleExpires.mak RECURSE=0 $(CTARGET)
727872d18412fc021f03969b8641810d8896820bhumbedooh nmake /nologo CFG="ApacheModuleFileCache - Win32 $(LONG)" -f ApacheModuleFileCache.mak RECURSE=0 $(CTARGET)
0d0ba3a410038e179b695446bb149cce6264e0abnd nmake /nologo CFG="ApacheModuleHeaders - Win32 $(LONG)" -f ApacheModuleHeaders.mak RECURSE=0 $(CTARGET)
727872d18412fc021f03969b8641810d8896820bhumbedooh nmake /nologo CFG="ApacheModuleSpeling - Win32 $(LONG)" -f ApacheModuleSpeling.mak RECURSE=0 $(CTARGET)
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh nmake /nologo CFG="ApacheModuleUserTrack - Win32 $(LONG)" -f ApacheModuleUserTrack.mak RECURSE=0 $(CTARGET)
0d0ba3a410038e179b695446bb149cce6264e0abnd nmake /nologo CFG="ApacheModuleRewrite - Win32 $(LONG)" -f ApacheModuleRewrite.mak RECURSE=0 $(CTARGET)
727872d18412fc021f03969b8641810d8896820bhumbedooh# cd modules\proxy
0d0ba3a410038e179b695446bb149cce6264e0abnd# nmake /nologo CFG="ApacheModuleProxy - Win32 $(LONG)" -f ApacheModuleProxy.mak RECURSE=0 $(CTARGET)
0d0ba3a410038e179b695446bb149cce6264e0abnd -mkdir $(INSTDIR)
0d0ba3a410038e179b695446bb149cce6264e0abnd -mkdir $(INSTDIR)\modules
0d0ba3a410038e179b695446bb149cce6264e0abnd -mkdir $(INSTDIR)\logs
727872d18412fc021f03969b8641810d8896820bhumbedooh -mkdir $(INSTDIR)\conf
0d0ba3a410038e179b695446bb149cce6264e0abnd -mkdir $(INSTDIR)\bin
0d0ba3a410038e179b695446bb149cce6264e0abnd copy Apache$(SHORT)\Apache.exe $(INSTDIR)
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh copy Core$(SHORT)\ApacheCore.dll $(INSTDIR)
b43f840409794ed298e8634f6284741f193b6c4ftakashi copy lib\apr\$(LONG)\aprlib.dll $(INSTDIR)
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen copy os\win32\ApacheModuleStatus$(SHORT)\ApacheModuleStatus.dll $(INSTDIR)\modules
0d0ba3a410038e179b695446bb149cce6264e0abnd# copy os\win32\ApacheModuleInfo$(SHORT)\ApacheModuleInfo.dll $(INSTDIR)\modules
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd copy os\win32\ApacheModuleAuthAnon$(SHORT)\ApacheModuleAuthAnon.dll $(INSTDIR)\modules
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd copy os\win32\ApacheModuleAuthDigest$(SHORT)\ApacheModuleAuthDigest.dll $(INSTDIR)\modules
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd copy os\win32\ApacheModuleCERNMeta$(SHORT)\ApacheModuleCERNMeta.dll $(INSTDIR)\modules
6ae232055d4d8a97267517c5e50074c2c819941and copy os\win32\ApacheModuleExpires$(SHORT)\ApacheModuleExpires.dll $(INSTDIR)\modules
copy os\win32\ApacheModuleFileCache$(SHORT)\ApacheModuleFileCache.dll $(INSTDIR)\modules
copy os\win32\ApacheModuleHeaders$(SHORT)\ApacheModuleHeaders.dll $(INSTDIR)\modules
copy os\win32\ApacheModuleRewrite$(SHORT)\ApacheModuleRewrite.dll $(INSTDIR)\modules
copy os\win32\ApacheModuleSpeling$(SHORT)\ApacheModuleSpeling.dll $(INSTDIR)\modules
copy os\win32\ApacheModuleUserTrack$(SHORT)\ApacheModuleUserTrack.dll $(INSTDIR)\modules
# copy modules\proxy\$(LONG)\ApacheModuleProxy.dll $(INSTDIR)\modules
copy support\$(LONG)\htpasswd.exe $(INSTDIR)\bin
# copy support\$(LONG)\htdigest.exe $(INSTDIR)\bin
copy support\$(LONG)\logresolve.exe $(INSTDIR)\bin
copy support\$(LONG)\rotatelogs.exe $(INSTDIR)\bin
nmake /nologo CFG="install - Win32 $(LONG)" -f install.mak RECURSE=0 $(CTARGET)