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