]>
Commit | Line | Data |
---|---|---|
a8a32ce2 JJ |
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__ | |
4dff3400 JJ |
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) | |
a8a32ce2 | 16 | .else |
3fa056ab | 17 | .ifdef __WXGTK__ |
14329e03 JJ |
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 | |
3fa056ab | 21 | .else |
a8a32ce2 | 22 | CXX_DEFINE = |
14329e03 | 23 | CC_DEFINE = |
a8a32ce2 | 24 | .endif |
3fa056ab | 25 | .endif |
a8a32ce2 JJ |
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 : | |
14329e03 | 38 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c |
a8a32ce2 JJ |
39 | |
40 | OBJECTS = \ | |
41 | parser.obj,\ | |
42 | appcmn.obj,\ | |
43 | choiccmn.obj,\ | |
44 | clipcmn.obj,\ | |
4878d85c | 45 | clntdata.obj,\ |
94f8abf9 | 46 | cmdline.obj,\ |
abfcca57 | 47 | cmdproc.obj,\ |
a8a32ce2 JJ |
48 | cmndata.obj,\ |
49 | config.obj,\ | |
33381c82 | 50 | containr.obj,\ |
135ce19c | 51 | cshelp.obj,\ |
a8a32ce2 JJ |
52 | ctrlcmn.obj,\ |
53 | ctrlsub.obj,\ | |
fb10f04c | 54 | datetime.obj,\ |
a8a32ce2 JJ |
55 | datstrm.obj,\ |
56 | db.obj,\ | |
abfcca57 | 57 | dbgrid.obj,\ |
a8a32ce2 JJ |
58 | dbtable.obj,\ |
59 | dcbase.obj,\ | |
60 | dlgcmn.obj,\ | |
61 | dobjcmn.obj,\ | |
62 | docmdi.obj,\ | |
63 | docview.obj,\ | |
64 | dynarray.obj,\ | |
65 | dynlib.obj,\ | |
1696c178 | 66 | encconv.obj,\ |
a8a32ce2 JJ |
67 | event.obj,\ |
68 | extended.obj,\ | |
69 | ffile.obj,\ | |
70 | file.obj,\ | |
71 | fileconf.obj,\ | |
9c31977b | 72 | filename.obj,\ |
a8a32ce2 JJ |
73 | filefn.obj,\ |
74 | filesys.obj,\ | |
75 | fontcmn.obj,\ | |
508e0acb JJ |
76 | fontmap.obj,\ |
77 | framecmn.obj | |
a8a32ce2 | 78 | |
508e0acb | 79 | OBJECTS1=fs_inet.obj,\ |
a8a32ce2 JJ |
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,\ | |
36cc3968 | 95 | imagtiff.obj,\ |
2900bd1c | 96 | imagxpm.obj,\ |
a8a32ce2 JJ |
97 | intl.obj,\ |
98 | ipcbase.obj,\ | |
99 | layout.obj,\ | |
100 | lboxcmn.obj,\ | |
101 | list.obj,\ | |
102 | log.obj,\ | |
fb10f04c | 103 | longlong.obj,\ |
a8a32ce2 JJ |
104 | memory.obj,\ |
105 | menucmn.obj,\ | |
f49676ee | 106 | mimecmn.obj,\ |
a8a32ce2 JJ |
107 | module.obj,\ |
108 | mstream.obj,\ | |
1a0d517e | 109 | nbkbase.obj,\ |
a8a32ce2 JJ |
110 | object.obj,\ |
111 | objstrm.obj,\ | |
112 | paper.obj,\ | |
508e0acb | 113 | popupcmn.obj,\ |
a8a32ce2 JJ |
114 | prntbase.obj,\ |
115 | process.obj,\ | |
116 | protocol.obj,\ | |
33381c82 | 117 | quantize.obj,\ |
a8a32ce2 JJ |
118 | resource.obj,\ |
119 | sckaddr.obj,\ | |
120 | sckfile.obj,\ | |
121 | sckipc.obj,\ | |
122 | sckstrm.obj,\ | |
123 | serbase.obj,\ | |
124 | sizer.obj,\ | |
125 | socket.obj,\ | |
61e6020f | 126 | statbar.obj,\ |
a8a32ce2 JJ |
127 | strconv.obj,\ |
128 | stream.obj,\ | |
129 | string.obj,\ | |
0f02d3d0 | 130 | sysopt.obj,\ |
a8a32ce2 | 131 | tbarbase.obj,\ |
3c621059 | 132 | textbuf.obj,\ |
a8a32ce2 JJ |
133 | textcmn.obj,\ |
134 | textfile.obj,\ | |
a8a32ce2 JJ |
135 | timercmn.obj,\ |
136 | tokenzr.obj,\ | |
e752575a | 137 | toplvcmn.obj,\ |
57681e5b | 138 | treebase.obj,\ |
a8a32ce2 JJ |
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,\ | |
e752575a JJ |
150 | wxexpr.obj |
151 | ||
152 | OBJECTS2=xpmdecod.obj,\ | |
a8a32ce2 JJ |
153 | zipstrm.obj,\ |
154 | zstream.obj | |
155 | ||
156 | SOURCES = \ | |
157 | parser.y,\ | |
158 | appcmn.cpp,\ | |
159 | choiccmn.cpp,\ | |
160 | clipcmn.cpp,\ | |
4878d85c | 161 | clntdata.cpp,\ |
94f8abf9 | 162 | cmdline.cpp,\ |
abfcca57 | 163 | cmdproc.cpp,\ |
a8a32ce2 JJ |
164 | cmndata.cpp,\ |
165 | config.cpp,\ | |
33381c82 | 166 | containr.cpp,\ |
135ce19c | 167 | cshelp.cpp,\ |
a8a32ce2 JJ |
168 | ctrlcmn.cpp,\ |
169 | ctrlsub.cpp,\ | |
fb10f04c | 170 | datetime.cpp,\ |
a8a32ce2 JJ |
171 | datstrm.cpp,\ |
172 | db.cpp,\ | |
abfcca57 | 173 | dbgrid.cpp,\ |
a8a32ce2 JJ |
174 | dbtable.cpp,\ |
175 | dcbase.cpp,\ | |
176 | dlgcmn.cpp,\ | |
177 | dobjcmn.cpp,\ | |
178 | docmdi.cpp,\ | |
179 | docview.cpp,\ | |
180 | dynarray.cpp,\ | |
181 | dynlib.cpp,\ | |
1696c178 | 182 | encconv.cpp,\ |
a8a32ce2 JJ |
183 | event.cpp,\ |
184 | extended.c,\ | |
185 | ffile.cpp,\ | |
186 | file.cpp,\ | |
187 | fileconf.cpp,\ | |
9c31977b | 188 | filename.cpp,\ |
a8a32ce2 JJ |
189 | filefn.cpp,\ |
190 | filesys.cpp,\ | |
191 | fontcmn.cpp,\ | |
192 | fontmap.cpp,\ | |
193 | framecmn.cpp,\ | |
194 | fs_inet.cpp,\ | |
195 | fs_zip.cpp,\ | |
196 | ftp.cpp,\ | |
197 | gdicmn.cpp,\ | |
198 | gifdecod.cpp,\ | |
199 | hash.cpp,\ | |
200 | helpbase.cpp,\ | |
201 | http.cpp,\ | |
202 | imagall.cpp,\ | |
203 | imagbmp.cpp,\ | |
204 | image.cpp,\ | |
205 | imaggif.cpp,\ | |
206 | imagjpeg.cpp,\ | |
207 | imagpcx.cpp,\ | |
208 | imagpng.cpp,\ | |
209 | imagpnm.cpp,\ | |
36cc3968 | 210 | imagtiff.cpp,\ |
2900bd1c | 211 | imagxpm.cpp,\ |
a8a32ce2 JJ |
212 | intl.cpp,\ |
213 | ipcbase.cpp,\ | |
214 | layout.cpp,\ | |
215 | lboxcmn.cpp,\ | |
216 | list.cpp,\ | |
217 | log.cpp,\ | |
fb10f04c | 218 | longlong.cpp,\ |
a8a32ce2 JJ |
219 | memory.cpp,\ |
220 | menucmn.cpp,\ | |
f49676ee | 221 | mimecmn.cpp,\ |
a8a32ce2 JJ |
222 | module.cpp,\ |
223 | mstream.cpp,\ | |
1a0d517e | 224 | nbkbase.cpp,\ |
a8a32ce2 JJ |
225 | object.cpp,\ |
226 | objstrm.cpp,\ | |
227 | paper.cpp,\ | |
508e0acb | 228 | popupcmn.cpp,\ |
a8a32ce2 JJ |
229 | prntbase.cpp,\ |
230 | process.cpp,\ | |
231 | protocol.cpp,\ | |
33381c82 | 232 | quantize.cpp,\ |
a8a32ce2 JJ |
233 | resource.cpp,\ |
234 | sckaddr.cpp,\ | |
235 | sckfile.cpp,\ | |
236 | sckipc.cpp,\ | |
237 | sckstrm.cpp,\ | |
238 | serbase.cpp,\ | |
239 | sizer.cpp,\ | |
240 | socket.cpp,\ | |
61e6020f | 241 | statbar.cpp,\ |
a8a32ce2 JJ |
242 | strconv.cpp,\ |
243 | stream.cpp,\ | |
0f02d3d0 | 244 | sysopt.cpp,\ |
a8a32ce2 JJ |
245 | string.cpp,\ |
246 | tbarbase.cpp,\ | |
3c621059 | 247 | textbuf.cpp,\ |
a8a32ce2 JJ |
248 | textcmn.cpp,\ |
249 | textfile.cpp,\ | |
a8a32ce2 JJ |
250 | timercmn.cpp,\ |
251 | tokenzr.cpp,\ | |
e752575a | 252 | toplvcmn.cpp,\ |
57681e5b | 253 | treebase.cpp,\ |
a8a32ce2 JJ |
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,\ | |
2900bd1c | 266 | xpmdecod.cpp,\ |
a8a32ce2 JJ |
267 | zipstrm.cpp,\ |
268 | zstream.cpp | |
269 | ||
270 | all : $(SOURCES) | |
271 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
272 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS1) | |
e752575a | 273 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS2) |
a8a32ce2 JJ |
274 | .ifdef __WXMOTIF__ |
275 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
276 | library [--.lib]libwx_motif.olb $(OBJECTS1) | |
e752575a | 277 | library [--.lib]libwx_motif.olb $(OBJECTS2) |
3fa056ab JJ |
278 | .else |
279 | .ifdef __WXGTK__ | |
280 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
281 | library [--.lib]libwx_gtk.olb $(OBJECTS1) | |
e752575a | 282 | library [--.lib]libwx_gtk.olb $(OBJECTS2) |
3fa056ab | 283 | .endif |
a8a32ce2 JJ |
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 | |
4878d85c | 308 | clntdata.obj : clntdata.cpp |
94f8abf9 | 309 | cmdline.obj : cmdline.cpp |
abfcca57 | 310 | cmdproc.obj : cmdproc.cpp |
4878d85c | 311 | cmndata.obj : cmndata.cpp |
a8a32ce2 | 312 | config.obj : config.cpp |
33381c82 | 313 | containr.obj : containr.cpp |
135ce19c | 314 | cshelp.obj : cshelp.cpp |
a8a32ce2 JJ |
315 | ctrlcmn.obj : ctrlcmn.cpp |
316 | ctrlsub.obj : ctrlsub.cpp | |
fb10f04c | 317 | datetime.obj : datetime.cpp |
a8a32ce2 JJ |
318 | datstrm.obj : datstrm.cpp |
319 | db.obj : db.cpp | |
abfcca57 | 320 | dbgrid.obj : dbgrid.cpp |
a8a32ce2 JJ |
321 | dbtable.obj : dbtable.cpp |
322 | dcbase.obj : dcbase.cpp | |
323 | dlgcmn.obj : dlgcmn.cpp | |
324 | dobjcmn.obj : dobjcmn.cpp | |
325 | docmdi.obj : docmdi.cpp | |
326 | docview.obj : docview.cpp | |
327 | dynarray.obj : dynarray.cpp | |
328 | dynlib.obj : dynlib.cpp | |
1696c178 | 329 | encconv.obj : encconv.cpp |
a8a32ce2 JJ |
330 | event.obj : event.cpp |
331 | extended.obj : extended.c | |
332 | ffile.obj : ffile.cpp | |
333 | file.obj : file.cpp | |
334 | fileconf.obj : fileconf.cpp | |
335 | filefn.obj : filefn.cpp | |
9c31977b | 336 | filename.obj : filename.cpp |
a8a32ce2 JJ |
337 | filesys.obj : filesys.cpp |
338 | fontcmn.obj : fontcmn.cpp | |
339 | fontmap.obj : fontmap.cpp | |
340 | framecmn.obj : framecmn.cpp | |
341 | fs_inet.obj : fs_inet.cpp | |
342 | fs_zip.obj : fs_zip.cpp | |
343 | ftp.obj : ftp.cpp | |
344 | gdicmn.obj : gdicmn.cpp | |
345 | gifdecod.obj : gifdecod.cpp | |
346 | hash.obj : hash.cpp | |
347 | helpbase.obj : helpbase.cpp | |
348 | http.obj : http.cpp | |
349 | imagall.obj : imagall.cpp | |
350 | imagbmp.obj : imagbmp.cpp | |
351 | image.obj : image.cpp | |
352 | imaggif.obj : imaggif.cpp | |
353 | imagjpeg.obj : imagjpeg.cpp | |
354 | imagpcx.obj : imagpcx.cpp | |
355 | imagpng.obj : imagpng.cpp | |
356 | imagpnm.obj : imagpnm.cpp | |
36cc3968 | 357 | imagtiff.obj : imagtiff.cpp |
2900bd1c | 358 | imagxpm.obj : imagxpm.cpp |
a8a32ce2 JJ |
359 | intl.obj : intl.cpp |
360 | ipcbase.obj : ipcbase.cpp | |
361 | layout.obj : layout.cpp | |
362 | lboxcmn.obj : lboxcmn.cpp | |
363 | list.obj : list.cpp | |
364 | log.obj : log.cpp | |
fb10f04c | 365 | longlong.obj : longlong.cpp |
a8a32ce2 JJ |
366 | memory.obj : memory.cpp |
367 | menucmn.obj : menucmn.cpp | |
f49676ee | 368 | mimecmn.obj : mimecmn.cpp |
a8a32ce2 JJ |
369 | module.obj : module.cpp |
370 | mstream.obj : mstream.cpp | |
1a0d517e | 371 | nbkbase.obj : nbkbase.cpp |
a8a32ce2 JJ |
372 | object.obj : object.cpp |
373 | objstrm.obj : objstrm.cpp | |
374 | paper.obj : paper.cpp | |
508e0acb | 375 | popupcmn.obj : popupcmn.cpp |
a8a32ce2 JJ |
376 | prntbase.obj : prntbase.cpp |
377 | process.obj : process.cpp | |
378 | protocol.obj : protocol.cpp | |
33381c82 | 379 | quantize.obj : quantize.cpp |
a8a32ce2 JJ |
380 | resource.obj : resource.cpp |
381 | sckaddr.obj : sckaddr.cpp | |
382 | sckfile.obj : sckfile.cpp | |
383 | sckipc.obj : sckipc.cpp | |
384 | sckstrm.obj : sckstrm.cpp | |
385 | serbase.obj : serbase.cpp | |
386 | sizer.obj : sizer.cpp | |
387 | socket.obj : socket.cpp | |
61e6020f | 388 | statbar.obj : statbar.cpp |
a8a32ce2 JJ |
389 | strconv.obj : strconv.cpp |
390 | stream.obj : stream.cpp | |
0f02d3d0 | 391 | sysopt.obj : sysopt.cpp |
a8a32ce2 JJ |
392 | string.obj : string.cpp |
393 | tbarbase.obj : tbarbase.cpp | |
3c621059 | 394 | textbuf.obj : textbuf.cpp |
a8a32ce2 JJ |
395 | textcmn.obj : textcmn.cpp |
396 | textfile.obj : textfile.cpp | |
a8a32ce2 JJ |
397 | timercmn.obj : timercmn.cpp |
398 | tokenzr.obj : tokenzr.cpp | |
e752575a | 399 | toplvcmn.obj : toplvcmn.cpp |
57681e5b | 400 | treebase.obj : treebase.cpp |
a8a32ce2 JJ |
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 | |
2900bd1c | 413 | xpmdecod.obj : xpmdecod.cpp |
a8a32ce2 JJ |
414 | zipstrm.obj : zipstrm.cpp |
415 | zstream.obj : zstream.cpp |