]>
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,\ | |
1a0d517e | 105 | nbkbase.obj,\ |
a8a32ce2 JJ |
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,\ | |
a8a32ce2 JJ |
124 | textcmn.obj,\ |
125 | textfile.obj,\ | |
a8a32ce2 JJ |
126 | timercmn.obj,\ |
127 | tokenzr.obj,\ | |
57681e5b | 128 | treebase.obj,\ |
a8a32ce2 JJ |
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,\ | |
2900bd1c | 141 | xpmdecod.obj,\ |
a8a32ce2 JJ |
142 | zipstrm.obj,\ |
143 | zstream.obj | |
144 | ||
145 | SOURCES = \ | |
146 | parser.y,\ | |
147 | appcmn.cpp,\ | |
148 | choiccmn.cpp,\ | |
149 | clipcmn.cpp,\ | |
94f8abf9 | 150 | cmdline.cpp,\ |
a8a32ce2 JJ |
151 | cmndata.cpp,\ |
152 | config.cpp,\ | |
135ce19c | 153 | cshelp.cpp,\ |
a8a32ce2 JJ |
154 | ctrlcmn.cpp,\ |
155 | ctrlsub.cpp,\ | |
fb10f04c | 156 | datetime.cpp,\ |
a8a32ce2 JJ |
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,\ | |
1696c178 | 167 | encconv.cpp,\ |
a8a32ce2 JJ |
168 | event.cpp,\ |
169 | extended.c,\ | |
170 | ffile.cpp,\ | |
171 | file.cpp,\ | |
172 | fileconf.cpp,\ | |
9c31977b | 173 | filename.cpp,\ |
a8a32ce2 JJ |
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,\ | |
36cc3968 | 195 | imagtiff.cpp,\ |
2900bd1c | 196 | imagxpm.cpp,\ |
a8a32ce2 JJ |
197 | intl.cpp,\ |
198 | ipcbase.cpp,\ | |
199 | layout.cpp,\ | |
200 | lboxcmn.cpp,\ | |
201 | list.cpp,\ | |
202 | log.cpp,\ | |
fb10f04c | 203 | longlong.cpp,\ |
a8a32ce2 JJ |
204 | memory.cpp,\ |
205 | menucmn.cpp,\ | |
f49676ee | 206 | mimecmn.cpp,\ |
a8a32ce2 JJ |
207 | module.cpp,\ |
208 | mstream.cpp,\ | |
1a0d517e | 209 | nbkbase.cpp,\ |
a8a32ce2 JJ |
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,\ | |
a8a32ce2 JJ |
228 | textcmn.cpp,\ |
229 | textfile.cpp,\ | |
a8a32ce2 JJ |
230 | timercmn.cpp,\ |
231 | tokenzr.cpp,\ | |
57681e5b | 232 | treebase.cpp,\ |
a8a32ce2 JJ |
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,\ | |
2900bd1c | 245 | xpmdecod.cpp,\ |
a8a32ce2 JJ |
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) | |
3fa056ab JJ |
255 | .else |
256 | .ifdef __WXGTK__ | |
257 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
258 | library [--.lib]libwx_gtk.olb $(OBJECTS1) | |
259 | .endif | |
a8a32ce2 JJ |
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 | |
94f8abf9 | 285 | cmdline.obj : cmdline.cpp |
a8a32ce2 | 286 | config.obj : config.cpp |
135ce19c | 287 | cshelp.obj : cshelp.cpp |
a8a32ce2 JJ |
288 | ctrlcmn.obj : ctrlcmn.cpp |
289 | ctrlsub.obj : ctrlsub.cpp | |
fb10f04c | 290 | datetime.obj : datetime.cpp |
a8a32ce2 JJ |
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 | |
1696c178 | 301 | encconv.obj : encconv.cpp |
a8a32ce2 JJ |
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 | |
9c31977b | 308 | filename.obj : filename.cpp |
a8a32ce2 JJ |
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 | |
36cc3968 | 329 | imagtiff.obj : imagtiff.cpp |
2900bd1c | 330 | imagxpm.obj : imagxpm.cpp |
a8a32ce2 JJ |
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 | |
fb10f04c | 337 | longlong.obj : longlong.cpp |
a8a32ce2 JJ |
338 | memory.obj : memory.cpp |
339 | menucmn.obj : menucmn.cpp | |
f49676ee | 340 | mimecmn.obj : mimecmn.cpp |
a8a32ce2 JJ |
341 | module.obj : module.cpp |
342 | mstream.obj : mstream.cpp | |
1a0d517e | 343 | nbkbase.obj : nbkbase.cpp |
a8a32ce2 JJ |
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 | |
a8a32ce2 JJ |
362 | textcmn.obj : textcmn.cpp |
363 | textfile.obj : textfile.cpp | |
a8a32ce2 JJ |
364 | timercmn.obj : timercmn.cpp |
365 | tokenzr.obj : tokenzr.cpp | |
57681e5b | 366 | treebase.obj : treebase.cpp |
a8a32ce2 JJ |
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 | |
2900bd1c | 379 | xpmdecod.obj : xpmdecod.cpp |
a8a32ce2 JJ |
380 | zipstrm.obj : zipstrm.cpp |
381 | zstream.obj : zstream.cpp |