]> git.saurik.com Git - wxWidgets.git/blame - src/common/descrip.mms
added wxMGL+DOS+Watcom makefiles
[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,\
60 dlgcmn.obj,\
61 dobjcmn.obj,\
62 docmdi.obj,\
63 docview.obj,\
64 dynarray.obj,\
65 dynlib.obj,\
1696c178 66 encconv.obj,\
a8a32ce2
JJ
67 event.obj,\
68 extended.obj,\
69 ffile.obj,\
70 file.obj,\
71 fileconf.obj,\
9c31977b 72 filename.obj,\
a8a32ce2
JJ
73 filefn.obj,\
74 filesys.obj,\
75 fontcmn.obj,\
508e0acb
JJ
76 fontmap.obj,\
77 framecmn.obj
a8a32ce2 78
508e0acb 79OBJECTS1=fs_inet.obj,\
a8a32ce2
JJ
80 fs_zip.obj,\
81 ftp.obj,\
82 gdicmn.obj,\
83 gifdecod.obj,\
84 hash.obj,\
85 helpbase.obj,\
86 http.obj,\
87 imagall.obj,\
88 imagbmp.obj,\
89 image.obj,\
90 imaggif.obj,\
91 imagjpeg.obj,\
92 imagpcx.obj,\
93 imagpng.obj,\
94 imagpnm.obj,\
36cc3968 95 imagtiff.obj,\
2900bd1c 96 imagxpm.obj,\
a8a32ce2
JJ
97 intl.obj,\
98 ipcbase.obj,\
99 layout.obj,\
100 lboxcmn.obj,\
101 list.obj,\
102 log.obj,\
fb10f04c 103 longlong.obj,\
a8a32ce2
JJ
104 memory.obj,\
105 menucmn.obj,\
f49676ee 106 mimecmn.obj,\
a8a32ce2
JJ
107 module.obj,\
108 mstream.obj,\
1a0d517e 109 nbkbase.obj,\
a8a32ce2
JJ
110 object.obj,\
111 objstrm.obj,\
112 paper.obj,\
508e0acb 113 popupcmn.obj,\
a8a32ce2
JJ
114 prntbase.obj,\
115 process.obj,\
116 protocol.obj,\
33381c82 117 quantize.obj,\
a8a32ce2
JJ
118 resource.obj,\
119 sckaddr.obj,\
120 sckfile.obj,\
121 sckipc.obj,\
122 sckstrm.obj,\
123 serbase.obj,\
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,\
176 dlgcmn.cpp,\
177 dobjcmn.cpp,\
178 docmdi.cpp,\
179 docview.cpp,\
180 dynarray.cpp,\
181 dynlib.cpp,\
1696c178 182 encconv.cpp,\
a8a32ce2
JJ
183 event.cpp,\
184 extended.c,\
185 ffile.cpp,\
186 file.cpp,\
187 fileconf.cpp,\
9c31977b 188 filename.cpp,\
a8a32ce2
JJ
189 filefn.cpp,\
190 filesys.cpp,\
191 fontcmn.cpp,\
192 fontmap.cpp,\
193 framecmn.cpp,\
194 fs_inet.cpp,\
195 fs_zip.cpp,\
196 ftp.cpp,\
197 gdicmn.cpp,\
198 gifdecod.cpp,\
199 hash.cpp,\
200 helpbase.cpp,\
201 http.cpp,\
202 imagall.cpp,\
203 imagbmp.cpp,\
204 image.cpp,\
205 imaggif.cpp,\
206 imagjpeg.cpp,\
207 imagpcx.cpp,\
208 imagpng.cpp,\
209 imagpnm.cpp,\
36cc3968 210 imagtiff.cpp,\
2900bd1c 211 imagxpm.cpp,\
a8a32ce2
JJ
212 intl.cpp,\
213 ipcbase.cpp,\
214 layout.cpp,\
215 lboxcmn.cpp,\
216 list.cpp,\
217 log.cpp,\
fb10f04c 218 longlong.cpp,\
a8a32ce2
JJ
219 memory.cpp,\
220 menucmn.cpp,\
f49676ee 221 mimecmn.cpp,\
a8a32ce2
JJ
222 module.cpp,\
223 mstream.cpp,\
1a0d517e 224 nbkbase.cpp,\
a8a32ce2
JJ
225 object.cpp,\
226 objstrm.cpp,\
227 paper.cpp,\
508e0acb 228 popupcmn.cpp,\
a8a32ce2
JJ
229 prntbase.cpp,\
230 process.cpp,\
231 protocol.cpp,\
33381c82 232 quantize.cpp,\
a8a32ce2
JJ
233 resource.cpp,\
234 sckaddr.cpp,\
235 sckfile.cpp,\
236 sckipc.cpp,\
237 sckstrm.cpp,\
238 serbase.cpp,\
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
323dlgcmn.obj : dlgcmn.cpp
324dobjcmn.obj : dobjcmn.cpp
325docmdi.obj : docmdi.cpp
326docview.obj : docview.cpp
327dynarray.obj : dynarray.cpp
328dynlib.obj : dynlib.cpp
1696c178 329encconv.obj : encconv.cpp
a8a32ce2
JJ
330event.obj : event.cpp
331extended.obj : extended.c
332ffile.obj : ffile.cpp
333file.obj : file.cpp
334fileconf.obj : fileconf.cpp
335filefn.obj : filefn.cpp
9c31977b 336filename.obj : filename.cpp
a8a32ce2
JJ
337filesys.obj : filesys.cpp
338fontcmn.obj : fontcmn.cpp
339fontmap.obj : fontmap.cpp
340framecmn.obj : framecmn.cpp
341fs_inet.obj : fs_inet.cpp
342fs_zip.obj : fs_zip.cpp
343ftp.obj : ftp.cpp
344gdicmn.obj : gdicmn.cpp
345gifdecod.obj : gifdecod.cpp
346hash.obj : hash.cpp
347helpbase.obj : helpbase.cpp
348http.obj : http.cpp
349imagall.obj : imagall.cpp
350imagbmp.obj : imagbmp.cpp
351image.obj : image.cpp
352imaggif.obj : imaggif.cpp
353imagjpeg.obj : imagjpeg.cpp
354imagpcx.obj : imagpcx.cpp
355imagpng.obj : imagpng.cpp
356imagpnm.obj : imagpnm.cpp
36cc3968 357imagtiff.obj : imagtiff.cpp
2900bd1c 358imagxpm.obj : imagxpm.cpp
a8a32ce2
JJ
359intl.obj : intl.cpp
360ipcbase.obj : ipcbase.cpp
361layout.obj : layout.cpp
362lboxcmn.obj : lboxcmn.cpp
363list.obj : list.cpp
364log.obj : log.cpp
fb10f04c 365longlong.obj : longlong.cpp
a8a32ce2
JJ
366memory.obj : memory.cpp
367menucmn.obj : menucmn.cpp
f49676ee 368mimecmn.obj : mimecmn.cpp
a8a32ce2
JJ
369module.obj : module.cpp
370mstream.obj : mstream.cpp
1a0d517e 371nbkbase.obj : nbkbase.cpp
a8a32ce2
JJ
372object.obj : object.cpp
373objstrm.obj : objstrm.cpp
374paper.obj : paper.cpp
508e0acb 375popupcmn.obj : popupcmn.cpp
a8a32ce2
JJ
376prntbase.obj : prntbase.cpp
377process.obj : process.cpp
378protocol.obj : protocol.cpp
33381c82 379quantize.obj : quantize.cpp
a8a32ce2
JJ
380resource.obj : resource.cpp
381sckaddr.obj : sckaddr.cpp
382sckfile.obj : sckfile.cpp
383sckipc.obj : sckipc.cpp
384sckstrm.obj : sckstrm.cpp
385serbase.obj : serbase.cpp
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