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