]>
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 | mstream.obj,\ | |
123 | nbkbase.obj,\ | |
124 | object.obj,\ | |
125 | paper.obj,\ | |
126 | popupcmn.obj,\ | |
127 | prntbase.obj,\ | |
128 | process.obj,\ | |
129 | protocol.obj,\ | |
130 | quantize.obj,\ | |
131 | resource.obj,\ | |
132 | sckaddr.obj,\ | |
133 | sckfile.obj,\ | |
134 | sckipc.obj,\ | |
135 | sckstrm.obj,\ | |
136 | sizer.obj,\ | |
137 | socket.obj,\ | |
138 | settcmn.obj,\ | |
139 | statbar.obj,\ | |
140 | strconv.obj,\ | |
141 | stream.obj,\ | |
142 | string.obj,\ | |
143 | sysopt.obj,\ | |
144 | tbarbase.obj,\ | |
145 | textbuf.obj,\ | |
146 | textcmn.obj,\ | |
147 | textfile.obj,\ | |
148 | timercmn.obj,\ | |
149 | tokenzr.obj,\ | |
150 | toplvcmn.obj,\ | |
151 | treebase.obj,\ | |
152 | txtstrm.obj,\ | |
153 | unzip.obj,\ | |
154 | url.obj | |
155 | ||
156 | OBJECTS2=utilscmn.obj,\ | |
157 | valgen.obj,\ | |
158 | validate.obj,\ | |
159 | valtext.obj,\ | |
160 | variant.obj,\ | |
161 | wfstream.obj,\ | |
162 | wincmn.obj,\ | |
163 | wxchar.obj,\ | |
164 | wxexpr.obj,\ | |
165 | xpmdecod.obj,\ | |
166 | zipstrm.obj,\ | |
167 | zstream.obj | |
168 | ||
169 | SOURCES = \ | |
170 | parser.y,\ | |
171 | appcmn.cpp,\ | |
172 | artprov.cpp,\ | |
173 | artstd.cpp,\ | |
174 | choiccmn.cpp,\ | |
175 | clipcmn.cpp,\ | |
176 | clntdata.cpp,\ | |
177 | cmdline.cpp,\ | |
178 | cmdproc.cpp,\ | |
179 | cmndata.cpp,\ | |
180 | config.cpp,\ | |
181 | containr.cpp,\ | |
182 | cshelp.cpp,\ | |
183 | ctrlcmn.cpp,\ | |
184 | ctrlsub.cpp,\ | |
185 | datetime.cpp,\ | |
186 | datstrm.cpp,\ | |
187 | db.cpp,\ | |
188 | dbgrid.cpp,\ | |
189 | dbtable.cpp,\ | |
190 | dcbase.cpp,\ | |
191 | dircmn.cpp,\ | |
192 | dlgcmn.cpp,\ | |
193 | dobjcmn.cpp,\ | |
194 | docmdi.cpp,\ | |
195 | docview.cpp,\ | |
196 | dynarray.cpp,\ | |
197 | dynlib.cpp,\ | |
198 | encconv.cpp,\ | |
199 | event.cpp,\ | |
200 | extended.c,\ | |
201 | ffile.cpp,\ | |
202 | file.cpp,\ | |
203 | fileconf.cpp,\ | |
204 | filename.cpp,\ | |
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,\ | |
216 | hashmap.cpp,\ | |
217 | helpbase.cpp,\ | |
218 | http.cpp,\ | |
219 | iconbndl.cpp,\ | |
220 | imagall.cpp,\ | |
221 | imagbmp.cpp,\ | |
222 | image.cpp,\ | |
223 | imagfill.cpp,\ | |
224 | imaggif.cpp,\ | |
225 | imagiff.cpp,\ | |
226 | imagjpeg.cpp,\ | |
227 | imagpcx.cpp,\ | |
228 | imagpng.cpp,\ | |
229 | imagpnm.cpp,\ | |
230 | imagtiff.cpp,\ | |
231 | imagxpm.cpp,\ | |
232 | intl.cpp,\ | |
233 | ipcbase.cpp,\ | |
234 | layout.cpp,\ | |
235 | lboxcmn.cpp,\ | |
236 | list.cpp,\ | |
237 | log.cpp,\ | |
238 | longlong.cpp,\ | |
239 | memory.cpp,\ | |
240 | menucmn.cpp,\ | |
241 | mimecmn.cpp,\ | |
242 | module.cpp,\ | |
243 | mstream.cpp,\ | |
244 | nbkbase.cpp,\ | |
245 | object.cpp,\ | |
246 | paper.cpp,\ | |
247 | popupcmn.cpp,\ | |
248 | prntbase.cpp,\ | |
249 | process.cpp,\ | |
250 | protocol.cpp,\ | |
251 | quantize.cpp,\ | |
252 | resource.cpp,\ | |
253 | sckaddr.cpp,\ | |
254 | sckfile.cpp,\ | |
255 | sckipc.cpp,\ | |
256 | sckstrm.cpp,\ | |
257 | sizer.cpp,\ | |
258 | socket.cpp,\ | |
259 | settcmn.cpp,\ | |
260 | statbar.cpp,\ | |
261 | strconv.cpp,\ | |
262 | stream.cpp,\ | |
263 | sysopt.cpp,\ | |
264 | string.cpp,\ | |
265 | tbarbase.cpp,\ | |
266 | textbuf.cpp,\ | |
267 | textcmn.cpp,\ | |
268 | textfile.cpp,\ | |
269 | timercmn.cpp,\ | |
270 | tokenzr.cpp,\ | |
271 | toplvcmn.cpp,\ | |
272 | treebase.cpp,\ | |
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,\ | |
285 | xpmdecod.cpp,\ | |
286 | zipstrm.cpp,\ | |
287 | zstream.cpp | |
288 | ||
289 | all : $(SOURCES) | |
290 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
291 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS1) | |
292 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS2) | |
293 | .ifdef __WXMOTIF__ | |
294 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
295 | library [--.lib]libwx_motif.olb $(OBJECTS1) | |
296 | library [--.lib]libwx_motif.olb $(OBJECTS2) | |
297 | .else | |
298 | .ifdef __WXGTK__ | |
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 | |
304 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
305 | library [--.lib]libwx_gtk.olb $(OBJECTS1) | |
306 | library [--.lib]libwx_gtk.olb $(OBJECTS2) | |
307 | .endif | |
308 | .endif | |
309 | .endif | |
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 | |
331 | artprov.obj : artprov.cpp | |
332 | artstd.obj : artstd.cpp | |
333 | choiccmn.obj : choiccmn.cpp | |
334 | clipcmn.obj : clipcmn.cpp | |
335 | clntdata.obj : clntdata.cpp | |
336 | cmdline.obj : cmdline.cpp | |
337 | cmdproc.obj : cmdproc.cpp | |
338 | cmndata.obj : cmndata.cpp | |
339 | config.obj : config.cpp | |
340 | containr.obj : containr.cpp | |
341 | cshelp.obj : cshelp.cpp | |
342 | ctrlcmn.obj : ctrlcmn.cpp | |
343 | ctrlsub.obj : ctrlsub.cpp | |
344 | datetime.obj : datetime.cpp | |
345 | datstrm.obj : datstrm.cpp | |
346 | db.obj : db.cpp | |
347 | dbgrid.obj : dbgrid.cpp | |
348 | dbtable.obj : dbtable.cpp | |
349 | dcbase.obj : dcbase.cpp | |
350 | dircmn.obj : dircmn.cpp | |
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 | |
357 | encconv.obj : encconv.cpp | |
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 | |
364 | filename.obj : filename.cpp | |
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 | |
375 | hashmap.obj : hashmap.cpp | |
376 | helpbase.obj : helpbase.cpp | |
377 | http.obj : http.cpp | |
378 | iconbndl.obj : iconbndl.cpp | |
379 | imagall.obj : imagall.cpp | |
380 | imagbmp.obj : imagbmp.cpp | |
381 | image.obj : image.cpp | |
382 | imagfill.obj : imagfill.cpp | |
383 | imaggif.obj : imaggif.cpp | |
384 | imagiff.obj : imagiff.cpp | |
385 | imagjpeg.obj : imagjpeg.cpp | |
386 | imagpcx.obj : imagpcx.cpp | |
387 | imagpng.obj : imagpng.cpp | |
388 | imagpnm.obj : imagpnm.cpp | |
389 | imagtiff.obj : imagtiff.cpp | |
390 | imagxpm.obj : imagxpm.cpp | |
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 | |
397 | longlong.obj : longlong.cpp | |
398 | memory.obj : memory.cpp | |
399 | menucmn.obj : menucmn.cpp | |
400 | mimecmn.obj : mimecmn.cpp | |
401 | module.obj : module.cpp | |
402 | mstream.obj : mstream.cpp | |
403 | nbkbase.obj : nbkbase.cpp | |
404 | object.obj : object.cpp | |
405 | paper.obj : paper.cpp | |
406 | popupcmn.obj : popupcmn.cpp | |
407 | prntbase.obj : prntbase.cpp | |
408 | process.obj : process.cpp | |
409 | protocol.obj : protocol.cpp | |
410 | quantize.obj : quantize.cpp | |
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 | |
416 | sizer.obj : sizer.cpp | |
417 | socket.obj : socket.cpp | |
418 | settcmn.obj : settcmn.cpp | |
419 | statbar.obj : statbar.cpp | |
420 | strconv.obj : strconv.cpp | |
421 | stream.obj : stream.cpp | |
422 | sysopt.obj : sysopt.cpp | |
423 | string.obj : string.cpp | |
424 | tbarbase.obj : tbarbase.cpp | |
425 | textbuf.obj : textbuf.cpp | |
426 | textcmn.obj : textcmn.cpp | |
427 | textfile.obj : textfile.cpp | |
428 | timercmn.obj : timercmn.cpp | |
429 | tokenzr.obj : tokenzr.cpp | |
430 | toplvcmn.obj : toplvcmn.cpp | |
431 | treebase.obj : treebase.cpp | |
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 | |
444 | xpmdecod.obj : xpmdecod.cpp | |
445 | zipstrm.obj : zipstrm.cpp | |
446 | zstream.obj : zstream.cpp |