#
# Declare the sub-directories to be built here
#
# To build the experimental modules, add "experimental \" 
# to the list below.

SUBDIRS = \
	aaa \
	dav\main \
	dav\fs \
	echo \
	generators \
	mappers \
	metadata \
	proxy \
	$(EOLIST) 

# If the ldap-aaa directory exists then build the auth_ldap module
ifeq "$(wildcard $(AP_WORK)\modules\ldap-aaa)" "$(AP_WORK)\modules\ldap-aaa"
SUBDIRS += ldap-aaa \
		   $(EOLIST)
endif

#If the ldap-cache directory exists then build the ldaputil module
ifeq "$(wildcard $(AP_WORK)\modules\ldap-cache)" "$(AP_WORK)\modules\ldap-cache"
SUBDIRS += ldap-cache \
	       $(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"
SUBDIRS += mod_edir \
	       $(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

#
# 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
	
