]>
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 | cshelp.obj,\ | |
49 | ctrlcmn.obj,\ | |
50 | ctrlsub.obj,\ | |
51 | datetime.obj,\ | |
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,\ | |
62 | encconv.obj,\ | |
63 | event.obj,\ | |
64 | extended.obj,\ | |
65 | ffile.obj,\ | |
66 | file.obj,\ | |
67 | fileconf.obj,\ | |
68 | filename.obj,\ | |
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,\ | |
91 | imagtiff.obj,\ | |
92 | imagxpm.obj,\ | |
93 | intl.obj,\ | |
94 | ipcbase.obj,\ | |
95 | layout.obj,\ | |
96 | lboxcmn.obj,\ | |
97 | list.obj,\ | |
98 | log.obj,\ | |
99 | longlong.obj,\ | |
100 | memory.obj,\ | |
101 | menucmn.obj,\ | |
102 | mimecmn.obj,\ | |
103 | module.obj,\ | |
104 | mstream.obj,\ | |
105 | nbkbase.obj,\ | |
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,\ | |
123 | sysopt.obj,\ | |
124 | tbarbase.obj,\ | |
125 | textcmn.obj,\ | |
126 | textfile.obj,\ | |
127 | timercmn.obj,\ | |
128 | tokenzr.obj,\ | |
129 | treebase.obj,\ | |
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,\ | |
142 | xpmdecod.obj,\ | |
143 | zipstrm.obj,\ | |
144 | zstream.obj | |
145 | ||
146 | SOURCES = \ | |
147 | parser.y,\ | |
148 | appcmn.cpp,\ | |
149 | choiccmn.cpp,\ | |
150 | clipcmn.cpp,\ | |
151 | cmdline.cpp,\ | |
152 | cmndata.cpp,\ | |
153 | config.cpp,\ | |
154 | cshelp.cpp,\ | |
155 | ctrlcmn.cpp,\ | |
156 | ctrlsub.cpp,\ | |
157 | datetime.cpp,\ | |
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,\ | |
168 | encconv.cpp,\ | |
169 | event.cpp,\ | |
170 | extended.c,\ | |
171 | ffile.cpp,\ | |
172 | file.cpp,\ | |
173 | fileconf.cpp,\ | |
174 | filename.cpp,\ | |
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,\ | |
196 | imagtiff.cpp,\ | |
197 | imagxpm.cpp,\ | |
198 | intl.cpp,\ | |
199 | ipcbase.cpp,\ | |
200 | layout.cpp,\ | |
201 | lboxcmn.cpp,\ | |
202 | list.cpp,\ | |
203 | log.cpp,\ | |
204 | longlong.cpp,\ | |
205 | memory.cpp,\ | |
206 | menucmn.cpp,\ | |
207 | mimecmn.cpp,\ | |
208 | module.cpp,\ | |
209 | mstream.cpp,\ | |
210 | nbkbase.cpp,\ | |
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,\ | |
227 | sysopt.cpp,\ | |
228 | string.cpp,\ | |
229 | tbarbase.cpp,\ | |
230 | textcmn.cpp,\ | |
231 | textfile.cpp,\ | |
232 | timercmn.cpp,\ | |
233 | tokenzr.cpp,\ | |
234 | treebase.cpp,\ | |
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,\ | |
247 | xpmdecod.cpp,\ | |
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) | |
257 | .else | |
258 | .ifdef __WXGTK__ | |
259 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
260 | library [--.lib]libwx_gtk.olb $(OBJECTS1) | |
261 | .endif | |
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 | |
287 | cmdline.obj : cmdline.cpp | |
288 | config.obj : config.cpp | |
289 | cshelp.obj : cshelp.cpp | |
290 | ctrlcmn.obj : ctrlcmn.cpp | |
291 | ctrlsub.obj : ctrlsub.cpp | |
292 | datetime.obj : datetime.cpp | |
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 | |
303 | encconv.obj : encconv.cpp | |
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 | |
310 | filename.obj : filename.cpp | |
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 | |
331 | imagtiff.obj : imagtiff.cpp | |
332 | imagxpm.obj : imagxpm.cpp | |
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 | |
339 | longlong.obj : longlong.cpp | |
340 | memory.obj : memory.cpp | |
341 | menucmn.obj : menucmn.cpp | |
342 | mimecmn.obj : mimecmn.cpp | |
343 | module.obj : module.cpp | |
344 | mstream.obj : mstream.cpp | |
345 | nbkbase.obj : nbkbase.cpp | |
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 | |
362 | sysopt.obj : sysopt.cpp | |
363 | string.obj : string.cpp | |
364 | tbarbase.obj : tbarbase.cpp | |
365 | textcmn.obj : textcmn.cpp | |
366 | textfile.obj : textfile.cpp | |
367 | timercmn.obj : timercmn.cpp | |
368 | tokenzr.obj : tokenzr.cpp | |
369 | treebase.obj : treebase.cpp | |
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 | |
382 | xpmdecod.obj : xpmdecod.cpp | |
383 | zipstrm.obj : zipstrm.cpp | |
384 | zstream.obj : zstream.cpp |