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