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