]>
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 | toplvcmn.obj,\ | |
132 | treebase.obj,\ | |
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,\ | |
144 | wxexpr.obj | |
145 | ||
146 | OBJECTS2=xpmdecod.obj,\ | |
147 | zipstrm.obj,\ | |
148 | zstream.obj | |
149 | ||
150 | SOURCES = \ | |
151 | parser.y,\ | |
152 | appcmn.cpp,\ | |
153 | choiccmn.cpp,\ | |
154 | clipcmn.cpp,\ | |
155 | cmdline.cpp,\ | |
156 | cmndata.cpp,\ | |
157 | config.cpp,\ | |
158 | containr.cpp,\ | |
159 | cshelp.cpp,\ | |
160 | ctrlcmn.cpp,\ | |
161 | ctrlsub.cpp,\ | |
162 | datetime.cpp,\ | |
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,\ | |
173 | encconv.cpp,\ | |
174 | event.cpp,\ | |
175 | extended.c,\ | |
176 | ffile.cpp,\ | |
177 | file.cpp,\ | |
178 | fileconf.cpp,\ | |
179 | filename.cpp,\ | |
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,\ | |
201 | imagtiff.cpp,\ | |
202 | imagxpm.cpp,\ | |
203 | intl.cpp,\ | |
204 | ipcbase.cpp,\ | |
205 | layout.cpp,\ | |
206 | lboxcmn.cpp,\ | |
207 | list.cpp,\ | |
208 | log.cpp,\ | |
209 | longlong.cpp,\ | |
210 | memory.cpp,\ | |
211 | menucmn.cpp,\ | |
212 | mimecmn.cpp,\ | |
213 | module.cpp,\ | |
214 | mstream.cpp,\ | |
215 | nbkbase.cpp,\ | |
216 | object.cpp,\ | |
217 | objstrm.cpp,\ | |
218 | paper.cpp,\ | |
219 | prntbase.cpp,\ | |
220 | process.cpp,\ | |
221 | protocol.cpp,\ | |
222 | quantize.cpp,\ | |
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,\ | |
233 | sysopt.cpp,\ | |
234 | string.cpp,\ | |
235 | tbarbase.cpp,\ | |
236 | textcmn.cpp,\ | |
237 | textfile.cpp,\ | |
238 | timercmn.cpp,\ | |
239 | tokenzr.cpp,\ | |
240 | toplvcmn.cpp,\ | |
241 | treebase.cpp,\ | |
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,\ | |
254 | xpmdecod.cpp,\ | |
255 | zipstrm.cpp,\ | |
256 | zstream.cpp | |
257 | ||
258 | all : $(SOURCES) | |
259 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
260 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS1) | |
261 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS2) | |
262 | .ifdef __WXMOTIF__ | |
263 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
264 | library [--.lib]libwx_motif.olb $(OBJECTS1) | |
265 | library [--.lib]libwx_motif.olb $(OBJECTS2) | |
266 | .else | |
267 | .ifdef __WXGTK__ | |
268 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
269 | library [--.lib]libwx_gtk.olb $(OBJECTS1) | |
270 | library [--.lib]libwx_gtk.olb $(OBJECTS2) | |
271 | .endif | |
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 | |
297 | cmdline.obj : cmdline.cpp | |
298 | config.obj : config.cpp | |
299 | containr.obj : containr.cpp | |
300 | cshelp.obj : cshelp.cpp | |
301 | ctrlcmn.obj : ctrlcmn.cpp | |
302 | ctrlsub.obj : ctrlsub.cpp | |
303 | datetime.obj : datetime.cpp | |
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 | |
314 | encconv.obj : encconv.cpp | |
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 | |
321 | filename.obj : filename.cpp | |
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 | |
342 | imagtiff.obj : imagtiff.cpp | |
343 | imagxpm.obj : imagxpm.cpp | |
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 | |
350 | longlong.obj : longlong.cpp | |
351 | memory.obj : memory.cpp | |
352 | menucmn.obj : menucmn.cpp | |
353 | mimecmn.obj : mimecmn.cpp | |
354 | module.obj : module.cpp | |
355 | mstream.obj : mstream.cpp | |
356 | nbkbase.obj : nbkbase.cpp | |
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 | |
363 | quantize.obj : quantize.cpp | |
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 | |
374 | sysopt.obj : sysopt.cpp | |
375 | string.obj : string.cpp | |
376 | tbarbase.obj : tbarbase.cpp | |
377 | textcmn.obj : textcmn.cpp | |
378 | textfile.obj : textfile.cpp | |
379 | timercmn.obj : timercmn.cpp | |
380 | tokenzr.obj : tokenzr.cpp | |
381 | toplvcmn.obj : toplvcmn.cpp | |
382 | treebase.obj : treebase.cpp | |
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 | |
395 | xpmdecod.obj : xpmdecod.cpp | |
396 | zipstrm.obj : zipstrm.cpp | |
397 | zstream.obj : zstream.cpp |