]>
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,\ | |
92 | imagjpeg.obj,\ | |
93 | imagpcx.obj,\ | |
94 | imagpng.obj,\ | |
95 | imagpnm.obj,\ | |
36cc3968 | 96 | imagtiff.obj,\ |
2900bd1c | 97 | imagxpm.obj,\ |
a8a32ce2 JJ |
98 | intl.obj,\ |
99 | ipcbase.obj,\ | |
100 | layout.obj,\ | |
101 | lboxcmn.obj,\ | |
102 | list.obj,\ | |
103 | log.obj,\ | |
fb10f04c | 104 | longlong.obj,\ |
a8a32ce2 JJ |
105 | memory.obj,\ |
106 | menucmn.obj,\ | |
f49676ee | 107 | mimecmn.obj,\ |
a8a32ce2 JJ |
108 | module.obj,\ |
109 | mstream.obj,\ | |
1a0d517e | 110 | nbkbase.obj,\ |
a8a32ce2 | 111 | object.obj,\ |
a8a32ce2 | 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,\ | |
a8a32ce2 JJ |
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,\ | |
ef338f9a | 175 | dircmn.cpp,\ |
a8a32ce2 JJ |
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 | 225 | object.cpp,\ |
a8a32ce2 | 226 | paper.cpp,\ |
508e0acb | 227 | popupcmn.cpp,\ |
a8a32ce2 JJ |
228 | prntbase.cpp,\ |
229 | process.cpp,\ | |
230 | protocol.cpp,\ | |
33381c82 | 231 | quantize.cpp,\ |
a8a32ce2 JJ |
232 | resource.cpp,\ |
233 | sckaddr.cpp,\ | |
234 | sckfile.cpp,\ | |
235 | sckipc.cpp,\ | |
236 | sckstrm.cpp,\ | |
a8a32ce2 JJ |
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 | |
ef338f9a | 321 | dircmn.obj : dircmn.cpp |
a8a32ce2 JJ |
322 | dlgcmn.obj : dlgcmn.cpp |
323 | dobjcmn.obj : dobjcmn.cpp | |
324 | docmdi.obj : docmdi.cpp | |
325 | docview.obj : docview.cpp | |
326 | dynarray.obj : dynarray.cpp | |
327 | dynlib.obj : dynlib.cpp | |
1696c178 | 328 | encconv.obj : encconv.cpp |
a8a32ce2 JJ |
329 | event.obj : event.cpp |
330 | extended.obj : extended.c | |
331 | ffile.obj : ffile.cpp | |
332 | file.obj : file.cpp | |
333 | fileconf.obj : fileconf.cpp | |
334 | filefn.obj : filefn.cpp | |
9c31977b | 335 | filename.obj : filename.cpp |
a8a32ce2 JJ |
336 | filesys.obj : filesys.cpp |
337 | fontcmn.obj : fontcmn.cpp | |
338 | fontmap.obj : fontmap.cpp | |
339 | framecmn.obj : framecmn.cpp | |
340 | fs_inet.obj : fs_inet.cpp | |
341 | fs_zip.obj : fs_zip.cpp | |
342 | ftp.obj : ftp.cpp | |
343 | gdicmn.obj : gdicmn.cpp | |
344 | gifdecod.obj : gifdecod.cpp | |
345 | hash.obj : hash.cpp | |
346 | helpbase.obj : helpbase.cpp | |
347 | http.obj : http.cpp | |
348 | imagall.obj : imagall.cpp | |
349 | imagbmp.obj : imagbmp.cpp | |
350 | image.obj : image.cpp | |
351 | imaggif.obj : imaggif.cpp | |
352 | imagjpeg.obj : imagjpeg.cpp | |
353 | imagpcx.obj : imagpcx.cpp | |
354 | imagpng.obj : imagpng.cpp | |
355 | imagpnm.obj : imagpnm.cpp | |
36cc3968 | 356 | imagtiff.obj : imagtiff.cpp |
2900bd1c | 357 | imagxpm.obj : imagxpm.cpp |
a8a32ce2 JJ |
358 | intl.obj : intl.cpp |
359 | ipcbase.obj : ipcbase.cpp | |
360 | layout.obj : layout.cpp | |
361 | lboxcmn.obj : lboxcmn.cpp | |
362 | list.obj : list.cpp | |
363 | log.obj : log.cpp | |
fb10f04c | 364 | longlong.obj : longlong.cpp |
a8a32ce2 JJ |
365 | memory.obj : memory.cpp |
366 | menucmn.obj : menucmn.cpp | |
f49676ee | 367 | mimecmn.obj : mimecmn.cpp |
a8a32ce2 JJ |
368 | module.obj : module.cpp |
369 | mstream.obj : mstream.cpp | |
1a0d517e | 370 | nbkbase.obj : nbkbase.cpp |
a8a32ce2 | 371 | object.obj : object.cpp |
a8a32ce2 | 372 | paper.obj : paper.cpp |
508e0acb | 373 | popupcmn.obj : popupcmn.cpp |
a8a32ce2 JJ |
374 | prntbase.obj : prntbase.cpp |
375 | process.obj : process.cpp | |
376 | protocol.obj : protocol.cpp | |
33381c82 | 377 | quantize.obj : quantize.cpp |
a8a32ce2 JJ |
378 | resource.obj : resource.cpp |
379 | sckaddr.obj : sckaddr.cpp | |
380 | sckfile.obj : sckfile.cpp | |
381 | sckipc.obj : sckipc.cpp | |
382 | sckstrm.obj : sckstrm.cpp | |
a8a32ce2 JJ |
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 |