From ed6da4f1b9136fa382b0412ceaab466f437fb82a Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Wed, 29 Jul 2009 20:47:49 +0000 Subject: Catch up to apr_dbm projects git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@799069 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile.win | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'Makefile.win') diff --git a/Makefile.win b/Makefile.win index c61decc9b4..b80a60750b 100644 --- a/Makefile.win +++ b/Makefile.win @@ -28,6 +28,12 @@ # # DBD_LIST="sqlite3 pgsql oracle mysql freetds" # +# Provide a DBM_LIST argument after configuring LIB and INCLUDE with +# the SDK paths of the corresponding client support libraries. +# The sdbm driver is always built in. +# +# DBM_LIST="db gdbm" +# # For example; # # nmake -f Makefile.win PORT=80 INSTDIR="d:\Program Files\Apache" installr @@ -167,19 +173,27 @@ _trylua: !ENDIF -_trydbd: +_trydb: !IF $(USEMAK) == 1 cd srclib\apr-util\dbd for %d in (odbc $(DBD_LIST)) do \ $(MAKE) $(MAKEOPT) -f apr_dbd_%d.mak CFG="apr_dbd_%d - Win32 $(LONG)" RECURSE=0 $(CTARGET) + cd ..\dbm + for %d in ($(DBM_LIST)) do \ + $(MAKE) $(MAKEOPT) -f apr_dbm_%d.mak CFG="apr_dbm_%d - Win32 $(LONG)" RECURSE=0 $(CTARGET) cd ..\..\.. !ELSEIF $(USESLN) == 1 for %d in (odbc $(DBD_LIST)) do \ devenv Apache.sln /useenv $(CTARGET) $(LONG) /project apr_dbd_%d + for %d in ($(DBM_LIST)) do \ + devenv Apache.sln /useenv $(CTARGET) $(LONG) /project apr_dbm_%d !ELSE @for %d in (odbc $(DBD_LIST)) do \ msdev Apache.dsw /USEENV /MAKE \ "apr_dbd_%d - Win32 $(LONG)" /NORECURSE $(CTARGET) + @for %d in ($(DBM_LIST)) do \ + msdev Apache.dsw /USEENV /MAKE \ + "apr_dbm_%d - Win32 $(LONG)" /NORECURSE $(CTARGET) !ENDIF @@ -296,6 +310,10 @@ _build: for %d in (odbc $(DBD_LIST)) do \ $(MAKE) $(MAKEOPT) -f apr_dbd_%d.mak CFG="apr_dbd_%d - Win32 $(LONG)" RECURSE=0 $(CTARGET) cd .. + cd dbm + for %d in ($(DBM_LIST)) do \ + $(MAKE) $(MAKEOPT) -f apr_dbm_%d.mak CFG="apr_dbm_%d - Win32 $(LONG)" RECURSE=0 $(CTARGET) + cd .. cd ..\.. cd server $(MAKE) $(MAKEOPT) -f gen_test_char.mak CFG="gen_test_char - Win32 $(LONG)" RECURSE=0 $(CTARGET) @@ -561,6 +579,9 @@ _copybin: for %d in (odbc $(DBD_LIST)) do ( \ copy srclib\apr-util\dbd\$(LONG)\apr_dbd_%d-1.$(src_dll) "$(inst_dll)" <.y \ ) + for %d in ($(DBM_LIST)) do ( \ + copy srclib\apr-util\dbm\$(LONG)\apr_dbm_%d-1.$(src_dll) "$(inst_dll)" <.y \ + ) copy srclib\pcre\pcre.$(src_dll) "$(inst_dll)" <.y copy modules\aaa\$(LONG)\mod_access_compat.$(src_so) "$(inst_so)" <.y copy modules\aaa\$(LONG)\mod_auth_basic.$(src_so) "$(inst_so)" <.y -- cgit v1.2.3