NWGNUmakefile revision 5d1d3e66e568daceb3277ca49475a4f469baf426
d943f5870debf69f3186f2666221abefc22a2d6drbb# Declare the sub-directories to be built here
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# To build with exerimental modules set the environment
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# variable EXPERIMENTAL=1
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# To build with the mod_ssl module set the environment
d943f5870debf69f3186f2666221abefc22a2d6drbb# variable WITH_MOD_SSL=1
d943f5870debf69f3186f2666221abefc22a2d6drbb# If USE_STDSOCKETS is defined we allways build mod_ssl
d943f5870debf69f3186f2666221abefc22a2d6drbbifdef USE_STDSOCKETS
d943f5870debf69f3186f2666221abefc22a2d6drbbWITH_MOD_SSL=1
8ddfe3a457c91c8e7d48134398fb178b091366d7rbbSUBDIRS = \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb examples \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb generators \
d943f5870debf69f3186f2666221abefc22a2d6drbb metadata \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb database \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# If LDAPSDK has been defined then build the util_ldap module
8ddfe3a457c91c8e7d48134398fb178b091366d7rbbifneq "$(LDAPSDK)" ""
8ddfe3a457c91c8e7d48134398fb178b091366d7rbbSUBDIRS += ldap \
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# If WITH_MOD_SSL and OSSLSDK have been defined then build the mod_ssl module
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingifdef WITH_MOD_SSL
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingifneq "$(OSSLSDK)" ""
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingSUBDIRS += ssl \
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# If WITH_MOD_LUA and LUASRC have been defined then build the mod_lua module
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingifdef WITH_MOD_LUA
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingifneq "$(LUASRC)" ""
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingSUBDIRS += lua \
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# Allow the experimental modules to be built if EXPERIMENTAL is defined
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingifdef EXPERIMENTAL
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingSUBDIRS += experimental \
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# Allow the debugging modules to be built if DEBUG is defined
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingSUBDIRS += debugging \
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# Allow the test modules to be built if TEST is defined
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingSUBDIRS += test \
ff36db79584271642c39863d1a7a6ce0923b58e4fielding#If the mod_edir directory exists then build the mod_edir module
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingifeq "$(wildcard $(AP_WORK)/modules/mod_edir)" "$(AP_WORK)/modules/mod_edir"
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingSUBDIRS += mod_edir \
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# Get the 'head' of the build environment. This includes default targets and
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# paths to tools
ff36db79584271642c39863d1a7a6ce0923b58e4fieldinginclude $(AP_WORK)/build/NWGNUhead.inc
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# build this level's files
806f87e03cc4ddead00f23ce96c27e75f32f0744sliveifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak"
8afa7897894d641cb8ec4f601b9869f9b509609efielding# You can use this target if all that is needed is to copy files to the
806f87e03cc4ddead00f23ce96c27e75f32f0744slive# installation area
c6db3f5916ebd715971c3db837be9143394f8aa9sliveinstall :: nlms FORCE