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