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

« back to all changes in this revision

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