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