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