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