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