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