summaryrefslogtreecommitdiff
path: root/modules/NWGNUmakefile
blob: 73c47cd30d1419c9302dd2d9794f4cb440d217e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#
# Declare the sub-directories to be built here
#
# 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 \
	cache \
	cluster \
	dav\main \
	dav\fs \
	dav\lock \
	echo \
	examples \
	generators \
	loggers \
	mappers \
	metadata \
	proxy \
	filters \
	database \
	session \
	$(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 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


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