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