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