]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makefile.g95
add wxTE_AUTO_SCROLL
[wxWidgets.git] / src / msw / makefile.g95
CommitLineData
a1b82138 1
2bbf4618 2# This file was automatically generated by tmake at 21:04, 1999/09/12
a1b82138
VZ
3# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T!
4
2bda0e17 5#
c45a644e
RR
6# File: makefile.g95
7# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
a1b82138 8# Created: 1993
c45a644e
RR
9# Updated: 1999
10# Copyright:(c) 1993, AIAI, University of Edinburgh,
11# Copyright:(c) 1999, Vadim Zeitlin
12# Copyright:(c) 1999, Robert Roebling
2bda0e17
KB
13#
14# Makefile for libwx.a
15
16# Replace this with your own path if necessary
17WXDIR = ../..
18
c45a644e 19# All common compiler flags and options are now in
2bda0e17
KB
20# this central makefile.
21include $(WXDIR)/src/makeg95.env
22
2bda0e17
KB
23# Subordinate library possibilities
24
25EXTRAOBJS=
26
c45a644e
RR
27GENDIR = $(WXDIR)/src/generic
28COMMDIR = $(WXDIR)/src/common
a3015c54 29HTMLDIR = $(WXDIR)/src/html
c45a644e
RR
30XPMDIR = $(WXDIR)/src/xpm
31PNGDIR = $(WXDIR)/src/png
32JPEGDIR = $(WXDIR)/src/jpeg
33ZLIBDIR = $(WXDIR)/src/zlib
34OLEDIR = $(WXDIR)/src/msw/ole
35MSWDIR = $(WXDIR)/src/msw
2bda0e17 36
2bda0e17
KB
37DOCDIR = $(WXDIR)\docs
38
c45a644e
RR
39GENERICOBJS = \
40 $(GENDIR)/busyinfo.$(OBJSUFF) \
2662e49e
RR
41 $(GENDIR)/choicdgg.$(OBJSUFF) \
42 $(GENDIR)/dirdlgg.$(OBJSUFF) \
2662e49e
RR
43 $(GENDIR)/gridg.$(OBJSUFF) \
44 $(GENDIR)/laywin.$(OBJSUFF) \
9be9b974 45 $(GENDIR)/numdlgg.$(OBJSUFF) \
2662e49e
RR
46 $(GENDIR)/panelg.$(OBJSUFF) \
47 $(GENDIR)/progdlgg.$(OBJSUFF) \
48 $(GENDIR)/prop.$(OBJSUFF) \
49 $(GENDIR)/propform.$(OBJSUFF) \
50 $(GENDIR)/proplist.$(OBJSUFF) \
51 $(GENDIR)/sashwin.$(OBJSUFF) \
52 $(GENDIR)/scrolwin.$(OBJSUFF) \
53 $(GENDIR)/splitter.$(OBJSUFF) \
54 $(GENDIR)/statusbr.$(OBJSUFF) \
55 $(GENDIR)/tabg.$(OBJSUFF) \
56 $(GENDIR)/textdlgg.$(OBJSUFF) \
e8ac7bf2
RD
57 $(GENDIR)/tipdlg.$(OBJSUFF) \
58 $(GENDIR)/wizard.$(OBJSUFF)
8baa0e61 59
c45a644e 60COMMONOBJS = \
a1b82138 61 $(COMMDIR)/y_tab.$(OBJSUFF) \
8d99be5f 62 $(COMMDIR)/choiccmn.$(OBJSUFF) \
2662e49e
RR
63 $(COMMDIR)/cmndata.$(OBJSUFF) \
64 $(COMMDIR)/config.$(OBJSUFF) \
8d99be5f 65 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
2662e49e
RR
66 $(COMMDIR)/date.$(OBJSUFF) \
67 $(COMMDIR)/datstrm.$(OBJSUFF) \
68 $(COMMDIR)/db.$(OBJSUFF) \
69 $(COMMDIR)/dbtable.$(OBJSUFF) \
70 $(COMMDIR)/dcbase.$(OBJSUFF) \
71 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
72 $(COMMDIR)/docmdi.$(OBJSUFF) \
73 $(COMMDIR)/docview.$(OBJSUFF) \
74 $(COMMDIR)/dynarray.$(OBJSUFF) \
75 $(COMMDIR)/dynlib.$(OBJSUFF) \
76 $(COMMDIR)/event.$(OBJSUFF) \
a1b82138 77 $(COMMDIR)/extended.$(OBJSUFF) \
2662e49e
RR
78 $(COMMDIR)/ffile.$(OBJSUFF) \
79 $(COMMDIR)/file.$(OBJSUFF) \
80 $(COMMDIR)/fileconf.$(OBJSUFF) \
81 $(COMMDIR)/filefn.$(OBJSUFF) \
82 $(COMMDIR)/filesys.$(OBJSUFF) \
83 $(COMMDIR)/framecmn.$(OBJSUFF) \
84 $(COMMDIR)/fs_inet.$(OBJSUFF) \
85 $(COMMDIR)/fs_zip.$(OBJSUFF) \
86 $(COMMDIR)/ftp.$(OBJSUFF) \
87 $(COMMDIR)/gdicmn.$(OBJSUFF) \
e8ac7bf2 88 $(COMMDIR)/gifdecod.$(OBJSUFF) \
2662e49e
RR
89 $(COMMDIR)/hash.$(OBJSUFF) \
90 $(COMMDIR)/helpbase.$(OBJSUFF) \
91 $(COMMDIR)/http.$(OBJSUFF) \
92 $(COMMDIR)/imagbmp.$(OBJSUFF) \
93 $(COMMDIR)/image.$(OBJSUFF) \
94 $(COMMDIR)/imaggif.$(OBJSUFF) \
95 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
dfdc56a3 96 $(COMMDIR)/imagpcx.$(OBJSUFF) \
2662e49e 97 $(COMMDIR)/imagpng.$(OBJSUFF) \
e8ac7bf2 98 $(COMMDIR)/imagpnm.$(OBJSUFF) \
2662e49e
RR
99 $(COMMDIR)/intl.$(OBJSUFF) \
100 $(COMMDIR)/ipcbase.$(OBJSUFF) \
101 $(COMMDIR)/layout.$(OBJSUFF) \
102 $(COMMDIR)/list.$(OBJSUFF) \
103 $(COMMDIR)/log.$(OBJSUFF) \
104 $(COMMDIR)/memory.$(OBJSUFF) \
105 $(COMMDIR)/mimetype.$(OBJSUFF) \
106 $(COMMDIR)/module.$(OBJSUFF) \
107 $(COMMDIR)/mstream.$(OBJSUFF) \
108 $(COMMDIR)/object.$(OBJSUFF) \
109 $(COMMDIR)/objstrm.$(OBJSUFF) \
110 $(COMMDIR)/paper.$(OBJSUFF) \
111 $(COMMDIR)/prntbase.$(OBJSUFF) \
112 $(COMMDIR)/process.$(OBJSUFF) \
113 $(COMMDIR)/protocol.$(OBJSUFF) \
114 $(COMMDIR)/resource.$(OBJSUFF) \
115 $(COMMDIR)/sckaddr.$(OBJSUFF) \
116 $(COMMDIR)/sckfile.$(OBJSUFF) \
2662e49e
RR
117 $(COMMDIR)/sckipc.$(OBJSUFF) \
118 $(COMMDIR)/sckstrm.$(OBJSUFF) \
0ae2df30 119 $(COMMDIR)/sizer.$(OBJSUFF) \
2662e49e 120 $(COMMDIR)/socket.$(OBJSUFF) \
77671fd2 121 $(COMMDIR)/strconv.$(OBJSUFF) \
2662e49e
RR
122 $(COMMDIR)/stream.$(OBJSUFF) \
123 $(COMMDIR)/string.$(OBJSUFF) \
124 $(COMMDIR)/tbarbase.$(OBJSUFF) \
2bbf4618 125 $(COMMDIR)/tbarsmpl.$(OBJSUFF) \
2662e49e
RR
126 $(COMMDIR)/textcmn.$(OBJSUFF) \
127 $(COMMDIR)/textfile.$(OBJSUFF) \
128 $(COMMDIR)/time.$(OBJSUFF) \
129 $(COMMDIR)/timercmn.$(OBJSUFF) \
130 $(COMMDIR)/tokenzr.$(OBJSUFF) \
131 $(COMMDIR)/txtstrm.$(OBJSUFF) \
132 $(COMMDIR)/unzip.$(OBJSUFF) \
133 $(COMMDIR)/url.$(OBJSUFF) \
134 $(COMMDIR)/utilscmn.$(OBJSUFF) \
135 $(COMMDIR)/valgen.$(OBJSUFF) \
136 $(COMMDIR)/validate.$(OBJSUFF) \
137 $(COMMDIR)/valtext.$(OBJSUFF) \
138 $(COMMDIR)/variant.$(OBJSUFF) \
139 $(COMMDIR)/wfstream.$(OBJSUFF) \
140 $(COMMDIR)/wincmn.$(OBJSUFF) \
141 $(COMMDIR)/wxchar.$(OBJSUFF) \
142 $(COMMDIR)/wxexpr.$(OBJSUFF) \
77671fd2 143 $(COMMDIR)/zipstrm.$(OBJSUFF) \
2662e49e 144 $(COMMDIR)/zstream.$(OBJSUFF)
a1b82138 145
a3015c54 146HTMLOBJS = \
8ec2b484
HH
147 $(HTMLDIR)/helpctrl.$(OBJSUFF) \
148 $(HTMLDIR)/helpdata.$(OBJSUFF) \
149 $(HTMLDIR)/helpfrm.$(OBJSUFF) \
150 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
8a4df159 151 $(HTMLDIR)/htmlfilter.$(OBJSUFF) \
8a4df159
RR
152 $(HTMLDIR)/htmlparser.$(OBJSUFF) \
153 $(HTMLDIR)/htmltag.$(OBJSUFF) \
154 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
155 $(HTMLDIR)/htmlwinparser.$(OBJSUFF) \
156 $(HTMLDIR)/mod_fonts.$(OBJSUFF) \
157 $(HTMLDIR)/mod_hline.$(OBJSUFF) \
158 $(HTMLDIR)/mod_image.$(OBJSUFF) \
159 $(HTMLDIR)/mod_layout.$(OBJSUFF) \
160 $(HTMLDIR)/mod_links.$(OBJSUFF) \
161 $(HTMLDIR)/mod_list.$(OBJSUFF) \
162 $(HTMLDIR)/mod_pre.$(OBJSUFF) \
163 $(HTMLDIR)/mod_tables.$(OBJSUFF) \
164 $(HTMLDIR)/search.$(OBJSUFF)
a3015c54 165
c45a644e 166MSWOBJS = \
a3015c54
RR
167 $(MSWDIR)/accel.$(OBJSUFF) \
168 $(MSWDIR)/app.$(OBJSUFF) \
169 $(MSWDIR)/bitmap.$(OBJSUFF) \
170 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
171 $(MSWDIR)/brush.$(OBJSUFF) \
172 $(MSWDIR)/button.$(OBJSUFF) \
173 $(MSWDIR)/caret.$(OBJSUFF) \
174 $(MSWDIR)/checkbox.$(OBJSUFF) \
175 $(MSWDIR)/checklst.$(OBJSUFF) \
176 $(MSWDIR)/choice.$(OBJSUFF) \
177 $(MSWDIR)/clipbrd.$(OBJSUFF) \
178 $(MSWDIR)/colordlg.$(OBJSUFF) \
179 $(MSWDIR)/colour.$(OBJSUFF) \
180 $(MSWDIR)/combobox.$(OBJSUFF) \
181 $(MSWDIR)/control.$(OBJSUFF) \
182 $(MSWDIR)/curico.$(OBJSUFF) \
183 $(MSWDIR)/cursor.$(OBJSUFF) \
184 $(MSWDIR)/data.$(OBJSUFF) \
185 $(MSWDIR)/dc.$(OBJSUFF) \
186 $(MSWDIR)/dcclient.$(OBJSUFF) \
187 $(MSWDIR)/dcmemory.$(OBJSUFF) \
188 $(MSWDIR)/dcprint.$(OBJSUFF) \
189 $(MSWDIR)/dcscreen.$(OBJSUFF) \
190 $(MSWDIR)/dde.$(OBJSUFF) \
191 $(MSWDIR)/dialog.$(OBJSUFF) \
192 $(MSWDIR)/dib.$(OBJSUFF) \
193 $(MSWDIR)/dibutils.$(OBJSUFF) \
194 $(MSWDIR)/dragimag.$(OBJSUFF) \
195 $(MSWDIR)/filedlg.$(OBJSUFF) \
196 $(MSWDIR)/font.$(OBJSUFF) \
197 $(MSWDIR)/fontdlg.$(OBJSUFF) \
198 $(MSWDIR)/frame.$(OBJSUFF) \
199 $(MSWDIR)/gauge95.$(OBJSUFF) \
200 $(MSWDIR)/gdiobj.$(OBJSUFF) \
8ec2b484 201 $(MSWDIR)/gsocket.$(OBJSUFF) \
a3015c54
RR
202 $(MSWDIR)/helpwin.$(OBJSUFF) \
203 $(MSWDIR)/icon.$(OBJSUFF) \
204 $(MSWDIR)/imaglist.$(OBJSUFF) \
205 $(MSWDIR)/joystick.$(OBJSUFF) \
206 $(MSWDIR)/listbox.$(OBJSUFF) \
207 $(MSWDIR)/listctrl.$(OBJSUFF) \
208 $(MSWDIR)/main.$(OBJSUFF) \
209 $(MSWDIR)/mdi.$(OBJSUFF) \
210 $(MSWDIR)/menu.$(OBJSUFF) \
211 $(MSWDIR)/menuitem.$(OBJSUFF) \
212 $(MSWDIR)/metafile.$(OBJSUFF) \
213 $(MSWDIR)/minifram.$(OBJSUFF) \
214 $(MSWDIR)/msgdlg.$(OBJSUFF) \
215 $(MSWDIR)/nativdlg.$(OBJSUFF) \
216 $(MSWDIR)/notebook.$(OBJSUFF) \
217 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
218 $(MSWDIR)/palette.$(OBJSUFF) \
219 $(MSWDIR)/pen.$(OBJSUFF) \
220 $(MSWDIR)/penwin.$(OBJSUFF) \
221 $(MSWDIR)/pnghand.$(OBJSUFF) \
222 $(MSWDIR)/printdlg.$(OBJSUFF) \
223 $(MSWDIR)/printwin.$(OBJSUFF) \
224 $(MSWDIR)/radiobox.$(OBJSUFF) \
225 $(MSWDIR)/radiobut.$(OBJSUFF) \
226 $(MSWDIR)/regconf.$(OBJSUFF) \
227 $(MSWDIR)/region.$(OBJSUFF) \
228 $(MSWDIR)/registry.$(OBJSUFF) \
229 $(MSWDIR)/scrolbar.$(OBJSUFF) \
230 $(MSWDIR)/settings.$(OBJSUFF) \
231 $(MSWDIR)/slider95.$(OBJSUFF) \
232 $(MSWDIR)/spinbutt.$(OBJSUFF) \
233 $(MSWDIR)/statbmp.$(OBJSUFF) \
234 $(MSWDIR)/statbox.$(OBJSUFF) \
235 $(MSWDIR)/statbr95.$(OBJSUFF) \
236 $(MSWDIR)/statline.$(OBJSUFF) \
237 $(MSWDIR)/stattext.$(OBJSUFF) \
238 $(MSWDIR)/tabctrl.$(OBJSUFF) \
239 $(MSWDIR)/taskbar.$(OBJSUFF) \
240 $(MSWDIR)/tbar95.$(OBJSUFF) \
241 $(MSWDIR)/textctrl.$(OBJSUFF) \
242 $(MSWDIR)/thread.$(OBJSUFF) \
243 $(MSWDIR)/timer.$(OBJSUFF) \
244 $(MSWDIR)/tooltip.$(OBJSUFF) \
245 $(MSWDIR)/treectrl.$(OBJSUFF) \
246 $(MSWDIR)/utils.$(OBJSUFF) \
247 $(MSWDIR)/utilsexc.$(OBJSUFF) \
248 $(MSWDIR)/wave.$(OBJSUFF) \
249 $(MSWDIR)/window.$(OBJSUFF) \
250 $(MSWDIR)/xpmhand.$(OBJSUFF)
2bda0e17 251
c45a644e
RR
252ZLIBOBJS = \
253 $(ZLIBDIR)/adler32.$(OBJSUFF) \
254 $(ZLIBDIR)/compress.$(OBJSUFF) \
255 $(ZLIBDIR)/crc32.$(OBJSUFF) \
256 $(ZLIBDIR)/gzio.$(OBJSUFF) \
257 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
258 $(ZLIBDIR)/deflate.$(OBJSUFF) \
259 $(ZLIBDIR)/trees.$(OBJSUFF) \
260 $(ZLIBDIR)/zutil.$(OBJSUFF) \
261 $(ZLIBDIR)/inflate.$(OBJSUFF) \
262 $(ZLIBDIR)/infblock.$(OBJSUFF) \
263 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
264 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
265 $(ZLIBDIR)/infutil.$(OBJSUFF) \
266 $(ZLIBDIR)/inffast.$(OBJSUFF)
267
268PNGOBJS = \
269 $(PNGDIR)/png.$(OBJSUFF) \
270 $(PNGDIR)/pngread.$(OBJSUFF) \
271 $(PNGDIR)/pngrtran.$(OBJSUFF) \
272 $(PNGDIR)/pngrutil.$(OBJSUFF) \
273 $(PNGDIR)/pngpread.$(OBJSUFF) \
274 $(PNGDIR)/pngtrans.$(OBJSUFF) \
275 $(PNGDIR)/pngwrite.$(OBJSUFF) \
276 $(PNGDIR)/pngwtran.$(OBJSUFF) \
277 $(PNGDIR)/pngwutil.$(OBJSUFF) \
278 $(PNGDIR)/pngerror.$(OBJSUFF) \
279 $(PNGDIR)/pngmem.$(OBJSUFF) \
280 $(PNGDIR)/pngwio.$(OBJSUFF) \
281 $(PNGDIR)/pngrio.$(OBJSUFF) \
282 $(PNGDIR)/pngget.$(OBJSUFF) \
283 $(PNGDIR)/pngset.$(OBJSUFF)
284
285
286JPEGOBJS = \
287 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
288 $(JPEGDIR)/jutils.$(OBJSUFF) \
289 $(JPEGDIR)/jerror.$(OBJSUFF) \
290 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
291 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
292 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
293 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
294 $(JPEGDIR)/jctrans.$(OBJSUFF) \
295 $(JPEGDIR)/jcparam.$(OBJSUFF) \
296 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
297 $(JPEGDIR)/jcinit.$(OBJSUFF) \
298 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
299 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
300 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
301 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
302 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
303 $(JPEGDIR)/jccolor.$(OBJSUFF) \
304 $(JPEGDIR)/jcsample.$(OBJSUFF) \
305 $(JPEGDIR)/jchuff.$(OBJSUFF) \
306 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
307 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
308 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
309 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
310 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
311 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
312 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
313 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
314 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
315 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
316 $(JPEGDIR)/jdinput.$(OBJSUFF) \
317 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
318 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
319 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
320 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
321 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
322 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
323 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
324 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
325 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
326 $(JPEGDIR)/jidctint.$(OBJSUFF) \
327 $(JPEGDIR)/jidctred.$(OBJSUFF) \
328 $(JPEGDIR)/jdsample.$(OBJSUFF) \
329 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
330 $(JPEGDIR)/jquant1.$(OBJSUFF) \
331 $(JPEGDIR)/jquant2.$(OBJSUFF) \
332 $(JPEGDIR)/jdmerge.$(OBJSUFF)
333
4fabb575
JS
334XPMOBJECTS = $(XPMDIR)/crbuffri.o\
335 $(XPMDIR)/crdatfri.o\
336 $(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\
337 $(XPMDIR)/crifrdat.o\
338 $(XPMDIR)/data.o\
339 $(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\
340 $(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\
341 $(XPMDIR)/rdftoi.o\
342 $(XPMDIR)/rgb.o $(XPMDIR)/scan.o\
343 $(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\
344 $(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o
74e34480 345
a3015c54 346OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) \
c45a644e 347 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS) # $(XPMOBJECTS)
2bda0e17
KB
348
349all: $(OBJECTS) $(WXLIB)
350
2bda0e17
KB
351$(WXLIB): $(OBJECTS) $(EXTRAOBJS)
352 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
353 $(RANLIB) $@
354
2bda0e17
KB
355$(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
356
357$(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
6a570331
RR
358 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
359
360$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
361 copy ..\common\dosyacc.c ..\common\y_tab.c
362
363$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
364 copy ..\common\doslex.c ..\common\lex_yy.c
2bda0e17
KB
365
366# Replace lex with flex if you run into compilation
367# problems with lex_yy.c. See also note about LEX_SCANNER
368# above.
6a570331
RR
369# $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
370# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
371#
8870c26e
JS
372# Try one of these if the above line doesn't work.
373# Alternative syntax (1)
374# $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
375# Alternative syntax (2)
376# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
6a570331 377#
2bda0e17
KB
378# sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
379# sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
380# sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
381# rm -f lex.yy.c
6a570331 382#
2bda0e17
KB
383# Replace yacc with bison if you run into compilation
384# problems with y_tab.c.
6a570331
RR
385#
386# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
387# $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
388#
57c208c5
JS
389# If you use e.g. gcc on Unix, uncomment these lines
390# and comment out the above.
6a570331 391#
a1b82138 392# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
57c208c5
JS
393# $(YACC) $(COMMDIR)/parser.y
394# mv y.tab.c $(COMMDIR)/y_tab.c
2bda0e17 395
2bda0e17 396clean:
6a570331 397 -erase *.o
77671fd2 398 -erase *.bak
6a570331
RR
399 -erase core
400 -erase ..\common\y_tab.c
401 -erase ..\common\lex_yy.c
402 -erase ..\common\*.o
77671fd2 403 -erase ..\common\*.bak
6a570331 404 -erase ..\generic\*.o
77671fd2 405 -erase ..\generic\*.bak
a3015c54 406 -erase ..\html\*.o
c45a644e 407 -erase ..\png\*.o
77671fd2 408 -erase ..\png\*.bak
c45a644e 409 -erase ..\zlib\*.o
77671fd2 410 -erase ..\zlib\*.bak
c45a644e 411 -erase ..\jpeg\*.o
a1925afc 412 -erase ..\..\lib\libwx.a
2bda0e17
KB
413
414cleanall: clean