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