2 # To build with exerimental modules set the environment
3 # variable WITH_EXPERIMENTAL=1
4 # To build with the mod_ssl module set the environment
6 # To build with the mod_lua module set the environment
10 # Check if LDAP is enabled in APR-UTIL
12 include $(AP_WORK)/build/NWGNUenvironment.inc
13 ifeq "$(wildcard $(APRUTIL)/include/apr_ldap.h)" "$(APRUTIL)/include/apr_ldap.h"
14 WITH_LDAP = $(shell $(AWK) '/^\#define APR_HAS_LDAP /{print $$3}' $(APRUTIL)/include/apr_ldap.h)
16 ifeq "$(MAKECMDGOALS)" "clean"
23 # If USE_STDSOCKETS is defined we allways build mod_ssl
29 # Declare the sub-directories to be built here
53 # If WITH_LDAP and LDAPSDK have been defined then build the util_ldap module
54 ifeq "$(WITH_LDAP)" "1"
60 # If WITH_SSL and OSSLSDK have been defined then build the mod_ssl module
61 ifeq "$(WITH_SSL)" "1"
67 # If WITH_LUA and LUASRC have been defined then build the mod_lua module
68 ifeq "$(WITH_LUA)" "1"
74 # Allow the experimental modules to be built if WITH_EXPERIMENTAL is defined
75 ifeq "$(WITH_EXPERIMENTAL)" "1"
76 SUBDIRS += experimental
79 # Allow the debugging modules to be built if WITH_DEBUGGING is defined
80 ifeq "$(WITH_DEBUGGING)" "1"
84 # Allow the test modules to be built if WITH_TEST is defined
85 ifeq "$(WITH_TEST)" "1"
89 #If the mod_edir directory exists then build the mod_edir module
90 ifeq "$(wildcard $(STDMOD)/mod_edir)" "$(STDMOD)/mod_edir"
95 # Get the 'head' of the build environment. This includes default targets and
98 include $(AP_WORK)/build/NWGNUhead.inc
101 # build this level's files
103 ifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak"
104 include NWGNUmakefile.mak
108 # You can use this target if all that is needed is to copy files to the
111 install :: nlms FORCE