+#
+# 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-util"
+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
#
$(AP_WORK)/modules/loggers/ \
$(AP_WORK)/modules/mappers/ \
$(AP_WORK)/modules/proxy/ \
+ $(AP_WORK)/modules/ssl/ \
$(AP_WORK)/os/NetWare \
$(AP_WORK)/server/mpm/NetWare \
$(PCRESDK) \
$(NWOS) \
- $(AP_WORK)/modules/ssl \
$(EOLIST)
#
#
FILES_nlm_exports = \
@$(NWOS)/httpd.imp \
- (AP$(VERSION_MAJMIN)) ap_hook_watchdog_exit \
- (AP$(VERSION_MAJMIN)) ap_hook_watchdog_init \
- (AP$(VERSION_MAJMIN)) ap_hook_watchdog_need \
- (AP$(VERSION_MAJMIN)) ap_hook_watchdog_step \
- (AP$(VERSION_MAJMIN)) ap_watchdog_get_instance \
- (AP$(VERSION_MAJMIN)) ap_watchdog_register_callback \
$(EOLIST)
#
vpath %.c server:modules/arch/netware:modules/http:modules/aaa:modules/mappers
vpath %.c modules/generators:modules/metadata:modules/filters:modules/loggers
-vpath %.c modules/core:os/netware:server/mpm/netware:$(PCRESDK)
+vpath %.c modules/core:os/netware:server/mpm/netware:$(PCRESRC)
#
# Include the 'tail' makefile that has targets that depend on variables defined