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