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

« back to all changes in this revision

Viewing changes to modules/metadata/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
#
 
24
# These directories will be at the beginning of the include list, followed by
 
25
# INCDIRS
 
26
#
 
27
XINCDIRS        += \
 
28
                        $(EOLIST)
 
29
 
 
30
#
 
31
# These flags will come after CFLAGS
 
32
#
 
33
XCFLAGS         += \
 
34
                        $(EOLIST)
 
35
 
 
36
#
 
37
# These defines will come after DEFINES
 
38
#
 
39
XDEFINES        += \
 
40
                        $(EOLIST)
 
41
 
 
42
#
 
43
# These flags will be added to the link.opt file
 
44
#
 
45
XLFLAGS         += \
 
46
                        $(EOLIST)
 
47
 
 
48
#
 
49
# These values will be appended to the correct variables based on the value of
 
50
# RELEASE
 
51
#
 
52
ifeq "$(RELEASE)" "debug"
 
53
XINCDIRS        += \
 
54
                        $(EOLIST)
 
55
 
 
56
XCFLAGS         += \
 
57
                        $(EOLIST)
 
58
 
 
59
XDEFINES        += \
 
60
                        $(EOLIST)
 
61
 
 
62
XLFLAGS         += \
 
63
                        $(EOLIST)
 
64
endif
 
65
 
 
66
ifeq "$(RELEASE)" "noopt"
 
67
XINCDIRS        += \
 
68
                        $(EOLIST)
 
69
 
 
70
XCFLAGS         += \
 
71
                        $(EOLIST)
 
72
 
 
73
XDEFINES        += \
 
74
                        $(EOLIST)
 
75
 
 
76
XLFLAGS         += \
 
77
                        $(EOLIST)
 
78
endif
 
79
 
 
80
ifeq "$(RELEASE)" "release"
 
81
XINCDIRS        += \
 
82
                        $(EOLIST)
 
83
 
 
84
XCFLAGS         += \
 
85
                        $(EOLIST)
 
86
 
 
87
XDEFINES        += \
 
88
                        $(EOLIST)
 
89
 
 
90
XLFLAGS         += \
 
91
                        $(EOLIST)
 
92
endif
 
93
 
 
94
#
 
95
# These are used by the link target if an NLM is being generated
 
96
# This is used by the link 'name' directive to name the nlm.  If left blank
 
97
# TARGET_nlm (see below) will be used.
 
98
#
 
99
NLM_NAME                =
 
100
 
 
101
#
 
102
# This is used by the link '-desc ' directive. 
 
103
# If left blank, NLM_NAME will be used.
 
104
#
 
105
NLM_DESCRIPTION =
 
106
 
 
107
#
 
108
# This is used by the '-threadname' directive.  If left blank,
 
109
# NLM_NAME Thread will be used.
 
110
#
 
111
NLM_THREAD_NAME =
 
112
 
 
113
#
 
114
# If this is specified, it will override VERSION value in 
 
115
# $(AP_WORK)\build\NWGNUenvironment.inc
 
116
#
 
117
NLM_VERSION             =
 
118
 
 
119
#
 
120
# If this is specified, it will override the default of 64K
 
121
#
 
122
NLM_STACK_SIZE  =
 
123
 
 
124
 
 
125
#
 
126
# If this is specified it will be used by the link '-entry' directive
 
127
#
 
128
NLM_ENTRY_SYM   =
 
129
 
 
130
#
 
131
# If this is specified it will be used by the link '-exit' directive
 
132
#
 
133
NLM_EXIT_SYM    =
 
134
 
 
135
#
 
136
# If this is specified it will be used by the link '-check' directive
 
137
#
 
138
NLM_CHECK_SYM   =
 
139
 
 
140
#
 
141
# If these are specified it will be used by the link '-flags' directive
 
142
#
 
143
NLM_FLAGS               =
 
144
 
 
145
#
 
146
# If this is specified it will be linked in with the XDCData option in the def 
 
147
# file instead of the default of $(NWOS)/apache.xdc.  XDCData can be disabled
 
148
# by setting APACHE_UNIPROC in the environment
 
149
#
 
150
XDCDATA         = 
 
151
 
 
152
#
 
153
# If there is an NLM target, put it here
 
154
#
 
155
TARGET_nlm = \
 
156
        $(OBJDIR)/cernmeta.nlm \
 
157
        $(OBJDIR)/expires.nlm \
 
158
        $(OBJDIR)/headers.nlm \
 
159
        $(OBJDIR)/mimemagi.nlm \
 
160
        $(OBJDIR)/modident.nlm \
 
161
        $(OBJDIR)/uniqueid.nlm \
 
162
        $(OBJDIR)/usertrk.nlm \
 
163
        $(OBJDIR)/modversion.nlm \
 
164
        $(EOLIST)
 
165
 
 
166
#
 
167
# If there is an LIB target, put it here
 
168
#
 
169
TARGET_lib = \
 
170
        $(EOLIST)
 
171
 
 
172
#
 
173
# These are the OBJ files needed to create the NLM target above.
 
174
# Paths must all use the '/' character
 
175
#
 
176
FILES_nlm_objs = \
 
177
        $(EOLIST)
 
178
 
 
179
#
 
180
# These are the LIB files needed to create the NLM target above.
 
181
# These will be added as a library command in the link.opt file.
 
182
#
 
183
FILES_nlm_libs = \
 
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
        $(EOLIST)
 
192
 
 
193
#
 
194
# If the nlm has a msg file, put it's path here
 
195
#
 
196
FILE_nlm_msg =
 
197
 
 
198
#
 
199
# If the nlm has a hlp file put it's path here
 
200
#
 
201
FILE_nlm_hlp =
 
202
 
 
203
#
 
204
# If this is specified, it will override $(NWOS)\copyright.txt.
 
205
#
 
206
FILE_nlm_copyright =
 
207
 
 
208
#
 
209
# Any additional imports go here
 
210
#
 
211
FILES_nlm_Ximports = \
 
212
        $(EOLIST)
 
213
 
 
214
#   
 
215
# Any symbols exported to here
 
216
#
 
217
FILES_nlm_exports = \
 
218
        $(EOLIST)
 
219
        
 
220
#   
 
221
# These are the OBJ files needed to create the LIB target above.
 
222
# Paths must all use the '/' character
 
223
#
 
224
FILES_lib_objs = \
 
225
                $(EOLIST)
 
226
 
 
227
#
 
228
# implement targets and dependancies (leave this section alone)
 
229
#
 
230
 
 
231
libs :: $(OBJDIR) $(TARGET_lib)
 
232
 
 
233
nlms :: libs $(TARGET_nlm)
 
234
 
 
235
#
 
236
# Updated this target to create necessary directories and copy files to the 
 
237
# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
 
238
#
 
239
install :: nlms FORCE
 
240
        copy $(OBJDIR)\*.nlm $(INSTALL)\Apache2\modules\*.*
 
241
 
 
242
#
 
243
# Any specialized rules here
 
244
#
 
245
 
 
246
#
 
247
# Include the 'tail' makefile that has targets that depend on variables defined
 
248
# in this makefile
 
249
#
 
250
 
 
251
include $(AP_WORK)\build\NWGNUtail.inc
 
252
 
 
253