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