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