NWGNUmakefile revision 1e9b595f5397e65851da9dd31f654428492db015
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# Declare the sub-directories to be built here
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# To build with exerimental modules set the environment
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# variable EXPERIMENTAL=1
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# To build with the mod_ssl module set the environment
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# variable WITH_MOD_SSL=1
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# If USE_STDSOCKETS is defined we allways build mod_ssl
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtonifdef USE_STDSOCKETS
a14247c042c0dbaf9e663ded30df147d71302e40Phill CunningtonWITH_MOD_SSL=1
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# If LDAPSDK has been defined then build the util_ldap module
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtonifneq "$(LDAPSDK)" ""
a14247c042c0dbaf9e663ded30df147d71302e40Phill CunningtonSUBDIRS += ldap \
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# If WITH_MOD_SSL and OSSLSDK have been defined then build the mod_ssl module
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtonifdef WITH_MOD_SSL
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtonifneq "$(OSSLSDK)" ""
a14247c042c0dbaf9e663ded30df147d71302e40Phill CunningtonSUBDIRS += ssl \
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# If WITH_MOD_LUA and LUASRC have been defined then build the mod_lua module
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtonifdef WITH_MOD_LUA
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtonifneq "$(LUASRC)" ""
a14247c042c0dbaf9e663ded30df147d71302e40Phill CunningtonSUBDIRS += lua \
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington#If the mod_edir directory exists then build the mod_edir module
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtonifeq "$(wildcard $(AP_WORK)\modules\mod_edir)" "$(AP_WORK)\modules\mod_edir"
a14247c042c0dbaf9e663ded30df147d71302e40Phill CunningtonSUBDIRS += mod_edir \
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# Allow the experimental modules to be built if EXPERIMENTAL is defined
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtonifdef EXPERIMENTAL
a14247c042c0dbaf9e663ded30df147d71302e40Phill CunningtonSUBDIRS += experimental \
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# Allow the debugging modules to be built if DEBUG is defined
a14247c042c0dbaf9e663ded30df147d71302e40Phill CunningtonSUBDIRS += debugging \
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# Allow the test modules to be built if TEST is defined
a14247c042c0dbaf9e663ded30df147d71302e40Phill CunningtonSUBDIRS += test \
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# Get the 'head' of the build environment. This includes default targets and
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# paths to tools
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtoninclude $(AP_WORK)\build\NWGNUhead.inc
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# build this level's files
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtonifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak"
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# You can use this target if all that is needed is to copy files to the
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunnington# installation area
a14247c042c0dbaf9e663ded30df147d71302e40Phill Cunningtoninstall :: nlms FORCE