bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / httpd-2.0.64 / server / NWGNUmakefile
1 #
2 # Declare the sub-directories to be built here
3 #
4
5 SUBDIRS = \
6                         ../build \
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 $(AP_WORK)\build\NWGNUhead.inc
15
16 #
17 # build this level's files
18
19 #
20 # These directories will be at the beginning of the include list, followed by
21 # INCDIRS
22 #
23 XINCDIRS        += \
24                         $(NWOS) \
25                         $(APR)/include \
26                         $(AP_WORK)/include \
27                         $(APRUTIL)/include \
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        = genchars
100
101 #
102 # This is used by the link '-desc ' directive. 
103 # If left blank, NLM_NAME will be used.
104 #
105 NLM_DESCRIPTION = Generate Test Characters
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 = genchars
112
113 #
114 # If this is specified, it will override VERSION value in 
115 # $(AP_WORK)\NWGNUNetWare.rul
116 #
117 NLM_VERSION     = 1,0,0
118
119 #
120 # If this is specified, it will override the default of 64K
121 #
122 NLM_STACK_SIZE  = 8192
123
124 #
125 # If this is specified it will be used by the link '-entry' directive
126 #
127 NLM_ENTRY_SYM   =_LibCPrelude 
128
129 #
130 # If this is specified it will be used by the link '-exit' directive
131 #
132 NLM_EXIT_SYM    =_LibCPostlude 
133
134 #
135 # If this is specified it will be used by the link '-check' directive
136 #
137 NLM_CHECK_SYM   =
138
139 #
140 # If this is specified it will be used by the link '-flags' directive
141 #
142 NLM_FLAGS       = PSEUDOPREEMPTION
143  
144 #
145 # If this is specified it will be linked in with the XDCData option in the def 
146 # file instead of the default of $(NWOS)/apache.xdc.  XDCData can be disabled
147 # by setting APACHE_UNIPROC in the environment
148 #
149 XDCDATA         = 
150
151 #
152 # Declare all target files (you must add your files here)
153 #
154
155 #
156 # If there is an NLM target, put it here
157 #
158 TARGET_nlm = \
159 $(OBJDIR)/genchars.nlm \
160         $(EOLIST)
161
162 #
163 # If there is an LIB target, put it here
164 #
165 TARGET_lib = \
166         $(EOLIST)
167
168 #
169 # These are the OBJ files needed to create the NLM target above.
170 # Paths must all use the '/' character
171 #
172 FILES_nlm_objs = \
173         $(OBJDIR)/gen_test_char.o \
174         $(EOLIST)
175
176 #
177 # These are the LIB files needed to create the NLM target above.
178 # These will be added as a library command in the link.opt file.
179 #
180 FILES_nlm_libs = \
181         libcpre.o \
182         $(EOLIST)
183
184 #
185 # These are the modules that the above NLM target depends on to load.
186 # These will be added as a module command in the link.opt file.
187 #
188 FILES_nlm_modules = \
189         Libc \
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         @libc.imp \
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.
238 #
239 install :: nlms FORCE
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