]> granicus.if.org Git - apache/blobdiff - modules/NWGNUmakefile
Removed wrong imports / modules from NetWare sochache makefiles.
[apache] / modules / NWGNUmakefile
index 4c7cfa89b2bf703318e3d4290d4dc535ed8731df..fa4da789c29c563fb93be7a66e03e39e5d50944e 100644 (file)
@@ -1,44 +1,94 @@
 #
 # Declare the sub-directories to be built here
 #
-# To build the experimental modules, add "experimental \" 
-# to the list below.
+# To build with exerimental modules set the environment
+#  variable EXPERIMENTAL=1
+# To build with the mod_ssl module set the environment
+#  variable WITH_MOD_SSL=1
+
+# If USE_STDSOCKETS is defined we allways build mod_ssl
+ifdef USE_STDSOCKETS
+WITH_MOD_SSL=1
+endif
 
 SUBDIRS = \
        aaa \
-       dav\main \
-       dav\fs \
+       cache \
+       cluster \
+       dav/main \
+       dav/fs \
+       dav/lock \
        echo \
+       examples \
        generators \
        loggers \
        mappers \
        metadata \
        proxy \
-       $(EOLIST) 
+       filters \
+       database \
+       session \
+       slotmem \
+       $(EOLIST)
+
+# If LDAPSDK has been defined then build the util_ldap module
+ifneq "$(LDAPSDK)" ""
+SUBDIRS += 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
+
+# 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
 
 #If the mod_edir directory exists then build the mod_edir module
-ifeq "$(wildcard $(AP_WORK)\modules\mod_edir)" "$(AP_WORK)\modules\mod_edir"
+ifeq "$(wildcard $(STDMOD)/mod_edir)" "$(STDMOD)/mod_edir"
 SUBDIRS += mod_edir \
-              $(EOLIST)
+       $(EOLIST)
 endif
 
-# If the zlib libraries source exists then build the mod_deflate module
-ifeq "$(wildcard $(AP_WORK)\srclib\zlib)" "$(AP_WORK)\srclib\zlib"
-SUBDIRS += filters \
-              $(EOLIST)
-endif
 
 #
 # Get the 'head' of the build environment.  This includes default targets and
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
 
-ifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak" 
+ifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak"
 include NWGNUmakefile.mak
 endif
 
@@ -47,4 +97,4 @@ endif
 # installation area
 #
 install :: nlms FORCE
-       
+