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