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