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