summaryrefslogtreecommitdiff
path: root/NWGNUmakefile
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2009-07-11 16:42:12 +0000
committerGuenter Knauf <fuankg@apache.org>2009-07-11 16:42:12 +0000
commit8037277da59906b1dd928fa00d38e7b1ae4bb7dc (patch)
treec45c1363c2612a5ae2004562a815a0e1678bfdf9 /NWGNUmakefile
parent9b1fd1fc4b20096495154bdfe15761c05390e51e (diff)
downloadhttpd-8037277da59906b1dd928fa00d38e7b1ae4bb7dc.tar.gz
added NetWare build defaults; added path sanity checks; removed obsolete include path.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@793197 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'NWGNUmakefile')
-rw-r--r--NWGNUmakefile32
1 files changed, 31 insertions, 1 deletions
diff --git a/NWGNUmakefile b/NWGNUmakefile
index 0ee27cdb0c..cc7db4710d 100644
--- a/NWGNUmakefile
+++ b/NWGNUmakefile
@@ -1,4 +1,35 @@
#
+# Define our required macro's if not already done.
+#
+
+ifndef AP_WORK
+export AP_WORK = $(CURDIR)
+endif
+
+ifndef APR_WORK
+ifeq "$(wildcard $(AP_WORK)/srclib/apr)" "$(AP_WORK)/srclib/apr"
+export APR_WORK = $(AP_WORK)/srclib/apr
+endif
+endif
+ifneq "$(wildcard $(APR_WORK)/include/apr_version.h)" "$(APR_WORK)/include/apr_version.h"
+$(error APR_WORK does not point to a valid APR source tree)
+endif
+
+ifndef APU_WORK
+ifeq "$(wildcard $(AP_WORK)/srclib/apr-util)" "$(AP_WORK)/srclib/apr-uril"
+export APU_WORK = $(AP_WORK)/srclib/apr-util
+endif
+endif
+ifndef APU_WORK
+ifeq "$(wildcard $(APR_WORK)/include/apu_version.h)" "$(APR_WORK)/include/apu_version.h"
+export APU_WORK = $(APR_WORK)
+endif
+endif
+ifneq "$(wildcard $(APU_WORK)/include/apu_version.h)" "$(APU_WORK)/include/apu_version.h"
+$(error APU_WORK does not point to a valid APU source tree)
+endif
+
+#
# Declare the sub-directories to be built here
#
@@ -43,7 +74,6 @@ XINCDIRS += \
$(AP_WORK)/server/mpm/NetWare \
$(PCRESDK) \
$(NWOS) \
- $(AP_WORK)/modules/ssl \
$(EOLIST)
#