NWGNUmakefile revision d5ef50bb5810983012435957be0680bde34d1e44
98N/A#
98N/A# To build with exerimental modules set the environment
98N/A# variable WITH_EXPERIMENTAL=1
98N/A# To build with the mod_ssl module set the environment
911N/A# variable WITH_SSL=1
851N/A# To build with the mod_lua module set the environment
98N/A# variable WITH_LUA=1
98N/A
919N/A#
919N/A# Check if LDAP is enabled in APR-UTIL
919N/A#
919N/Ainclude $(AP_WORK)/build/NWGNUenvironment.inc
919N/Aifeq "$(wildcard $(APRUTIL)/include/apr_ldap.h)" "$(APRUTIL)/include/apr_ldap.h"
919N/AWITH_LDAP = $(shell $(AWK) '/^\#define APR_HAS_LDAP /{print $$3}' $(APRUTIL)/include/apr_ldap.h)
919N/Aelse
919N/AWITH_LDAP = 0
919N/Aendif
919N/A
919N/A# If USE_STDSOCKETS is defined we allways build mod_ssl
919N/Aifdef USE_STDSOCKETS
919N/AWITH_SSL = 1
919N/Aendif
919N/A
919N/A#
919N/A# Declare the sub-directories to be built here
98N/A#
98N/A
98N/ASUBDIRS = \
98N/A aaa \
493N/A apreq \
98N/A cache \
98N/A cluster \
851N/A dav/main \
98N/A dav/fs \
911N/A dav/lock \
911N/A echo \
911N/A examples \
911N/A generators \
98N/A loggers \
98N/A mappers \
98N/A metadata \
98N/A proxy \
98N/A filters \
493N/A database \
493N/A session \
98N/A slotmem \
98N/A $(EOLIST)
493N/A
493N/A# If WITH_LDAP and LDAPSDK have been defined then build the util_ldap module
493N/Aifeq "$(WITH_LDAP)" "1"
194N/Aifneq "$(LDAPSDK)" ""
98N/ASUBDIRS += ldap
98N/Aendif
endif
# If WITH_SSL and OSSLSDK have been defined then build the mod_ssl module
ifeq "$(WITH_SSL)" "1"
ifneq "$(OSSLSDK)" ""
SUBDIRS += ssl
endif
endif
# If WITH_LUA and LUASRC have been defined then build the mod_lua module
ifeq "$(WITH_LUA)" "1"
ifneq "$(LUASRC)" ""
SUBDIRS += lua
endif
endif
# Allow the experimental modules to be built if WITH_EXPERIMENTAL is defined
ifeq "$(WITH_EXPERIMENTAL)" "1"
SUBDIRS += experimental
endif
# Allow the debugging modules to be built if WITH_DEBUGGING is defined
ifeq "$(WITH_DEBUGGING)" "1"
SUBDIRS += debugging
endif
# Allow the test modules to be built if WITH_TEST is defined
ifeq "$(WITH_TEST)" "1"
SUBDIRS += test
endif
#If the mod_edir directory exists then build the mod_edir module
ifeq "$(wildcard $(STDMOD)/mod_edir)" "$(STDMOD)/mod_edir"
SUBDIRS += mod_edir
endif
#
# Get the 'head' of the build environment. This includes default targets and
# paths to tools
#
include $(AP_WORK)/build/NWGNUhead.inc
#
# build this level's files
ifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak"
include NWGNUmakefile.mak
endif
#
# You can use this target if all that is needed is to copy files to the
# installation area
#
install :: nlms FORCE