]>
Commit | Line | Data |
---|---|---|
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__ | |
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) | |
16 | .else | |
17 | .ifdef __WXGTK__ | |
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 | |
21 | .else | |
22 | CXX_DEFINE = | |
23 | CC_DEFINE = | |
24 | .endif | |
25 | .endif | |
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 : | |
38 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c | |
39 | ||
40 | OBJECTS = \ | |
41 | parser.obj,\ | |
42 | appcmn.obj,\ | |
43 | choiccmn.obj,\ | |
44 | clipcmn.obj,\ | |
45 | cmdline.obj,\ | |
46 | cmndata.obj,\ | |
47 | config.obj,\ | |
48 | containr.obj,\ | |
49 | cshelp.obj,\ | |
50 | ctrlcmn.obj,\ | |
51 | ctrlsub.obj,\ | |
52 | datetime.obj,\ | |
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,\ | |
63 | encconv.obj,\ | |
64 | event.obj,\ | |
65 | extended.obj,\ | |
66 | ffile.obj,\ | |
67 | file.obj,\ | |
68 | fileconf.obj,\ | |
69 | filename.obj,\ | |
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,\ | |
92 | imagtiff.obj,\ | |
93 | imagxpm.obj,\ | |
94 | intl.obj,\ | |
95 | ipcbase.obj,\ | |
96 | layout.obj,\ | |
97 | lboxcmn.obj,\ | |
98 | list.obj,\ | |
99 | log.obj,\ | |
100 | longlong.obj,\ | |
101 | memory.obj,\ | |
102 | menucmn.obj,\ | |
103 | mimecmn.obj,\ | |
104 | module.obj,\ | |
105 | mstream.obj,\ | |
106 | nbkbase.obj,\ | |
107 | object.obj,\ | |
108 | objstrm.obj,\ | |
109 | paper.obj,\ | |
110 | prntbase.obj,\ | |
111 | process.obj,\ | |
112 | protocol.obj,\ | |
113 | quantize.obj,\ | |
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,\ | |
125 | sysopt.obj,\ | |
126 | tbarbase.obj,\ | |
127 | textcmn.obj,\ | |
128 | textfile.obj,\ | |
129 | timercmn.obj,\ | |
130 | tokenzr.obj,\ | |
131 | treebase.obj,\ | |
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,\ | |
144 | xpmdecod.obj,\ | |
145 | zipstrm.obj,\ | |
146 | zstream.obj | |
147 | ||
148 | SOURCES = \ | |
149 | parser.y,\ | |
150 | appcmn.cpp,\ | |
151 | choiccmn.cpp,\ | |
152 | clipcmn.cpp,\ | |
153 | cmdline.cpp,\ | |
154 | cmndata.cpp,\ | |
155 | config.cpp,\ | |
156 | containr.cpp,\ | |
157 | cshelp.cpp,\ | |
158 | ctrlcmn.cpp,\ | |
159 | ctrlsub.cpp,\ | |
160 | datetime.cpp,\ | |
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,\ | |
171 | encconv.cpp,\ | |
172 | event.cpp,\ | |
173 | extended.c,\ | |
174 | ffile.cpp,\ | |
175 | file.cpp,\ | |
176 | fileconf.cpp,\ | |
177 | filename.cpp,\ | |
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,\ | |
199 | imagtiff.cpp,\ | |
200 | imagxpm.cpp,\ | |
201 | intl.cpp,\ | |
202 | ipcbase.cpp,\ | |
203 | layout.cpp,\ | |
204 | lboxcmn.cpp,\ | |
205 | list.cpp,\ | |
206 | log.cpp,\ | |
207 | longlong.cpp,\ | |
208 | memory.cpp,\ | |
209 | menucmn.cpp,\ | |
210 | mimecmn.cpp,\ | |
211 | module.cpp,\ | |
212 | mstream.cpp,\ | |
213 | nbkbase.cpp,\ | |
214 | object.cpp,\ | |
215 | objstrm.cpp,\ | |
216 | paper.cpp,\ | |
217 | prntbase.cpp,\ | |
218 | process.cpp,\ | |
219 | protocol.cpp,\ | |
220 | quantize.cpp,\ | |
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,\ | |
231 | sysopt.cpp,\ | |
232 | string.cpp,\ | |
233 | tbarbase.cpp,\ | |
234 | textcmn.cpp,\ | |
235 | textfile.cpp,\ | |
236 | timercmn.cpp,\ | |
237 | tokenzr.cpp,\ | |
238 | treebase.cpp,\ | |
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,\ | |
251 | xpmdecod.cpp,\ | |
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) | |
261 | .else | |
262 | .ifdef __WXGTK__ | |
263 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
264 | library [--.lib]libwx_gtk.olb $(OBJECTS1) | |
265 | .endif | |
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 | |
291 | cmdline.obj : cmdline.cpp | |
292 | config.obj : config.cpp | |
293 | containr.obj : containr.cpp | |
294 | cshelp.obj : cshelp.cpp | |
295 | ctrlcmn.obj : ctrlcmn.cpp | |
296 | ctrlsub.obj : ctrlsub.cpp | |
297 | datetime.obj : datetime.cpp | |
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 | |
308 | encconv.obj : encconv.cpp | |
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 | |
315 | filename.obj : filename.cpp | |
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 | |
336 | imagtiff.obj : imagtiff.cpp | |
337 | imagxpm.obj : imagxpm.cpp | |
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 | |
344 | longlong.obj : longlong.cpp | |
345 | memory.obj : memory.cpp | |
346 | menucmn.obj : menucmn.cpp | |
347 | mimecmn.obj : mimecmn.cpp | |
348 | module.obj : module.cpp | |
349 | mstream.obj : mstream.cpp | |
350 | nbkbase.obj : nbkbase.cpp | |
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 | |
357 | quantize.obj : quantize.cpp | |
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 | |
368 | sysopt.obj : sysopt.cpp | |
369 | string.obj : string.cpp | |
370 | tbarbase.obj : tbarbase.cpp | |
371 | textcmn.obj : textcmn.cpp | |
372 | textfile.obj : textfile.cpp | |
373 | timercmn.obj : timercmn.cpp | |
374 | tokenzr.obj : tokenzr.cpp | |
375 | treebase.obj : treebase.cpp | |
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 | |
388 | xpmdecod.obj : xpmdecod.cpp | |
389 | zipstrm.obj : zipstrm.cpp | |
390 | zstream.obj : zstream.cpp |