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