]>
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 | 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,\ | |
78 | intl.obj,\ | |
79 | ipcbase.obj,\ | |
80 | layout.obj,\ | |
81 | lboxcmn.obj,\ | |
82 | list.obj,\ | |
83 | log.obj,\ | |
84 | memory.obj,\ | |
85 | menucmn.obj,\ | |
86 | mimetype.obj,\ | |
87 | module.obj,\ | |
88 | mstream.obj,\ | |
89 | object.obj,\ | |
90 | objstrm.obj,\ | |
91 | paper.obj,\ | |
92 | prntbase.obj,\ | |
93 | process.obj,\ | |
94 | protocol.obj,\ | |
95 | resource.obj,\ | |
96 | sckaddr.obj,\ | |
97 | sckfile.obj,\ | |
98 | sckipc.obj,\ | |
99 | sckstrm.obj,\ | |
100 | serbase.obj,\ | |
101 | sizer.obj,\ | |
102 | socket.obj,\ | |
103 | strconv.obj,\ | |
104 | stream.obj,\ | |
105 | string.obj,\ | |
106 | tbarbase.obj,\ | |
107 | tbarsmpl.obj,\ | |
108 | textcmn.obj,\ | |
109 | textfile.obj,\ | |
110 | time.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 | date.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 | intl.cpp,\ | |
175 | ipcbase.cpp,\ | |
176 | layout.cpp,\ | |
177 | lboxcmn.cpp,\ | |
178 | list.cpp,\ | |
179 | log.cpp,\ | |
180 | memory.cpp,\ | |
181 | menucmn.cpp,\ | |
182 | mimetype.cpp,\ | |
183 | module.cpp,\ | |
184 | mstream.cpp,\ | |
185 | object.cpp,\ | |
186 | objstrm.cpp,\ | |
187 | paper.cpp,\ | |
188 | prntbase.cpp,\ | |
189 | process.cpp,\ | |
190 | protocol.cpp,\ | |
191 | resource.cpp,\ | |
192 | sckaddr.cpp,\ | |
193 | sckfile.cpp,\ | |
194 | sckipc.cpp,\ | |
195 | sckstrm.cpp,\ | |
196 | serbase.cpp,\ | |
197 | sizer.cpp,\ | |
198 | socket.cpp,\ | |
199 | strconv.cpp,\ | |
200 | stream.cpp,\ | |
201 | string.cpp,\ | |
202 | tbarbase.cpp,\ | |
203 | tbarsmpl.cpp,\ | |
204 | textcmn.cpp,\ | |
205 | textfile.cpp,\ | |
206 | time.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 | date.obj : date.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 | intl.obj : intl.cpp | |
296 | ipcbase.obj : ipcbase.cpp | |
297 | layout.obj : layout.cpp | |
298 | lboxcmn.obj : lboxcmn.cpp | |
299 | list.obj : list.cpp | |
300 | log.obj : log.cpp | |
301 | memory.obj : memory.cpp | |
302 | menucmn.obj : menucmn.cpp | |
303 | mimetype.obj : mimetype.cpp | |
304 | module.obj : module.cpp | |
305 | mstream.obj : mstream.cpp | |
306 | object.obj : object.cpp | |
307 | objstrm.obj : objstrm.cpp | |
308 | paper.obj : paper.cpp | |
309 | prntbase.obj : prntbase.cpp | |
310 | process.obj : process.cpp | |
311 | protocol.obj : protocol.cpp | |
312 | resource.obj : resource.cpp | |
313 | sckaddr.obj : sckaddr.cpp | |
314 | sckfile.obj : sckfile.cpp | |
315 | sckipc.obj : sckipc.cpp | |
316 | sckstrm.obj : sckstrm.cpp | |
317 | serbase.obj : serbase.cpp | |
318 | sizer.obj : sizer.cpp | |
319 | socket.obj : socket.cpp | |
320 | strconv.obj : strconv.cpp | |
321 | stream.obj : stream.cpp | |
322 | string.obj : string.cpp | |
323 | tbarbase.obj : tbarbase.cpp | |
324 | tbarsmpl.obj : tbarsmpl.cpp | |
325 | textcmn.obj : textcmn.cpp | |
326 | textfile.obj : textfile.cpp | |
327 | time.obj : time.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 |