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