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