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