]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Change top level win32 Makefile for seperate pcre compilation
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 1 Feb 2009 19:51:21 +0000 (19:51 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 1 Feb 2009 19:51:21 +0000 (19:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@739824 13f79535-47bb-0310-9956-ffa450edef68

Makefile.win

index 12a0c88625761543fd81e24c868a9b163a8617ef..178b8f9a021f5e15121a674f53ba48bfd6ec0876 100644 (file)
@@ -65,6 +65,15 @@ CTARGET=/build
 !ERROR Need srclib\  apr, apr-iconv and apr-util
 !ENDIF
 
+!IF !EXIST("srclib\pcre")
+!MESSAGE Please check out or download and unpack the current PCRE library source
+!MESSAGE under your srclib dir, and compile the pcre.dll with CMake options
+!MESSAGE BUILD_SHARED_LIBS and CMAKE_BUILD_TYPE RelWithDebInfo.
+!MESSAGE Apache cannot build without this library!
+!MESSAGE 
+!ERROR Need srclib\pcre
+!ENDIF
+
 # Note; _tryssl: is only used by the msvc developer studio environment to 'fix up'
 #      the build, since conditional dependencies aren't supported.
 #
@@ -261,10 +270,6 @@ _build:
            $(MAKE) $(MAKEOPT) -f apr_dbd_%d.mak   CFG="apr_dbd_%d - Win32 $(LONG)" RECURSE=0 $(CTARGET)
        cd ..
        cd ..\..
-       cd srclib\pcre
-        $(MAKE) $(MAKEOPT) -f dftables.mak        CFG="dftables - Win32 $(LONG)" RECURSE=0 $(CTARGET)
-        $(MAKE) $(MAKEOPT) -f pcre.mak            CFG="pcre - Win32 $(LONG)" RECURSE=0 $(CTARGET)
-       cd ..\..
        cd server
         $(MAKE) $(MAKEOPT) -f gen_test_char.mak   CFG="gen_test_char - Win32 $(LONG)" RECURSE=0 $(CTARGET)
        cd ..
@@ -503,6 +508,7 @@ _copybin:
        for %d in (odbc $(DBD_LIST)) do ( \
          copy srclib\apr-util\dbd\$(LONG)\apr_dbd_%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
        copy modules\aaa\$(LONG)\mod_auth_digest.$(src_so)      "$(inst_so)" <.y