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