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