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