bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / httpd-2.0.64 / modules / metadata / NWGNUmakefile
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)/uniqueid.nlm \
161         $(OBJDIR)/usertrk.nlm \
162         $(OBJDIR)/modversion.nlm \
163         $(EOLIST)
164
165 #
166 # If there is an LIB target, put it here
167 #
168 TARGET_lib = \
169         $(EOLIST)
170
171 #
172 # These are the OBJ files needed to create the NLM target above.
173 # Paths must all use the '/' character
174 #
175 FILES_nlm_objs = \
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         $(EOLIST)
184
185 #
186 # These are the modules that the above NLM target depends on to load.
187 # These will be added as a module command in the link.opt file.
188 #
189 FILES_nlm_modules = \
190         $(EOLIST)
191
192 #
193 # If the nlm has a msg file, put it's path here
194 #
195 FILE_nlm_msg =
196  
197 #
198 # If the nlm has a hlp file put it's path here
199 #
200 FILE_nlm_hlp =
201
202 #
203 # If this is specified, it will override $(NWOS)\copyright.txt.
204 #
205 FILE_nlm_copyright =
206
207 #
208 # Any additional imports go here
209 #
210 FILES_nlm_Ximports = \
211         $(EOLIST)
212  
213 #   
214 # Any symbols exported to here
215 #
216 FILES_nlm_exports = \
217         $(EOLIST)
218         
219 #   
220 # These are the OBJ files needed to create the LIB target above.
221 # Paths must all use the '/' character
222 #
223 FILES_lib_objs = \
224                 $(EOLIST)
225
226 #
227 # implement targets and dependancies (leave this section alone)
228 #
229
230 libs :: $(OBJDIR) $(TARGET_lib)
231
232 nlms :: libs $(TARGET_nlm)
233
234 #
235 # Updated this target to create necessary directories and copy files to the 
236 # correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
237 #
238 install :: nlms FORCE
239         copy $(OBJDIR)\*.nlm $(INSTALL)\Apache2\modules\*.*
240
241 #
242 # Any specialized rules here
243 #
244
245 #
246 # Include the 'tail' makefile that has targets that depend on variables defined
247 # in this makefile
248 #
249
250 include $(AP_WORK)\build\NWGNUtail.inc
251
252