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