NWGNUmakefile revision e0513b8c4b6594e7d63f386b7889e9c3cae43dd6
276e28f813ffef042d5a6e9f3373ef4e2ad37996Mark Andrews# Declare the sub-directories to be built here
250ed9e230b3903b1b264dd1ed2f691fc7cd2f8fAndreas Gustafsson# To build with exerimental modules set the environment
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrews# variable EXPERIMENTAL=1
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrews# To build with the mod_ssl module set the environment
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrews# variable WITH_MOD_SSL=1
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrews# If USE_STDSOCKETS is defined we allways build mod_ssl
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrewsifdef USE_STDSOCKETS
848dcebe28e032abfc66e7f10686e1b04a8516feMark AndrewsWITH_MOD_SSL=1
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrews generators \
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrews# If LDAPSDK has been defined then build the util_ldap module
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrewsifneq "$(LDAPSDK)" ""
848dcebe28e032abfc66e7f10686e1b04a8516feMark AndrewsSUBDIRS += ldap \
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrews# If WITH_MOD_SSL and OSSLSDK have been defined then build the mod_ssl module
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrewsifdef WITH_MOD_SSL
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrewsifneq "$(OSSLSDK)" ""
848dcebe28e032abfc66e7f10686e1b04a8516feMark AndrewsSUBDIRS += ssl \
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater# If WITH_MOD_LUA and LUASRC have been defined then build the mod_lua module
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updaterifdef WITH_MOD_LUA
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrewsifneq "$(LUASRC)" ""
848dcebe28e032abfc66e7f10686e1b04a8516feMark AndrewsSUBDIRS += lua \
a3edcadfffbe617a419cdbe1bebb95f68a0eda1eMark Andrews#If the mod_edir directory exists then build the mod_edir module
a3edcadfffbe617a419cdbe1bebb95f68a0eda1eMark Andrewsifeq "$(wildcard $(AP_WORK)\modules\mod_edir)" "$(AP_WORK)\modules\mod_edir"
a3edcadfffbe617a419cdbe1bebb95f68a0eda1eMark AndrewsSUBDIRS += mod_edir \
a3edcadfffbe617a419cdbe1bebb95f68a0eda1eMark Andrews# Allow the experimental modules to be built if EXPERIMENTAL is defined
a3edcadfffbe617a419cdbe1bebb95f68a0eda1eMark Andrewsifdef EXPERIMENTAL
848dcebe28e032abfc66e7f10686e1b04a8516feMark AndrewsSUBDIRS += experimental \
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrews# Allow the debugging modules to be built if DEBUG is defined
a3edcadfffbe617a419cdbe1bebb95f68a0eda1eMark AndrewsSUBDIRS += debugging \
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater# Get the 'head' of the build environment. This includes default targets and
a3edcadfffbe617a419cdbe1bebb95f68a0eda1eMark Andrews# paths to tools
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updaterinclude $(AP_WORK)\build\NWGNUhead.inc
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater# build this level's files
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrewsifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak"
848dcebe28e032abfc66e7f10686e1b04a8516feMark Andrews# You can use this target if all that is needed is to copy files to the
a3edcadfffbe617a419cdbe1bebb95f68a0eda1eMark Andrews# installation area
22f0b13f28a7df3b348b18848d0ccd745ea88c3cAndreas Gustafssoninstall :: nlms FORCE