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