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