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