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