NWGNUmakefile revision 5d1d3e66e568daceb3277ca49475a4f469baf426
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb#
d943f5870debf69f3186f2666221abefc22a2d6drbb# Declare the sub-directories to be built here
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb#
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
d943f5870debf69f3186f2666221abefc22a2d6drbb# If USE_STDSOCKETS is defined we allways build mod_ssl
d943f5870debf69f3186f2666221abefc22a2d6drbbifdef USE_STDSOCKETS
d943f5870debf69f3186f2666221abefc22a2d6drbbWITH_MOD_SSL=1
d943f5870debf69f3186f2666221abefc22a2d6drbbendif
d943f5870debf69f3186f2666221abefc22a2d6drbb
8ddfe3a457c91c8e7d48134398fb178b091366d7rbbSUBDIRS = \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb aaa \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb cache \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb cluster \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb dav/main \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb dav/fs \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb dav/lock \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb echo \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb examples \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb generators \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb loggers \
d943f5870debf69f3186f2666221abefc22a2d6drbb mappers \
d943f5870debf69f3186f2666221abefc22a2d6drbb metadata \
1360c7103465a00b5f1bef9baaec41892fa4c291wrowe proxy \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb filters \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb database \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb session \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb slotmem \
6988b3c9a24f46e053cd8de93b010199fa470254jim $(EOLIST)
6988b3c9a24f46e053cd8de93b010199fa470254jim
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# If LDAPSDK has been defined then build the util_ldap module
8ddfe3a457c91c8e7d48134398fb178b091366d7rbbifneq "$(LDAPSDK)" ""
8ddfe3a457c91c8e7d48134398fb178b091366d7rbbSUBDIRS += ldap \
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb $(EOLIST)
8ddfe3a457c91c8e7d48134398fb178b091366d7rbbendif
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb
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 $(EOLIST)
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingendif
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingendif
ff36db79584271642c39863d1a7a6ce0923b58e4fielding
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 $(EOLIST)
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingendif
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingendif
ff36db79584271642c39863d1a7a6ce0923b58e4fielding
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# Allow the experimental modules to be built if EXPERIMENTAL is defined
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingifdef EXPERIMENTAL
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingSUBDIRS += experimental \
ff36db79584271642c39863d1a7a6ce0923b58e4fielding $(EOLIST)
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingendif
ff36db79584271642c39863d1a7a6ce0923b58e4fielding
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# Allow the debugging modules to be built if DEBUG is defined
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingifdef DEBUG
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingSUBDIRS += debugging \
ff36db79584271642c39863d1a7a6ce0923b58e4fielding $(EOLIST)
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingendif
ff36db79584271642c39863d1a7a6ce0923b58e4fielding
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# Allow the test modules to be built if TEST is defined
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingifdef TEST
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingSUBDIRS += test \
ff36db79584271642c39863d1a7a6ce0923b58e4fielding $(EOLIST)
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingendif
ff36db79584271642c39863d1a7a6ce0923b58e4fielding
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 $(EOLIST)
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingendif
ff36db79584271642c39863d1a7a6ce0923b58e4fielding
ff36db79584271642c39863d1a7a6ce0923b58e4fielding
ff36db79584271642c39863d1a7a6ce0923b58e4fielding#
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# Get the 'head' of the build environment. This includes default targets and
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# paths to tools
ff36db79584271642c39863d1a7a6ce0923b58e4fielding#
ff36db79584271642c39863d1a7a6ce0923b58e4fielding
ff36db79584271642c39863d1a7a6ce0923b58e4fieldinginclude $(AP_WORK)/build/NWGNUhead.inc
ff36db79584271642c39863d1a7a6ce0923b58e4fielding
ff36db79584271642c39863d1a7a6ce0923b58e4fielding#
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# build this level's files
806f87e03cc4ddead00f23ce96c27e75f32f0744slive
806f87e03cc4ddead00f23ce96c27e75f32f0744sliveifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak"
806f87e03cc4ddead00f23ce96c27e75f32f0744sliveinclude NWGNUmakefile.mak
806f87e03cc4ddead00f23ce96c27e75f32f0744sliveendif
806f87e03cc4ddead00f23ce96c27e75f32f0744slive
806f87e03cc4ddead00f23ce96c27e75f32f0744slive#
8afa7897894d641cb8ec4f601b9869f9b509609efielding# You can use this target if all that is needed is to copy files to the
806f87e03cc4ddead00f23ce96c27e75f32f0744slive# installation area
806f87e03cc4ddead00f23ce96c27e75f32f0744slive#
c6db3f5916ebd715971c3db837be9143394f8aa9sliveinstall :: nlms FORCE
8afa7897894d641cb8ec4f601b9869f9b509609efielding
8afa7897894d641cb8ec4f601b9869f9b509609efielding