~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to modules/dav/lock/NWGNUmakefile

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Declare the sub-directories to be built here
 
3
#
 
4
 
 
5
SUBDIRS = \
 
6
        $(EOLIST) 
 
7
 
 
8
#
 
9
# Get the 'head' of the build environment.  This includes default targets and
 
10
# paths to tools
 
11
#
 
12
 
 
13
include $(AP_WORK)\build\NWGNUhead.inc
 
14
 
 
15
#
 
16
# build this level's files
 
17
 
 
18
#
 
19
# Make sure all needed macro's are defined
 
20
#
 
21
 
 
22
#
 
23
# These directories will be at the beginning of the include list, followed by
 
24
# INCDIRS
 
25
#
 
26
XINCDIRS        += \
 
27
                        $(APR)/include \
 
28
                        $(APRUTIL)/include \
 
29
                        $(AP_WORK)/include \
 
30
                        $(AP_WORK)/os/NetWare \
 
31
                        $(AP_WORK)/server/mpm/NetWare \
 
32
                        $(AP_WORK)/srclib/pcre \
 
33
                        $(AP_WORK)/modules/dav/main \
 
34
                        $(NWOS) \
 
35
                        $(EOLIST)
 
36
 
 
37
#
 
38
# These flags will come after CFLAGS
 
39
#
 
40
XCFLAGS         += \
 
41
                        $(EOLIST)
 
42
 
 
43
#
 
44
# These defines will come after DEFINES
 
45
#
 
46
XDEFINES        += \
 
47
                        $(EOLIST)
 
48
 
 
49
#
 
50
# These flags will be added to the link.opt file
 
51
#
 
52
XLFLAGS         += \
 
53
                        $(EOLIST)
 
54
 
 
55
#
 
56
# These values will be appended to the correct variables based on the value of
 
57
# RELEASE
 
58
#
 
59
ifeq "$(RELEASE)" "debug"
 
60
XINCDIRS        += \
 
61
                        $(EOLIST)
 
62
 
 
63
XCFLAGS         += \
 
64
                        $(EOLIST)
 
65
 
 
66
XDEFINES        += \
 
67
                        $(EOLIST)
 
68
 
 
69
XLFLAGS         += \
 
70
                        $(EOLIST)
 
71
endif
 
72
 
 
73
ifeq "$(RELEASE)" "noopt"
 
74
XINCDIRS        += \
 
75
                        $(EOLIST)
 
76
 
 
77
XCFLAGS         += \
 
78
                        $(EOLIST)
 
79
 
 
80
XDEFINES        += \
 
81
                        $(EOLIST)
 
82
 
 
83
XLFLAGS         += \
 
84
                        $(EOLIST)
 
85
endif
 
86
 
 
87
ifeq "$(RELEASE)" "release"
 
88
XINCDIRS        += \
 
89
                        $(EOLIST)
 
90
 
 
91
XCFLAGS         += \
 
92
                        $(EOLIST)
 
93
 
 
94
XDEFINES        += \
 
95
                        $(EOLIST)
 
96
 
 
97
XLFLAGS         += \
 
98
                        $(EOLIST)
 
99
endif
 
100
 
 
101
#
 
102
# These are used by the link target if an NLM is being generated
 
103
# This is used by the link 'name' directive to name the nlm.  If left blank
 
104
# TARGET_nlm (see below) will be used.
 
105
#
 
106
NLM_NAME                = modDAVLK
 
107
 
 
108
#
 
109
# This is used by the link '-desc ' directive. 
 
110
# If left blank, NLM_NAME will be used.
 
111
#
 
112
NLM_DESCRIPTION = Apache $(VERSION_STR) DAV Database Lock Sub-Module
 
113
 
 
114
#
 
115
# This is used by the '-threadname' directive.  If left blank,
 
116
# NLM_NAME Thread will be used.
 
117
#
 
118
NLM_THREAD_NAME = modDAVLK Thread
 
119
 
 
120
#
 
121
# If this is specified, it will override VERSION value in 
 
122
# $(AP_WORK)\build\NWGNUenvironment.inc
 
123
#
 
124
NLM_VERSION             = 
 
125
 
 
126
#
 
127
# If this is specified, it will override the default of 64K
 
128
#
 
129
NLM_STACK_SIZE  = 65536
 
130
 
 
131
 
 
132
#
 
133
# If this is specified it will be used by the link '-entry' directive
 
134
#
 
135
NLM_ENTRY_SYM   = _LibCPrelude
 
136
 
 
137
#
 
138
# If this is specified it will be used by the link '-exit' directive
 
139
#
 
140
NLM_EXIT_SYM    = _LibCPostlude
 
141
 
 
142
#
 
143
# If this is specified it will be used by the link '-check' directive
 
144
#
 
145
NLM_CHECK_SYM   =
 
146
 
 
147
#
 
148
# If this is specified it will be used by the link '-flags' directive
 
149
#
 
150
NLM_FLAGS               =  AUTOUNLOAD, PSEUDOPREEMPTION
 
151
 
 
152
#
 
153
# Declare all target files (you must add your files here)
 
154
#
 
155
 
 
156
#
 
157
# If there is an NLM target, put it here
 
158
#
 
159
TARGET_nlm = \
 
160
        $(OBJDIR)/moddavlk.nlm \
 
161
        $(EOLIST)
 
162
 
 
163
#
 
164
# If there is an LIB target, put it here
 
165
#
 
166
TARGET_lib = \
 
167
        $(EOLIST)
 
168
 
 
169
#
 
170
# These are the OBJ files needed to create the NLM target above.
 
171
# Paths must all use the '/' character
 
172
#
 
173
FILES_nlm_objs = \
 
174
        $(OBJDIR)/mod_dav_lock.o \
 
175
        $(OBJDIR)/locks.o \
 
176
        $(EOLIST)
 
177
 
 
178
#
 
179
# These are the LIB files needed to create the NLM target above.
 
180
# These will be added as a library command in the link.opt file.
 
181
#
 
182
FILES_nlm_libs = \
 
183
        libcpre.o \
 
184
        $(EOLIST)
 
185
 
 
186
#
 
187
# These are the modules that the above NLM target depends on to load.
 
188
# These will be added as a module command in the link.opt file.
 
189
#
 
190
FILES_nlm_modules = \
 
191
        Apache2 \
 
192
        Libc \
 
193
        mod_dav \
 
194
        $(EOLIST)
 
195
 
 
196
#
 
197
# If the nlm has a msg file, put it's path here
 
198
#
 
199
FILE_nlm_msg =
 
200
 
 
201
#
 
202
# If the nlm has a hlp file put it's path here
 
203
#
 
204
FILE_nlm_hlp =
 
205
 
 
206
#
 
207
# If this is specified, it will override $(NWOS)\copyright.txt.
 
208
#
 
209
FILE_nlm_copyright =
 
210
 
 
211
#
 
212
# Any additional imports go here
 
213
#
 
214
FILES_nlm_Ximports = \
 
215
        @libc.imp \
 
216
        @$(APR)/aprlib.imp \
 
217
        @httpd.imp \
 
218
        @../main/dav.imp \
 
219
        $(EOLIST)
 
220
 
 
221
#   
 
222
# Any symbols exported to here
 
223
#
 
224
FILES_nlm_exports = \
 
225
        dav_lock_module \
 
226
        $(EOLIST)
 
227
        
 
228
#   
 
229
# These are the OBJ files needed to create the LIB target above.
 
230
# Paths must all use the '/' character
 
231
#
 
232
FILES_lib_objs = \
 
233
                $(EOLIST)
 
234
 
 
235
#
 
236
# implement targets and dependancies (leave this section alone)
 
237
#
 
238
 
 
239
libs :: $(OBJDIR) $(TARGET_lib)
 
240
 
 
241
nlms :: libs $(TARGET_nlm)
 
242
 
 
243
#
 
244
# Updated this target to create necessary directories and copy files to the 
 
245
# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
 
246
#
 
247
install :: nlms FORCE
 
248
        copy $(OBJDIR)\moddavlk.nlm $(INSTALL)\Apache2\modules
 
249
#
 
250
# Any specialized rules here
 
251
#
 
252
 
 
253
#
 
254
# Include the 'tail' makefile that has targets that depend on variables defined
 
255
# in this makefile
 
256
#
 
257
 
 
258
include $(AP_WORK)\build\NWGNUtail.inc
 
259
 
 
260
 
 
261