]>
Commit | Line | Data |
---|---|---|
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__ | |
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) | |
16 | .else | |
17 | .ifdef __WXGTK__ | |
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 | |
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 | |
27 | .endif | |
28 | .else | |
29 | CXX_DEFINE = | |
30 | CC_DEFINE = | |
31 | .endif | |
32 | .endif | |
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 : | |
45 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c | |
46 | ||
47 | OBJECTS = \ | |
48 | parser.obj,\ | |
49 | appcmn.obj,\ | |
50 | artprov.obj,\ | |
51 | artstd.obj,\ | |
52 | choiccmn.obj,\ | |
53 | clipcmn.obj,\ | |
54 | clntdata.obj,\ | |
55 | cmdline.obj,\ | |
56 | cmdproc.obj,\ | |
57 | cmndata.obj,\ | |
58 | config.obj,\ | |
59 | containr.obj,\ | |
60 | cshelp.obj,\ | |
61 | ctrlcmn.obj,\ | |
62 | ctrlsub.obj,\ | |
63 | datetime.obj,\ | |
64 | datstrm.obj,\ | |
65 | db.obj,\ | |
66 | dbgrid.obj,\ | |
67 | dbtable.obj,\ | |
68 | dcbase.obj,\ | |
69 | dircmn.obj,\ | |
70 | dlgcmn.obj,\ | |
71 | dobjcmn.obj,\ | |
72 | docmdi.obj,\ | |
73 | docview.obj,\ | |
74 | dynarray.obj,\ | |
75 | dynlib.obj,\ | |
76 | encconv.obj,\ | |
77 | event.obj,\ | |
78 | extended.obj,\ | |
79 | ffile.obj,\ | |
80 | file.obj,\ | |
81 | fileconf.obj,\ | |
82 | filename.obj,\ | |
83 | filefn.obj,\ | |
84 | filesys.obj,\ | |
85 | fontcmn.obj,\ | |
86 | fontmap.obj,\ | |
87 | framecmn.obj | |
88 | ||
89 | OBJECTS1=fs_inet.obj,\ | |
90 | fs_zip.obj,\ | |
91 | ftp.obj,\ | |
92 | gdicmn.obj,\ | |
93 | gifdecod.obj,\ | |
94 | hash.obj,\ | |
95 | hashmap.obj,\ | |
96 | helpbase.obj,\ | |
97 | http.obj,\ | |
98 | iconbndl.obj,\ | |
99 | imagall.obj,\ | |
100 | imagbmp.obj,\ | |
101 | image.obj,\ | |
102 | imagfill.obj,\ | |
103 | imaggif.obj,\ | |
104 | imagiff.obj,\ | |
105 | imagjpeg.obj,\ | |
106 | imagpcx.obj,\ | |
107 | imagpng.obj,\ | |
108 | imagpnm.obj,\ | |
109 | imagtiff.obj,\ | |
110 | imagxpm.obj,\ | |
111 | intl.obj,\ | |
112 | ipcbase.obj,\ | |
113 | layout.obj,\ | |
114 | lboxcmn.obj,\ | |
115 | list.obj,\ | |
116 | log.obj,\ | |
117 | longlong.obj,\ | |
118 | memory.obj,\ | |
119 | menucmn.obj,\ | |
120 | mimecmn.obj,\ | |
121 | module.obj,\ | |
122 | msgout.obj,\ | |
123 | mstream.obj,\ | |
124 | nbkbase.obj,\ | |
125 | object.obj,\ | |
126 | paper.obj,\ | |
127 | popupcmn.obj,\ | |
128 | prntbase.obj,\ | |
129 | process.obj,\ | |
130 | protocol.obj,\ | |
131 | quantize.obj,\ | |
132 | resource.obj,\ | |
133 | sckaddr.obj,\ | |
134 | sckfile.obj,\ | |
135 | sckipc.obj,\ | |
136 | sckstrm.obj,\ | |
137 | sizer.obj,\ | |
138 | socket.obj,\ | |
139 | settcmn.obj,\ | |
140 | statbar.obj,\ | |
141 | strconv.obj,\ | |
142 | stream.obj,\ | |
143 | string.obj,\ | |
144 | sysopt.obj,\ | |
145 | tbarbase.obj,\ | |
146 | textbuf.obj,\ | |
147 | textcmn.obj,\ | |
148 | textfile.obj,\ | |
149 | timercmn.obj,\ | |
150 | tokenzr.obj,\ | |
151 | toplvcmn.obj,\ | |
152 | treebase.obj,\ | |
153 | txtstrm.obj,\ | |
154 | unzip.obj,\ | |
155 | url.obj | |
156 | ||
157 | OBJECTS2=utilscmn.obj,\ | |
158 | valgen.obj,\ | |
159 | validate.obj,\ | |
160 | valtext.obj,\ | |
161 | variant.obj,\ | |
162 | wfstream.obj,\ | |
163 | wincmn.obj,\ | |
164 | wxchar.obj,\ | |
165 | wxexpr.obj,\ | |
166 | xpmdecod.obj,\ | |
167 | zipstrm.obj,\ | |
168 | zstream.obj | |
169 | ||
170 | SOURCES = \ | |
171 | parser.y,\ | |
172 | appcmn.cpp,\ | |
173 | artprov.cpp,\ | |
174 | artstd.cpp,\ | |
175 | choiccmn.cpp,\ | |
176 | clipcmn.cpp,\ | |
177 | clntdata.cpp,\ | |
178 | cmdline.cpp,\ | |
179 | cmdproc.cpp,\ | |
180 | cmndata.cpp,\ | |
181 | config.cpp,\ | |
182 | containr.cpp,\ | |
183 | cshelp.cpp,\ | |
184 | ctrlcmn.cpp,\ | |
185 | ctrlsub.cpp,\ | |
186 | datetime.cpp,\ | |
187 | datstrm.cpp,\ | |
188 | db.cpp,\ | |
189 | dbgrid.cpp,\ | |
190 | dbtable.cpp,\ | |
191 | dcbase.cpp,\ | |
192 | dircmn.cpp,\ | |
193 | dlgcmn.cpp,\ | |
194 | dobjcmn.cpp,\ | |
195 | docmdi.cpp,\ | |
196 | docview.cpp,\ | |
197 | dynarray.cpp,\ | |
198 | dynlib.cpp,\ | |
199 | encconv.cpp,\ | |
200 | event.cpp,\ | |
201 | extended.c,\ | |
202 | ffile.cpp,\ | |
203 | file.cpp,\ | |
204 | fileconf.cpp,\ | |
205 | filename.cpp,\ | |
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,\ | |
217 | hashmap.cpp,\ | |
218 | helpbase.cpp,\ | |
219 | http.cpp,\ | |
220 | iconbndl.cpp,\ | |
221 | imagall.cpp,\ | |
222 | imagbmp.cpp,\ | |
223 | image.cpp,\ | |
224 | imagfill.cpp,\ | |
225 | imaggif.cpp,\ | |
226 | imagiff.cpp,\ | |
227 | imagjpeg.cpp,\ | |
228 | imagpcx.cpp,\ | |
229 | imagpng.cpp,\ | |
230 | imagpnm.cpp,\ | |
231 | imagtiff.cpp,\ | |
232 | imagxpm.cpp,\ | |
233 | intl.cpp,\ | |
234 | ipcbase.cpp,\ | |
235 | layout.cpp,\ | |
236 | lboxcmn.cpp,\ | |
237 | list.cpp,\ | |
238 | log.cpp,\ | |
239 | longlong.cpp,\ | |
240 | memory.cpp,\ | |
241 | menucmn.cpp,\ | |
242 | mimecmn.cpp,\ | |
243 | module.cpp,\ | |
244 | msgout.cpp,\ | |
245 | mstream.cpp,\ | |
246 | nbkbase.cpp,\ | |
247 | object.cpp,\ | |
248 | paper.cpp,\ | |
249 | popupcmn.cpp,\ | |
250 | prntbase.cpp,\ | |
251 | process.cpp,\ | |
252 | protocol.cpp,\ | |
253 | quantize.cpp,\ | |
254 | resource.cpp,\ | |
255 | sckaddr.cpp,\ | |
256 | sckfile.cpp,\ | |
257 | sckipc.cpp,\ | |
258 | sckstrm.cpp,\ | |
259 | sizer.cpp,\ | |
260 | socket.cpp,\ | |
261 | settcmn.cpp,\ | |
262 | statbar.cpp,\ | |
263 | strconv.cpp,\ | |
264 | stream.cpp,\ | |
265 | sysopt.cpp,\ | |
266 | string.cpp,\ | |
267 | tbarbase.cpp,\ | |
268 | textbuf.cpp,\ | |
269 | textcmn.cpp,\ | |
270 | textfile.cpp,\ | |
271 | timercmn.cpp,\ | |
272 | tokenzr.cpp,\ | |
273 | toplvcmn.cpp,\ | |
274 | treebase.cpp,\ | |
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,\ | |
287 | xpmdecod.cpp,\ | |
288 | zipstrm.cpp,\ | |
289 | zstream.cpp | |
290 | ||
291 | all : $(SOURCES) | |
292 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
293 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS1) | |
294 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS2) | |
295 | .ifdef __WXMOTIF__ | |
296 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
297 | library [--.lib]libwx_motif.olb $(OBJECTS1) | |
298 | library [--.lib]libwx_motif.olb $(OBJECTS2) | |
299 | .else | |
300 | .ifdef __WXGTK__ | |
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 | |
306 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
307 | library [--.lib]libwx_gtk.olb $(OBJECTS1) | |
308 | library [--.lib]libwx_gtk.olb $(OBJECTS2) | |
309 | .endif | |
310 | .endif | |
311 | .endif | |
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 | |
333 | artprov.obj : artprov.cpp | |
334 | artstd.obj : artstd.cpp | |
335 | choiccmn.obj : choiccmn.cpp | |
336 | clipcmn.obj : clipcmn.cpp | |
337 | clntdata.obj : clntdata.cpp | |
338 | cmdline.obj : cmdline.cpp | |
339 | cmdproc.obj : cmdproc.cpp | |
340 | cmndata.obj : cmndata.cpp | |
341 | config.obj : config.cpp | |
342 | containr.obj : containr.cpp | |
343 | cshelp.obj : cshelp.cpp | |
344 | ctrlcmn.obj : ctrlcmn.cpp | |
345 | ctrlsub.obj : ctrlsub.cpp | |
346 | datetime.obj : datetime.cpp | |
347 | datstrm.obj : datstrm.cpp | |
348 | db.obj : db.cpp | |
349 | dbgrid.obj : dbgrid.cpp | |
350 | dbtable.obj : dbtable.cpp | |
351 | dcbase.obj : dcbase.cpp | |
352 | dircmn.obj : dircmn.cpp | |
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 | |
359 | encconv.obj : encconv.cpp | |
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 | |
366 | filename.obj : filename.cpp | |
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 | |
377 | hashmap.obj : hashmap.cpp | |
378 | helpbase.obj : helpbase.cpp | |
379 | http.obj : http.cpp | |
380 | iconbndl.obj : iconbndl.cpp | |
381 | imagall.obj : imagall.cpp | |
382 | imagbmp.obj : imagbmp.cpp | |
383 | image.obj : image.cpp | |
384 | imagfill.obj : imagfill.cpp | |
385 | imaggif.obj : imaggif.cpp | |
386 | imagiff.obj : imagiff.cpp | |
387 | imagjpeg.obj : imagjpeg.cpp | |
388 | imagpcx.obj : imagpcx.cpp | |
389 | imagpng.obj : imagpng.cpp | |
390 | imagpnm.obj : imagpnm.cpp | |
391 | imagtiff.obj : imagtiff.cpp | |
392 | imagxpm.obj : imagxpm.cpp | |
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 | |
399 | longlong.obj : longlong.cpp | |
400 | memory.obj : memory.cpp | |
401 | menucmn.obj : menucmn.cpp | |
402 | mimecmn.obj : mimecmn.cpp | |
403 | module.obj : module.cpp | |
404 | msgout.obj : msgout.cpp | |
405 | mstream.obj : mstream.cpp | |
406 | nbkbase.obj : nbkbase.cpp | |
407 | object.obj : object.cpp | |
408 | paper.obj : paper.cpp | |
409 | popupcmn.obj : popupcmn.cpp | |
410 | prntbase.obj : prntbase.cpp | |
411 | process.obj : process.cpp | |
412 | protocol.obj : protocol.cpp | |
413 | quantize.obj : quantize.cpp | |
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 | |
419 | sizer.obj : sizer.cpp | |
420 | socket.obj : socket.cpp | |
421 | settcmn.obj : settcmn.cpp | |
422 | statbar.obj : statbar.cpp | |
423 | strconv.obj : strconv.cpp | |
424 | stream.obj : stream.cpp | |
425 | sysopt.obj : sysopt.cpp | |
426 | string.obj : string.cpp | |
427 | tbarbase.obj : tbarbase.cpp | |
428 | textbuf.obj : textbuf.cpp | |
429 | textcmn.obj : textcmn.cpp | |
430 | textfile.obj : textfile.cpp | |
431 | timercmn.obj : timercmn.cpp | |
432 | tokenzr.obj : tokenzr.cpp | |
433 | toplvcmn.obj : toplvcmn.cpp | |
434 | treebase.obj : treebase.cpp | |
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 | |
447 | xpmdecod.obj : xpmdecod.cpp | |
448 | zipstrm.obj : zipstrm.cpp | |
449 | zstream.obj : zstream.cpp |