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