NWGNUmakefile revision 0662ed52e814f8f08ef0e09956413a792584eddf
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder#
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder# Declare the sub-directories to be built here
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder#
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder# To build with exerimental modules set the environment
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder# variable EXPERIMENTAL=1
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder# To build with the mod_ssl module set the environment
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder# variable WITH_MOD_SSL=1
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder# If USE_STDSOCKETS is defined we allways build mod_ssl
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroederifdef USE_STDSOCKETS
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von SchroederWITH_MOD_SSL=1
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroederendif
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von SchroederSUBDIRS = \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder aaa \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder cache \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder cluster \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder dav\main \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder dav\fs \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder dav\lock \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder echo \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder examples \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder generators \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder loggers \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder mappers \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder metadata \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder proxy \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder filters \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder database \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder session \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder slotmem \
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder $(EOLIST)
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroeder# If LDAPSDK has been defined then build the util_ldap module
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von Schroederifneq "$(LDAPSDK)" ""
6ad9bcb1be234d475541a44c750ecf6f57294dceJonathan von SchroederSUBDIRS += ldap \
$(EOLIST)
endif
# If WITH_MOD_SSL and OSSLSDK have been defined then build the mod_ssl module
ifdef WITH_MOD_SSL
ifneq "$(OSSLSDK)" ""
SUBDIRS += ssl \
$(EOLIST)
endif
endif
# If WITH_MOD_LUA and LUASRC have been defined then build the mod_lua module
ifdef WITH_MOD_LUA
ifneq "$(LUASRC)" ""
SUBDIRS += lua \
$(EOLIST)
endif
endif
#If the mod_edir directory exists then build the mod_edir module
ifeq "$(wildcard $(AP_WORK)\modules\mod_edir)" "$(AP_WORK)\modules\mod_edir"
SUBDIRS += mod_edir \
$(EOLIST)
endif
# Allow the experimental modules to be built if EXPERIMENTAL is defined
ifdef EXPERIMENTAL
SUBDIRS += experimental \
$(EOLIST)
endif
# Allow the debugging modules to be built if DEBUG is defined
ifdef DEBUG
SUBDIRS += debugging \
$(EOLIST)
endif
# Allow the test modules to be built if TEST is defined
ifdef TEST
SUBDIRS += test \
$(EOLIST)
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