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)
17 ifneq "$(MAKECMDGOALS)" "clean"
18 ifneq "$(findstring clobber_,$(MAKECMDGOALS))" "clobber_"
24 # If USE_STDSOCKETS is defined we allways build mod_ssl
30 # Declare the sub-directories to be built here
55 # If WITH_LDAP and LDAPSDK have been defined then build the util_ldap module
56 ifeq "$(WITH_LDAP)" "1"
62 # If WITH_SSL and OSSLSDK have been defined then build the mod_ssl module
63 ifeq "$(WITH_SSL)" "1"
69 # If WITH_LUA and LUASRC have been defined then build the mod_lua module
70 ifeq "$(WITH_LUA)" "1"
76 # Allow the experimental modules to be built if WITH_EXPERIMENTAL is defined
77 ifeq "$(WITH_EXPERIMENTAL)" "1"
78 SUBDIRS += experimental
81 # Allow the debugging modules to be built if WITH_DEBUGGING is defined
82 ifeq "$(WITH_DEBUGGING)" "1"
86 # Allow the test modules to be built if WITH_TEST is defined
87 ifeq "$(WITH_TEST)" "1"
91 #If the mod_edir directory exists then build the mod_edir module
92 ifeq "$(wildcard $(STDMOD)/mod_edir)" "$(STDMOD)/mod_edir"
97 # Get the 'head' of the build environment. This includes default targets and
100 include $(AP_WORK)/build/NWGNUhead.inc
103 # build this level's files
105 ifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak"
106 include NWGNUmakefile.mak
110 # You can use this target if all that is needed is to copy files to the
113 install :: nlms FORCE