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