]>
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,\ | |
ef338f9a | 60 | dircmn.obj,\ |
a8a32ce2 JJ |
61 | dlgcmn.obj,\ |
62 | dobjcmn.obj,\ | |
63 | docmdi.obj,\ | |
64 | docview.obj,\ | |
65 | dynarray.obj,\ | |
66 | dynlib.obj,\ | |
1696c178 | 67 | encconv.obj,\ |
a8a32ce2 JJ |
68 | event.obj,\ |
69 | extended.obj,\ | |
70 | ffile.obj,\ | |
71 | file.obj,\ | |
72 | fileconf.obj,\ | |
9c31977b | 73 | filename.obj,\ |
a8a32ce2 JJ |
74 | filefn.obj,\ |
75 | filesys.obj,\ | |
76 | fontcmn.obj,\ | |
508e0acb JJ |
77 | fontmap.obj,\ |
78 | framecmn.obj | |
a8a32ce2 | 79 | |
508e0acb | 80 | OBJECTS1=fs_inet.obj,\ |
a8a32ce2 JJ |
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,\ | |
a7aef4a9 | 92 | imagiff.obj,\ |
a8a32ce2 JJ |
93 | imagjpeg.obj,\ |
94 | imagpcx.obj,\ | |
95 | imagpng.obj,\ | |
96 | imagpnm.obj,\ | |
36cc3968 | 97 | imagtiff.obj,\ |
2900bd1c | 98 | imagxpm.obj,\ |
a8a32ce2 JJ |
99 | intl.obj,\ |
100 | ipcbase.obj,\ | |
101 | layout.obj,\ | |
102 | lboxcmn.obj,\ | |
103 | list.obj,\ | |
104 | log.obj,\ | |
fb10f04c | 105 | longlong.obj,\ |
a8a32ce2 JJ |
106 | memory.obj,\ |
107 | menucmn.obj,\ | |
f49676ee | 108 | mimecmn.obj,\ |
a8a32ce2 JJ |
109 | module.obj,\ |
110 | mstream.obj,\ | |
1a0d517e | 111 | nbkbase.obj,\ |
a8a32ce2 | 112 | object.obj,\ |
a8a32ce2 | 113 | paper.obj,\ |
508e0acb | 114 | popupcmn.obj,\ |
a8a32ce2 JJ |
115 | prntbase.obj,\ |
116 | process.obj,\ | |
117 | protocol.obj,\ | |
33381c82 | 118 | quantize.obj,\ |
a8a32ce2 JJ |
119 | resource.obj,\ |
120 | sckaddr.obj,\ | |
121 | sckfile.obj,\ | |
122 | sckipc.obj,\ | |
123 | sckstrm.obj,\ | |
a8a32ce2 JJ |
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,\ | |
ef338f9a | 176 | dircmn.cpp,\ |
a8a32ce2 JJ |
177 | dlgcmn.cpp,\ |
178 | dobjcmn.cpp,\ | |
179 | docmdi.cpp,\ | |
180 | docview.cpp,\ | |
181 | dynarray.cpp,\ | |
182 | dynlib.cpp,\ | |
1696c178 | 183 | encconv.cpp,\ |
a8a32ce2 JJ |
184 | event.cpp,\ |
185 | extended.c,\ | |
186 | ffile.cpp,\ | |
187 | file.cpp,\ | |
188 | fileconf.cpp,\ | |
9c31977b | 189 | filename.cpp,\ |
a8a32ce2 JJ |
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,\ | |
a7aef4a9 | 207 | imagiff.cpp,\ |
a8a32ce2 JJ |
208 | imagjpeg.cpp,\ |
209 | imagpcx.cpp,\ | |
210 | imagpng.cpp,\ | |
211 | imagpnm.cpp,\ | |
36cc3968 | 212 | imagtiff.cpp,\ |
2900bd1c | 213 | imagxpm.cpp,\ |
a8a32ce2 JJ |
214 | intl.cpp,\ |
215 | ipcbase.cpp,\ | |
216 | layout.cpp,\ | |
217 | lboxcmn.cpp,\ | |
218 | list.cpp,\ | |
219 | log.cpp,\ | |
fb10f04c | 220 | longlong.cpp,\ |
a8a32ce2 JJ |
221 | memory.cpp,\ |
222 | menucmn.cpp,\ | |
f49676ee | 223 | mimecmn.cpp,\ |
a8a32ce2 JJ |
224 | module.cpp,\ |
225 | mstream.cpp,\ | |
1a0d517e | 226 | nbkbase.cpp,\ |
a8a32ce2 | 227 | object.cpp,\ |
a8a32ce2 | 228 | paper.cpp,\ |
508e0acb | 229 | popupcmn.cpp,\ |
a8a32ce2 JJ |
230 | prntbase.cpp,\ |
231 | process.cpp,\ | |
232 | protocol.cpp,\ | |
33381c82 | 233 | quantize.cpp,\ |
a8a32ce2 JJ |
234 | resource.cpp,\ |
235 | sckaddr.cpp,\ | |
236 | sckfile.cpp,\ | |
237 | sckipc.cpp,\ | |
238 | sckstrm.cpp,\ | |
a8a32ce2 JJ |
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 | |
ef338f9a | 323 | dircmn.obj : dircmn.cpp |
a8a32ce2 JJ |
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 | |
1696c178 | 330 | encconv.obj : encconv.cpp |
a8a32ce2 JJ |
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 | |
9c31977b | 337 | filename.obj : filename.cpp |
a8a32ce2 JJ |
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 | |
a7aef4a9 | 354 | imagiff.obj : imagiff.cpp |
a8a32ce2 JJ |
355 | imagjpeg.obj : imagjpeg.cpp |
356 | imagpcx.obj : imagpcx.cpp | |
357 | imagpng.obj : imagpng.cpp | |
358 | imagpnm.obj : imagpnm.cpp | |
36cc3968 | 359 | imagtiff.obj : imagtiff.cpp |
2900bd1c | 360 | imagxpm.obj : imagxpm.cpp |
a8a32ce2 JJ |
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 | |
fb10f04c | 367 | longlong.obj : longlong.cpp |
a8a32ce2 JJ |
368 | memory.obj : memory.cpp |
369 | menucmn.obj : menucmn.cpp | |
f49676ee | 370 | mimecmn.obj : mimecmn.cpp |
a8a32ce2 JJ |
371 | module.obj : module.cpp |
372 | mstream.obj : mstream.cpp | |
1a0d517e | 373 | nbkbase.obj : nbkbase.cpp |
a8a32ce2 | 374 | object.obj : object.cpp |
a8a32ce2 | 375 | paper.obj : paper.cpp |
508e0acb | 376 | popupcmn.obj : popupcmn.cpp |
a8a32ce2 JJ |
377 | prntbase.obj : prntbase.cpp |
378 | process.obj : process.cpp | |
379 | protocol.obj : protocol.cpp | |
33381c82 | 380 | quantize.obj : quantize.cpp |
a8a32ce2 JJ |
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 | |
a8a32ce2 JJ |
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 |