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