include $(AP_WORK)/build/NWGNUenvironment.inc
ifeq "$(wildcard $(APRUTIL)/include/apr_ldap.h)" "$(APRUTIL)/include/apr_ldap.h"
WITH_LDAP = $(shell $(AWK) '/^\#define APR_HAS_LDAP /{print $$3}' $(APRUTIL)/include/apr_ldap.h)
else
ifeq "$(MAKECMDGOALS)" "clean"
WITH_LDAP = 1
else
WITH_LDAP = 0
endif
endif
ifdef USE_STDSOCKETS
WITH_SSL = 1
endif
SUBDIRS = \
aaa \
cache \
dav/main \
dav/fs \
dav/lock \
echo \
generators \
loggers \
mappers \
metadata \
proxy \
filters \
database \
$(EOLIST)
ifeq "$(WITH_LDAP)" "1"
ifneq "$(LDAPSDK)" ""
SUBDIRS += ldap
endif
endif
ifeq "$(WITH_SSL)" "1"
ifneq "$(OSSLSDK)" ""
SUBDIRS += ssl
endif
endif
ifeq "$(WITH_EXPERIMENTAL)" "1"
SUBDIRS += experimental
endif
ifeq "$(WITH_DEBUGGING)" "1"
SUBDIRS += debug
endif
ifeq "$(wildcard $(AP_WORK)\modules\mod_edir)" "$(AP_WORK)\modules\mod_edir"
SUBDIRS += mod_edir
endif
include $(AP_WORK)/build/NWGNUhead.inc
ifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak"
include NWGNUmakefile.mak
endif
install :: nlms FORCE