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