]>
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,\ | |
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,\ | |
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,\ | |
113 | prntbase.obj,\ | |
114 | process.obj,\ | |
115 | protocol.obj,\ | |
33381c82 | 116 | quantize.obj,\ |
a8a32ce2 JJ |
117 | resource.obj,\ |
118 | sckaddr.obj,\ | |
119 | sckfile.obj,\ | |
120 | sckipc.obj,\ | |
121 | sckstrm.obj,\ | |
122 | serbase.obj,\ | |
123 | sizer.obj,\ | |
124 | socket.obj,\ | |
61e6020f | 125 | statbar.obj,\ |
a8a32ce2 JJ |
126 | strconv.obj,\ |
127 | stream.obj,\ | |
128 | string.obj,\ | |
0f02d3d0 | 129 | sysopt.obj,\ |
a8a32ce2 | 130 | tbarbase.obj,\ |
3c621059 | 131 | textbuf.obj,\ |
a8a32ce2 JJ |
132 | textcmn.obj,\ |
133 | textfile.obj,\ | |
a8a32ce2 JJ |
134 | timercmn.obj,\ |
135 | tokenzr.obj,\ | |
e752575a | 136 | toplvcmn.obj,\ |
57681e5b | 137 | treebase.obj,\ |
a8a32ce2 JJ |
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,\ | |
e752575a JJ |
149 | wxexpr.obj |
150 | ||
151 | OBJECTS2=xpmdecod.obj,\ | |
a8a32ce2 JJ |
152 | zipstrm.obj,\ |
153 | zstream.obj | |
154 | ||
155 | SOURCES = \ | |
156 | parser.y,\ | |
157 | appcmn.cpp,\ | |
158 | choiccmn.cpp,\ | |
159 | clipcmn.cpp,\ | |
4878d85c | 160 | clntdata.cpp,\ |
94f8abf9 | 161 | cmdline.cpp,\ |
abfcca57 | 162 | cmdproc.cpp,\ |
a8a32ce2 JJ |
163 | cmndata.cpp,\ |
164 | config.cpp,\ | |
33381c82 | 165 | containr.cpp,\ |
135ce19c | 166 | cshelp.cpp,\ |
a8a32ce2 JJ |
167 | ctrlcmn.cpp,\ |
168 | ctrlsub.cpp,\ | |
fb10f04c | 169 | datetime.cpp,\ |
a8a32ce2 JJ |
170 | datstrm.cpp,\ |
171 | db.cpp,\ | |
abfcca57 | 172 | dbgrid.cpp,\ |
a8a32ce2 JJ |
173 | dbtable.cpp,\ |
174 | dcbase.cpp,\ | |
175 | dlgcmn.cpp,\ | |
176 | dobjcmn.cpp,\ | |
177 | docmdi.cpp,\ | |
178 | docview.cpp,\ | |
179 | dynarray.cpp,\ | |
180 | dynlib.cpp,\ | |
1696c178 | 181 | encconv.cpp,\ |
a8a32ce2 JJ |
182 | event.cpp,\ |
183 | extended.c,\ | |
184 | ffile.cpp,\ | |
185 | file.cpp,\ | |
186 | fileconf.cpp,\ | |
9c31977b | 187 | filename.cpp,\ |
a8a32ce2 JJ |
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,\ | |
36cc3968 | 209 | imagtiff.cpp,\ |
2900bd1c | 210 | imagxpm.cpp,\ |
a8a32ce2 JJ |
211 | intl.cpp,\ |
212 | ipcbase.cpp,\ | |
213 | layout.cpp,\ | |
214 | lboxcmn.cpp,\ | |
215 | list.cpp,\ | |
216 | log.cpp,\ | |
fb10f04c | 217 | longlong.cpp,\ |
a8a32ce2 JJ |
218 | memory.cpp,\ |
219 | menucmn.cpp,\ | |
f49676ee | 220 | mimecmn.cpp,\ |
a8a32ce2 JJ |
221 | module.cpp,\ |
222 | mstream.cpp,\ | |
1a0d517e | 223 | nbkbase.cpp,\ |
a8a32ce2 JJ |
224 | object.cpp,\ |
225 | objstrm.cpp,\ | |
226 | paper.cpp,\ | |
227 | prntbase.cpp,\ | |
228 | process.cpp,\ | |
229 | protocol.cpp,\ | |
33381c82 | 230 | quantize.cpp,\ |
a8a32ce2 JJ |
231 | resource.cpp,\ |
232 | sckaddr.cpp,\ | |
233 | sckfile.cpp,\ | |
234 | sckipc.cpp,\ | |
235 | sckstrm.cpp,\ | |
236 | serbase.cpp,\ | |
237 | sizer.cpp,\ | |
238 | socket.cpp,\ | |
61e6020f | 239 | statbar.cpp,\ |
a8a32ce2 JJ |
240 | strconv.cpp,\ |
241 | stream.cpp,\ | |
0f02d3d0 | 242 | sysopt.cpp,\ |
a8a32ce2 JJ |
243 | string.cpp,\ |
244 | tbarbase.cpp,\ | |
3c621059 | 245 | textbuf.cpp,\ |
a8a32ce2 JJ |
246 | textcmn.cpp,\ |
247 | textfile.cpp,\ | |
a8a32ce2 JJ |
248 | timercmn.cpp,\ |
249 | tokenzr.cpp,\ | |
e752575a | 250 | toplvcmn.cpp,\ |
57681e5b | 251 | treebase.cpp,\ |
a8a32ce2 JJ |
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,\ | |
2900bd1c | 264 | xpmdecod.cpp,\ |
a8a32ce2 JJ |
265 | zipstrm.cpp,\ |
266 | zstream.cpp | |
267 | ||
268 | all : $(SOURCES) | |
269 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
270 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS1) | |
e752575a | 271 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS2) |
a8a32ce2 JJ |
272 | .ifdef __WXMOTIF__ |
273 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
274 | library [--.lib]libwx_motif.olb $(OBJECTS1) | |
e752575a | 275 | library [--.lib]libwx_motif.olb $(OBJECTS2) |
3fa056ab JJ |
276 | .else |
277 | .ifdef __WXGTK__ | |
278 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
279 | library [--.lib]libwx_gtk.olb $(OBJECTS1) | |
e752575a | 280 | library [--.lib]libwx_gtk.olb $(OBJECTS2) |
3fa056ab | 281 | .endif |
a8a32ce2 JJ |
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 | |
4878d85c | 306 | clntdata.obj : clntdata.cpp |
94f8abf9 | 307 | cmdline.obj : cmdline.cpp |
abfcca57 | 308 | cmdproc.obj : cmdproc.cpp |
4878d85c | 309 | cmndata.obj : cmndata.cpp |
a8a32ce2 | 310 | config.obj : config.cpp |
33381c82 | 311 | containr.obj : containr.cpp |
135ce19c | 312 | cshelp.obj : cshelp.cpp |
a8a32ce2 JJ |
313 | ctrlcmn.obj : ctrlcmn.cpp |
314 | ctrlsub.obj : ctrlsub.cpp | |
fb10f04c | 315 | datetime.obj : datetime.cpp |
a8a32ce2 JJ |
316 | datstrm.obj : datstrm.cpp |
317 | db.obj : db.cpp | |
abfcca57 | 318 | dbgrid.obj : dbgrid.cpp |
a8a32ce2 JJ |
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 | |
1696c178 | 327 | encconv.obj : encconv.cpp |
a8a32ce2 JJ |
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 | |
9c31977b | 334 | filename.obj : filename.cpp |
a8a32ce2 JJ |
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 | |
36cc3968 | 355 | imagtiff.obj : imagtiff.cpp |
2900bd1c | 356 | imagxpm.obj : imagxpm.cpp |
a8a32ce2 JJ |
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 | |
fb10f04c | 363 | longlong.obj : longlong.cpp |
a8a32ce2 JJ |
364 | memory.obj : memory.cpp |
365 | menucmn.obj : menucmn.cpp | |
f49676ee | 366 | mimecmn.obj : mimecmn.cpp |
a8a32ce2 JJ |
367 | module.obj : module.cpp |
368 | mstream.obj : mstream.cpp | |
1a0d517e | 369 | nbkbase.obj : nbkbase.cpp |
a8a32ce2 JJ |
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 | |
33381c82 | 376 | quantize.obj : quantize.cpp |
a8a32ce2 JJ |
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 | |
61e6020f | 385 | statbar.obj : statbar.cpp |
a8a32ce2 JJ |
386 | strconv.obj : strconv.cpp |
387 | stream.obj : stream.cpp | |
0f02d3d0 | 388 | sysopt.obj : sysopt.cpp |
a8a32ce2 JJ |
389 | string.obj : string.cpp |
390 | tbarbase.obj : tbarbase.cpp | |
3c621059 | 391 | textbuf.obj : textbuf.cpp |
a8a32ce2 JJ |
392 | textcmn.obj : textcmn.cpp |
393 | textfile.obj : textfile.cpp | |
a8a32ce2 JJ |
394 | timercmn.obj : timercmn.cpp |
395 | tokenzr.obj : tokenzr.cpp | |
e752575a | 396 | toplvcmn.obj : toplvcmn.cpp |
57681e5b | 397 | treebase.obj : treebase.cpp |
a8a32ce2 JJ |
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 | |
2900bd1c | 410 | xpmdecod.obj : xpmdecod.cpp |
a8a32ce2 JJ |
411 | zipstrm.obj : zipstrm.cpp |
412 | zstream.obj : zstream.cpp |