]>
Commit | Line | Data |
---|---|---|
a8a32ce2 JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.stm.tudelft.nl) * | |
5 | # Date : 9 November 1999 * | |
6 | # * | |
7 | #***************************************************************************** | |
8 | .first | |
9 | define wx [--.include.wx] | |
10 | set command $disk2:[joukj.com]bison.cld | |
11 | ||
12 | .ifdef __WXMOTIF__ | |
4dff3400 JJ |
13 | CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ |
14 | /assume=(nostdnew,noglobal_array_new) | |
15 | CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short) | |
a8a32ce2 | 16 | .else |
3fa056ab | 17 | .ifdef __WXGTK__ |
de5fadb4 JJ |
18 | .ifdef __WXUNIVERSAL__ |
19 | CXX_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
20 | /name=(as_is,short)/ieee=denorm/assume=(nostdnew,noglobal_array_new) | |
21 | CC_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
22 | /name=(as_is,short)/ieee=denorm | |
23 | .else | |
14329e03 JJ |
24 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ |
25 | /assume=(nostdnew,noglobal_array_new) | |
26 | CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm | |
de5fadb4 | 27 | .endif |
3fa056ab | 28 | .else |
a8a32ce2 | 29 | CXX_DEFINE = |
14329e03 | 30 | CC_DEFINE = |
a8a32ce2 | 31 | .endif |
3fa056ab | 32 | .endif |
a8a32ce2 JJ |
33 | |
34 | YACC=bison/yacc | |
35 | ||
36 | SED=gsed | |
37 | ||
38 | LEX=flex | |
39 | ||
40 | .suffixes : .cpp | |
41 | ||
42 | .cpp.obj : | |
43 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
44 | .c.obj : | |
14329e03 | 45 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c |
a8a32ce2 JJ |
46 | |
47 | OBJECTS = \ | |
48 | parser.obj,\ | |
49 | appcmn.obj,\ | |
50 | choiccmn.obj,\ | |
51 | clipcmn.obj,\ | |
4878d85c | 52 | clntdata.obj,\ |
94f8abf9 | 53 | cmdline.obj,\ |
abfcca57 | 54 | cmdproc.obj,\ |
a8a32ce2 JJ |
55 | cmndata.obj,\ |
56 | config.obj,\ | |
33381c82 | 57 | containr.obj,\ |
135ce19c | 58 | cshelp.obj,\ |
a8a32ce2 JJ |
59 | ctrlcmn.obj,\ |
60 | ctrlsub.obj,\ | |
fb10f04c | 61 | datetime.obj,\ |
a8a32ce2 JJ |
62 | datstrm.obj,\ |
63 | db.obj,\ | |
abfcca57 | 64 | dbgrid.obj,\ |
a8a32ce2 JJ |
65 | dbtable.obj,\ |
66 | dcbase.obj,\ | |
ef338f9a | 67 | dircmn.obj,\ |
a8a32ce2 JJ |
68 | dlgcmn.obj,\ |
69 | dobjcmn.obj,\ | |
70 | docmdi.obj,\ | |
71 | docview.obj,\ | |
72 | dynarray.obj,\ | |
73 | dynlib.obj,\ | |
1696c178 | 74 | encconv.obj,\ |
a8a32ce2 JJ |
75 | event.obj,\ |
76 | extended.obj,\ | |
77 | ffile.obj,\ | |
78 | file.obj,\ | |
79 | fileconf.obj,\ | |
9c31977b | 80 | filename.obj,\ |
a8a32ce2 JJ |
81 | filefn.obj,\ |
82 | filesys.obj,\ | |
83 | fontcmn.obj,\ | |
508e0acb JJ |
84 | fontmap.obj,\ |
85 | framecmn.obj | |
a8a32ce2 | 86 | |
508e0acb | 87 | OBJECTS1=fs_inet.obj,\ |
a8a32ce2 JJ |
88 | fs_zip.obj,\ |
89 | ftp.obj,\ | |
90 | gdicmn.obj,\ | |
91 | gifdecod.obj,\ | |
92 | hash.obj,\ | |
f1c84261 | 93 | hashmap.obj,\ |
a8a32ce2 JJ |
94 | helpbase.obj,\ |
95 | http.obj,\ | |
96 | imagall.obj,\ | |
97 | imagbmp.obj,\ | |
98 | image.obj,\ | |
99 | imaggif.obj,\ | |
a7aef4a9 | 100 | imagiff.obj,\ |
a8a32ce2 JJ |
101 | imagjpeg.obj,\ |
102 | imagpcx.obj,\ | |
103 | imagpng.obj,\ | |
104 | imagpnm.obj,\ | |
36cc3968 | 105 | imagtiff.obj,\ |
2900bd1c | 106 | imagxpm.obj,\ |
a8a32ce2 JJ |
107 | intl.obj,\ |
108 | ipcbase.obj,\ | |
109 | layout.obj,\ | |
110 | lboxcmn.obj,\ | |
111 | list.obj,\ | |
112 | log.obj,\ | |
fb10f04c | 113 | longlong.obj,\ |
a8a32ce2 JJ |
114 | memory.obj,\ |
115 | menucmn.obj,\ | |
f49676ee | 116 | mimecmn.obj,\ |
a8a32ce2 JJ |
117 | module.obj,\ |
118 | mstream.obj,\ | |
1a0d517e | 119 | nbkbase.obj,\ |
a8a32ce2 | 120 | object.obj,\ |
a8a32ce2 | 121 | paper.obj,\ |
508e0acb | 122 | popupcmn.obj,\ |
a8a32ce2 JJ |
123 | prntbase.obj,\ |
124 | process.obj,\ | |
125 | protocol.obj,\ | |
33381c82 | 126 | quantize.obj,\ |
a8a32ce2 JJ |
127 | resource.obj,\ |
128 | sckaddr.obj,\ | |
129 | sckfile.obj,\ | |
130 | sckipc.obj,\ | |
131 | sckstrm.obj,\ | |
a8a32ce2 JJ |
132 | sizer.obj,\ |
133 | socket.obj,\ | |
61e6020f | 134 | statbar.obj,\ |
a8a32ce2 JJ |
135 | strconv.obj,\ |
136 | stream.obj,\ | |
137 | string.obj,\ | |
0f02d3d0 | 138 | sysopt.obj,\ |
a8a32ce2 | 139 | tbarbase.obj,\ |
3c621059 | 140 | textbuf.obj,\ |
a8a32ce2 JJ |
141 | textcmn.obj,\ |
142 | textfile.obj,\ | |
a8a32ce2 JJ |
143 | timercmn.obj,\ |
144 | tokenzr.obj,\ | |
e752575a | 145 | toplvcmn.obj,\ |
57681e5b | 146 | treebase.obj,\ |
a8a32ce2 JJ |
147 | txtstrm.obj,\ |
148 | unzip.obj,\ | |
de5fadb4 JJ |
149 | url.obj |
150 | ||
151 | OBJECTS2=utilscmn.obj,\ | |
a8a32ce2 JJ |
152 | valgen.obj,\ |
153 | validate.obj,\ | |
154 | valtext.obj,\ | |
155 | variant.obj,\ | |
156 | wfstream.obj,\ | |
157 | wincmn.obj,\ | |
158 | wxchar.obj,\ | |
de5fadb4 JJ |
159 | wxexpr.obj,\ |
160 | xpmdecod.obj,\ | |
a8a32ce2 JJ |
161 | zipstrm.obj,\ |
162 | zstream.obj | |
163 | ||
164 | SOURCES = \ | |
165 | parser.y,\ | |
166 | appcmn.cpp,\ | |
167 | choiccmn.cpp,\ | |
168 | clipcmn.cpp,\ | |
4878d85c | 169 | clntdata.cpp,\ |
94f8abf9 | 170 | cmdline.cpp,\ |
abfcca57 | 171 | cmdproc.cpp,\ |
a8a32ce2 JJ |
172 | cmndata.cpp,\ |
173 | config.cpp,\ | |
33381c82 | 174 | containr.cpp,\ |
135ce19c | 175 | cshelp.cpp,\ |
a8a32ce2 JJ |
176 | ctrlcmn.cpp,\ |
177 | ctrlsub.cpp,\ | |
fb10f04c | 178 | datetime.cpp,\ |
a8a32ce2 JJ |
179 | datstrm.cpp,\ |
180 | db.cpp,\ | |
abfcca57 | 181 | dbgrid.cpp,\ |
a8a32ce2 JJ |
182 | dbtable.cpp,\ |
183 | dcbase.cpp,\ | |
ef338f9a | 184 | dircmn.cpp,\ |
a8a32ce2 JJ |
185 | dlgcmn.cpp,\ |
186 | dobjcmn.cpp,\ | |
187 | docmdi.cpp,\ | |
188 | docview.cpp,\ | |
189 | dynarray.cpp,\ | |
190 | dynlib.cpp,\ | |
1696c178 | 191 | encconv.cpp,\ |
a8a32ce2 JJ |
192 | event.cpp,\ |
193 | extended.c,\ | |
194 | ffile.cpp,\ | |
195 | file.cpp,\ | |
196 | fileconf.cpp,\ | |
9c31977b | 197 | filename.cpp,\ |
a8a32ce2 JJ |
198 | filefn.cpp,\ |
199 | filesys.cpp,\ | |
200 | fontcmn.cpp,\ | |
201 | fontmap.cpp,\ | |
202 | framecmn.cpp,\ | |
203 | fs_inet.cpp,\ | |
204 | fs_zip.cpp,\ | |
205 | ftp.cpp,\ | |
206 | gdicmn.cpp,\ | |
207 | gifdecod.cpp,\ | |
208 | hash.cpp,\ | |
f1c84261 | 209 | hashmap.cpp,\ |
a8a32ce2 JJ |
210 | helpbase.cpp,\ |
211 | http.cpp,\ | |
212 | imagall.cpp,\ | |
213 | imagbmp.cpp,\ | |
214 | image.cpp,\ | |
215 | imaggif.cpp,\ | |
a7aef4a9 | 216 | imagiff.cpp,\ |
a8a32ce2 JJ |
217 | imagjpeg.cpp,\ |
218 | imagpcx.cpp,\ | |
219 | imagpng.cpp,\ | |
220 | imagpnm.cpp,\ | |
36cc3968 | 221 | imagtiff.cpp,\ |
2900bd1c | 222 | imagxpm.cpp,\ |
a8a32ce2 JJ |
223 | intl.cpp,\ |
224 | ipcbase.cpp,\ | |
225 | layout.cpp,\ | |
226 | lboxcmn.cpp,\ | |
227 | list.cpp,\ | |
228 | log.cpp,\ | |
fb10f04c | 229 | longlong.cpp,\ |
a8a32ce2 JJ |
230 | memory.cpp,\ |
231 | menucmn.cpp,\ | |
f49676ee | 232 | mimecmn.cpp,\ |
a8a32ce2 JJ |
233 | module.cpp,\ |
234 | mstream.cpp,\ | |
1a0d517e | 235 | nbkbase.cpp,\ |
a8a32ce2 | 236 | object.cpp,\ |
a8a32ce2 | 237 | paper.cpp,\ |
508e0acb | 238 | popupcmn.cpp,\ |
a8a32ce2 JJ |
239 | prntbase.cpp,\ |
240 | process.cpp,\ | |
241 | protocol.cpp,\ | |
33381c82 | 242 | quantize.cpp,\ |
a8a32ce2 JJ |
243 | resource.cpp,\ |
244 | sckaddr.cpp,\ | |
245 | sckfile.cpp,\ | |
246 | sckipc.cpp,\ | |
247 | sckstrm.cpp,\ | |
a8a32ce2 JJ |
248 | sizer.cpp,\ |
249 | socket.cpp,\ | |
61e6020f | 250 | statbar.cpp,\ |
a8a32ce2 JJ |
251 | strconv.cpp,\ |
252 | stream.cpp,\ | |
0f02d3d0 | 253 | sysopt.cpp,\ |
a8a32ce2 JJ |
254 | string.cpp,\ |
255 | tbarbase.cpp,\ | |
3c621059 | 256 | textbuf.cpp,\ |
a8a32ce2 JJ |
257 | textcmn.cpp,\ |
258 | textfile.cpp,\ | |
a8a32ce2 JJ |
259 | timercmn.cpp,\ |
260 | tokenzr.cpp,\ | |
e752575a | 261 | toplvcmn.cpp,\ |
57681e5b | 262 | treebase.cpp,\ |
a8a32ce2 JJ |
263 | txtstrm.cpp,\ |
264 | unzip.c,\ | |
265 | url.cpp,\ | |
266 | utilscmn.cpp,\ | |
267 | valgen.cpp,\ | |
268 | validate.cpp,\ | |
269 | valtext.cpp,\ | |
270 | variant.cpp,\ | |
271 | wfstream.cpp,\ | |
272 | wincmn.cpp,\ | |
273 | wxchar.cpp,\ | |
274 | wxexpr.cpp,\ | |
2900bd1c | 275 | xpmdecod.cpp,\ |
a8a32ce2 JJ |
276 | zipstrm.cpp,\ |
277 | zstream.cpp | |
278 | ||
279 | all : $(SOURCES) | |
280 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
281 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS1) | |
e752575a | 282 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS2) |
a8a32ce2 JJ |
283 | .ifdef __WXMOTIF__ |
284 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
285 | library [--.lib]libwx_motif.olb $(OBJECTS1) | |
e752575a | 286 | library [--.lib]libwx_motif.olb $(OBJECTS2) |
3fa056ab JJ |
287 | .else |
288 | .ifdef __WXGTK__ | |
de5fadb4 JJ |
289 | .ifdef __WXUNIVERSAL__ |
290 | library [--.lib]libwx_gtk_univ.olb $(OBJECTS) | |
291 | library [--.lib]libwx_gtk_univ.olb $(OBJECTS1) | |
292 | library [--.lib]libwx_gtk_univ.olb $(OBJECTS2) | |
293 | .else | |
3fa056ab JJ |
294 | library [--.lib]libwx_gtk.olb $(OBJECTS) |
295 | library [--.lib]libwx_gtk.olb $(OBJECTS1) | |
e752575a | 296 | library [--.lib]libwx_gtk.olb $(OBJECTS2) |
3fa056ab | 297 | .endif |
a8a32ce2 | 298 | .endif |
de5fadb4 | 299 | .endif |
a8a32ce2 JJ |
300 | |
301 | parser.obj : parser.c lexer.c | |
302 | parser.c : parser.y lexer.c | |
303 | $(YACC) parser.y | |
304 | pipe $(SED) -e "s;y_tab.c;parser.y;g" < y_tab.c | \ | |
305 | $(SED) -e "s/BUFSIZ/5000/g" | \ | |
306 | $(SED) -e "s/YYLMAX 200/YYLMAX 5000/g" | \ | |
307 | $(SED) -e "s/yy/PROIO_yy/g" | \ | |
308 | $(SED) -e "s/input/PROIO_input/g" | \ | |
309 | $(SED) -e "s/unput/PROIO_unput/g" > parser.c | |
310 | delete y_tab.c;* | |
311 | ||
312 | lexer.c : lexer.l | |
313 | $(LEX) lexer.l | |
314 | pipe $(SED) -e "s;lexyy.c;lexer.l;g" < lexyy.c | \ | |
315 | $(SED) -e "s/yy/PROIO_yy/g" | \ | |
316 | $(SED) -e "s/input/PROIO_input/g" | \ | |
317 | $(SED) -e "s/unput/PROIO_unput/g" > lexer.c | |
318 | delete lexyy.c;* | |
319 | ||
320 | appcmn.obj : appcmn.cpp | |
321 | choiccmn.obj : choiccmn.cpp | |
322 | clipcmn.obj : clipcmn.cpp | |
4878d85c | 323 | clntdata.obj : clntdata.cpp |
94f8abf9 | 324 | cmdline.obj : cmdline.cpp |
abfcca57 | 325 | cmdproc.obj : cmdproc.cpp |
4878d85c | 326 | cmndata.obj : cmndata.cpp |
a8a32ce2 | 327 | config.obj : config.cpp |
33381c82 | 328 | containr.obj : containr.cpp |
135ce19c | 329 | cshelp.obj : cshelp.cpp |
a8a32ce2 JJ |
330 | ctrlcmn.obj : ctrlcmn.cpp |
331 | ctrlsub.obj : ctrlsub.cpp | |
fb10f04c | 332 | datetime.obj : datetime.cpp |
a8a32ce2 JJ |
333 | datstrm.obj : datstrm.cpp |
334 | db.obj : db.cpp | |
abfcca57 | 335 | dbgrid.obj : dbgrid.cpp |
a8a32ce2 JJ |
336 | dbtable.obj : dbtable.cpp |
337 | dcbase.obj : dcbase.cpp | |
ef338f9a | 338 | dircmn.obj : dircmn.cpp |
a8a32ce2 JJ |
339 | dlgcmn.obj : dlgcmn.cpp |
340 | dobjcmn.obj : dobjcmn.cpp | |
341 | docmdi.obj : docmdi.cpp | |
342 | docview.obj : docview.cpp | |
343 | dynarray.obj : dynarray.cpp | |
344 | dynlib.obj : dynlib.cpp | |
1696c178 | 345 | encconv.obj : encconv.cpp |
a8a32ce2 JJ |
346 | event.obj : event.cpp |
347 | extended.obj : extended.c | |
348 | ffile.obj : ffile.cpp | |
349 | file.obj : file.cpp | |
350 | fileconf.obj : fileconf.cpp | |
351 | filefn.obj : filefn.cpp | |
9c31977b | 352 | filename.obj : filename.cpp |
a8a32ce2 JJ |
353 | filesys.obj : filesys.cpp |
354 | fontcmn.obj : fontcmn.cpp | |
355 | fontmap.obj : fontmap.cpp | |
356 | framecmn.obj : framecmn.cpp | |
357 | fs_inet.obj : fs_inet.cpp | |
358 | fs_zip.obj : fs_zip.cpp | |
359 | ftp.obj : ftp.cpp | |
360 | gdicmn.obj : gdicmn.cpp | |
361 | gifdecod.obj : gifdecod.cpp | |
362 | hash.obj : hash.cpp | |
f1c84261 | 363 | hashmap.obj : hashmap.cpp |
a8a32ce2 JJ |
364 | helpbase.obj : helpbase.cpp |
365 | http.obj : http.cpp | |
366 | imagall.obj : imagall.cpp | |
367 | imagbmp.obj : imagbmp.cpp | |
368 | image.obj : image.cpp | |
369 | imaggif.obj : imaggif.cpp | |
a7aef4a9 | 370 | imagiff.obj : imagiff.cpp |
a8a32ce2 JJ |
371 | imagjpeg.obj : imagjpeg.cpp |
372 | imagpcx.obj : imagpcx.cpp | |
373 | imagpng.obj : imagpng.cpp | |
374 | imagpnm.obj : imagpnm.cpp | |
36cc3968 | 375 | imagtiff.obj : imagtiff.cpp |
2900bd1c | 376 | imagxpm.obj : imagxpm.cpp |
a8a32ce2 JJ |
377 | intl.obj : intl.cpp |
378 | ipcbase.obj : ipcbase.cpp | |
379 | layout.obj : layout.cpp | |
380 | lboxcmn.obj : lboxcmn.cpp | |
381 | list.obj : list.cpp | |
382 | log.obj : log.cpp | |
fb10f04c | 383 | longlong.obj : longlong.cpp |
a8a32ce2 JJ |
384 | memory.obj : memory.cpp |
385 | menucmn.obj : menucmn.cpp | |
f49676ee | 386 | mimecmn.obj : mimecmn.cpp |
a8a32ce2 JJ |
387 | module.obj : module.cpp |
388 | mstream.obj : mstream.cpp | |
1a0d517e | 389 | nbkbase.obj : nbkbase.cpp |
a8a32ce2 | 390 | object.obj : object.cpp |
a8a32ce2 | 391 | paper.obj : paper.cpp |
508e0acb | 392 | popupcmn.obj : popupcmn.cpp |
a8a32ce2 JJ |
393 | prntbase.obj : prntbase.cpp |
394 | process.obj : process.cpp | |
395 | protocol.obj : protocol.cpp | |
33381c82 | 396 | quantize.obj : quantize.cpp |
a8a32ce2 JJ |
397 | resource.obj : resource.cpp |
398 | sckaddr.obj : sckaddr.cpp | |
399 | sckfile.obj : sckfile.cpp | |
400 | sckipc.obj : sckipc.cpp | |
401 | sckstrm.obj : sckstrm.cpp | |
a8a32ce2 JJ |
402 | sizer.obj : sizer.cpp |
403 | socket.obj : socket.cpp | |
61e6020f | 404 | statbar.obj : statbar.cpp |
a8a32ce2 JJ |
405 | strconv.obj : strconv.cpp |
406 | stream.obj : stream.cpp | |
0f02d3d0 | 407 | sysopt.obj : sysopt.cpp |
a8a32ce2 JJ |
408 | string.obj : string.cpp |
409 | tbarbase.obj : tbarbase.cpp | |
3c621059 | 410 | textbuf.obj : textbuf.cpp |
a8a32ce2 JJ |
411 | textcmn.obj : textcmn.cpp |
412 | textfile.obj : textfile.cpp | |
a8a32ce2 JJ |
413 | timercmn.obj : timercmn.cpp |
414 | tokenzr.obj : tokenzr.cpp | |
e752575a | 415 | toplvcmn.obj : toplvcmn.cpp |
57681e5b | 416 | treebase.obj : treebase.cpp |
a8a32ce2 JJ |
417 | txtstrm.obj : txtstrm.cpp |
418 | unzip.obj : unzip.c | |
419 | url.obj : url.cpp | |
420 | utilscmn.obj : utilscmn.cpp | |
421 | valgen.obj : valgen.cpp | |
422 | validate.obj : validate.cpp | |
423 | valtext.obj : valtext.cpp | |
424 | variant.obj : variant.cpp | |
425 | wfstream.obj : wfstream.cpp | |
426 | wincmn.obj : wincmn.cpp | |
427 | wxchar.obj : wxchar.cpp | |
428 | wxexpr.obj : wxexpr.cpp | |
2900bd1c | 429 | xpmdecod.obj : xpmdecod.cpp |
a8a32ce2 JJ |
430 | zipstrm.obj : zipstrm.cpp |
431 | zstream.obj : zstream.cpp |