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
WITH_LDAP = 1
ifneq "$(MAKECMDGOALS)" "clean"
ifneq "$(findstring clobber_,$(MAKECMDGOALS))" "clobber_"
WITH_LDAP = 0
endif
endif
endif
ifdef USE_STDSOCKETS
WITH_SSL = 1
endif
SUBDIRS = \
aaa \
cache \
cluster \
core \
dav/main \
dav/fs \
dav/lock \
echo \
examples \
generators \
loggers \
mappers \
metadata \
proxy \
filters \
database \
session \
slotmem \
$(EOLIST)
ifeq "$(WITH_LDAP)" "1"
ifneq "$(LDAPSDK)" ""
SUBDIRS += ldap
endif
endif
ifeq "$(WITH_SSL)" "1"
ifneq "$(OSSLSDK)" ""
SUBDIRS += ssl
endif
endif
ifeq "$(WITH_LUA)" "1"
ifneq "$(LUASRC)" ""
SUBDIRS += lua
endif
endif
ifeq "$(WITH_HTTP2)" "1"
ifneq "$(NGH2SRC)" ""
SUBDIRS += http2
endif
endif
ifeq "$(WITH_EXPERIMENTAL)" "1"
SUBDIRS += experimental
endif
ifeq "$(WITH_DEBUGGING)" "1"
SUBDIRS += debugging
endif
ifeq "$(WITH_TEST)" "1"
SUBDIRS += test
endif
ifeq "$(wildcard $(STDMOD)/mod_edir)" "$(STDMOD)/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