]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makefile.g95
OS/2 updates for statusbar processing
[wxWidgets.git] / src / msw / makefile.g95
CommitLineData
83141d3a 1# This file was automatically generated by tmake at 18:13, 2000/09/12
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
8535af00
VZ
22# DLL Name, if building wxWindows as a DLL.
23ifdef WXMAKINGDLL
24WXDLL = $(WXDIR)/lib/wx$(WXVERSION).dll
25WXDEF = wx$(WXVERSION).def
26DLL_EXTRA_LIBS = $(WXDIR)/lib/libzlib.a \
27 $(WXDIR)/lib/libpng.a $(WXDIR)/lib/libjpeg.a \
28 $(WXDIR)/lib/libxpm.a $(WXDIR)/lib/libtiff.a
29DLL_LDFLAGS = -L$(WXDIR)/lib
30DLL_LDLIBS = -mwindows -lcomctl32 -lctl3d32 -lole32 -loleaut32 \
a3c8a7ad 31 -luuid -lrpcrt4 -lodbc32 -lwinmm -lopengl32 \
8535af00
VZ
32 -lwsock32 $(DLL_EXTRA_LIBS) \
33 -lstdc++
34endif
35
2bda0e17
KB
36# Subordinate library possibilities
37
38EXTRAOBJS=
39
c45a644e
RR
40GENDIR = $(WXDIR)/src/generic
41COMMDIR = $(WXDIR)/src/common
a3015c54 42HTMLDIR = $(WXDIR)/src/html
8535af00 43ZLIBDIR = $(WXDIR)/src/zlib
c45a644e
RR
44PNGDIR = $(WXDIR)/src/png
45JPEGDIR = $(WXDIR)/src/jpeg
8535af00
VZ
46XPMDIR = $(WXDIR)/src/xpm
47TIFFDIR = $(WXDIR)/src/tiff
c45a644e
RR
48OLEDIR = $(WXDIR)/src/msw/ole
49MSWDIR = $(WXDIR)/src/msw
2bda0e17 50
01dba85a 51ZLIBLIB = $(WXDIR)/lib/libzlib.a
8535af00 52PNGLIB = $(WXDIR)/lib/libpng.a
01dba85a 53JPEGLIB = $(WXDIR)/lib/libjpeg.a
8535af00
VZ
54XPMLIB = $(WXDIR)/lib/libxpm.a
55TIFFLIB = $(WXDIR)/lib/libtiff.a
01dba85a 56
8535af00 57DOCDIR = $(WXDIR)/docs
2bda0e17 58
154f22b3
JS
59# Only use the WIN32 wxDirDialog if we have a recent
60# version of Mingw32
61ifeq ($(MINGW32),1)
8535af00 62 ifneq "$(findstring 2.95, $(MINGW32VERSION))" ""
154f22b3
JS
63 DIRDLGOBJ = $(MSWDIR)/dirdlg.$(OBJSUFF)
64 else
65 DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF)
66 endif
67else
68 DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF)
69endif
70
c45a644e
RR
71GENERICOBJS = \
72 $(GENDIR)/busyinfo.$(OBJSUFF) \
9d9b7755 73 $(GENDIR)/calctrl.$(OBJSUFF) \
2662e49e 74 $(GENDIR)/choicdgg.$(OBJSUFF) \
484523cf 75 $(GENDIR)/dirctrlg.$(OBJSUFF) \
68be9f09 76 $(GENDIR)/dragimgg.$(OBJSUFF) \
f85afd4e 77 $(GENDIR)/grid.$(OBJSUFF) \
5fa399c9 78 $(GENDIR)/gridsel.$(OBJSUFF) \
2662e49e 79 $(GENDIR)/laywin.$(OBJSUFF) \
dd85fc6b 80 $(GENDIR)/logg.$(OBJSUFF) \
9be9b974 81 $(GENDIR)/numdlgg.$(OBJSUFF) \
2662e49e 82 $(GENDIR)/panelg.$(OBJSUFF) \
5d541a03 83 $(GENDIR)/plot.$(OBJSUFF) \
2662e49e
RR
84 $(GENDIR)/progdlgg.$(OBJSUFF) \
85 $(GENDIR)/prop.$(OBJSUFF) \
86 $(GENDIR)/propform.$(OBJSUFF) \
87 $(GENDIR)/proplist.$(OBJSUFF) \
88 $(GENDIR)/sashwin.$(OBJSUFF) \
89 $(GENDIR)/scrolwin.$(OBJSUFF) \
484523cf 90 $(GENDIR)/splash.$(OBJSUFF) \
2662e49e
RR
91 $(GENDIR)/splitter.$(OBJSUFF) \
92 $(GENDIR)/statusbr.$(OBJSUFF) \
bf84b0be 93 $(GENDIR)/tbarsmpl.$(OBJSUFF) \
2662e49e 94 $(GENDIR)/textdlgg.$(OBJSUFF) \
e8ac7bf2 95 $(GENDIR)/tipdlg.$(OBJSUFF) \
01fa3fe7 96 $(GENDIR)/tipwin.$(OBJSUFF) \
2736b3ce 97 $(GENDIR)/treectlg.$(OBJSUFF) \
babc9758 98 $(GENDIR)/treelay.$(OBJSUFF) \
e8ac7bf2 99 $(GENDIR)/wizard.$(OBJSUFF)
8baa0e61 100
c45a644e 101COMMONOBJS = \
a1b82138 102 $(COMMDIR)/y_tab.$(OBJSUFF) \
72cdf4c9 103 $(COMMDIR)/appcmn.$(OBJSUFF) \
8d99be5f 104 $(COMMDIR)/choiccmn.$(OBJSUFF) \
08794f69 105 $(COMMDIR)/clipcmn.$(OBJSUFF) \
2a36259f 106 $(COMMDIR)/cmdline.$(OBJSUFF) \
2662e49e
RR
107 $(COMMDIR)/cmndata.$(OBJSUFF) \
108 $(COMMDIR)/config.$(OBJSUFF) \
fb6261e9 109 $(COMMDIR)/cshelp.$(OBJSUFF) \
8d99be5f 110 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
6c8a980f 111 $(COMMDIR)/ctrlsub.$(OBJSUFF) \
bf84b0be 112 $(COMMDIR)/datetime.$(OBJSUFF) \
2662e49e
RR
113 $(COMMDIR)/datstrm.$(OBJSUFF) \
114 $(COMMDIR)/db.$(OBJSUFF) \
115 $(COMMDIR)/dbtable.$(OBJSUFF) \
116 $(COMMDIR)/dcbase.$(OBJSUFF) \
117 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
c692969f 118 $(COMMDIR)/dndcmn.$(OBJSUFF) \
c4933157 119 $(COMMDIR)/dobjcmn.$(OBJSUFF) \
2662e49e
RR
120 $(COMMDIR)/docmdi.$(OBJSUFF) \
121 $(COMMDIR)/docview.$(OBJSUFF) \
122 $(COMMDIR)/dynarray.$(OBJSUFF) \
123 $(COMMDIR)/dynlib.$(OBJSUFF) \
484523cf 124 $(COMMDIR)/effects.$(OBJSUFF) \
15b83243 125 $(COMMDIR)/encconv.$(OBJSUFF) \
2662e49e 126 $(COMMDIR)/event.$(OBJSUFF) \
a1b82138 127 $(COMMDIR)/extended.$(OBJSUFF) \
2662e49e
RR
128 $(COMMDIR)/ffile.$(OBJSUFF) \
129 $(COMMDIR)/file.$(OBJSUFF) \
130 $(COMMDIR)/fileconf.$(OBJSUFF) \
131 $(COMMDIR)/filefn.$(OBJSUFF) \
132 $(COMMDIR)/filesys.$(OBJSUFF) \
0c5d3e1c 133 $(COMMDIR)/fontcmn.$(OBJSUFF) \
01dba85a 134 $(COMMDIR)/fontmap.$(OBJSUFF) \
2662e49e
RR
135 $(COMMDIR)/framecmn.$(OBJSUFF) \
136 $(COMMDIR)/fs_inet.$(OBJSUFF) \
c692969f 137 $(COMMDIR)/fs_mem.$(OBJSUFF) \
2662e49e
RR
138 $(COMMDIR)/fs_zip.$(OBJSUFF) \
139 $(COMMDIR)/ftp.$(OBJSUFF) \
140 $(COMMDIR)/gdicmn.$(OBJSUFF) \
c692969f 141 $(COMMDIR)/geometry.$(OBJSUFF) \
e8ac7bf2 142 $(COMMDIR)/gifdecod.$(OBJSUFF) \
2662e49e
RR
143 $(COMMDIR)/hash.$(OBJSUFF) \
144 $(COMMDIR)/helpbase.$(OBJSUFF) \
145 $(COMMDIR)/http.$(OBJSUFF) \
93ccaed8 146 $(COMMDIR)/imagall.$(OBJSUFF) \
2662e49e
RR
147 $(COMMDIR)/imagbmp.$(OBJSUFF) \
148 $(COMMDIR)/image.$(OBJSUFF) \
149 $(COMMDIR)/imaggif.$(OBJSUFF) \
150 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
dfdc56a3 151 $(COMMDIR)/imagpcx.$(OBJSUFF) \
2662e49e 152 $(COMMDIR)/imagpng.$(OBJSUFF) \
e8ac7bf2 153 $(COMMDIR)/imagpnm.$(OBJSUFF) \
e694c22c 154 $(COMMDIR)/imagtiff.$(OBJSUFF) \
2662e49e
RR
155 $(COMMDIR)/intl.$(OBJSUFF) \
156 $(COMMDIR)/ipcbase.$(OBJSUFF) \
157 $(COMMDIR)/layout.$(OBJSUFF) \
2ee3ee1b 158 $(COMMDIR)/lboxcmn.$(OBJSUFF) \
2662e49e
RR
159 $(COMMDIR)/list.$(OBJSUFF) \
160 $(COMMDIR)/log.$(OBJSUFF) \
bf84b0be 161 $(COMMDIR)/longlong.$(OBJSUFF) \
2662e49e 162 $(COMMDIR)/memory.$(OBJSUFF) \
ad9bb75f 163 $(COMMDIR)/menucmn.$(OBJSUFF) \
5d541a03 164 $(COMMDIR)/mimecmn.$(OBJSUFF) \
2662e49e
RR
165 $(COMMDIR)/module.$(OBJSUFF) \
166 $(COMMDIR)/mstream.$(OBJSUFF) \
167 $(COMMDIR)/object.$(OBJSUFF) \
168 $(COMMDIR)/objstrm.$(OBJSUFF) \
169 $(COMMDIR)/paper.$(OBJSUFF) \
170 $(COMMDIR)/prntbase.$(OBJSUFF) \
171 $(COMMDIR)/process.$(OBJSUFF) \
172 $(COMMDIR)/protocol.$(OBJSUFF) \
484523cf 173 $(COMMDIR)/quantize.$(OBJSUFF) \
2662e49e
RR
174 $(COMMDIR)/resource.$(OBJSUFF) \
175 $(COMMDIR)/sckaddr.$(OBJSUFF) \
176 $(COMMDIR)/sckfile.$(OBJSUFF) \
2662e49e
RR
177 $(COMMDIR)/sckipc.$(OBJSUFF) \
178 $(COMMDIR)/sckstrm.$(OBJSUFF) \
ae8f5769 179 $(COMMDIR)/serbase.$(OBJSUFF) \
0ae2df30 180 $(COMMDIR)/sizer.$(OBJSUFF) \
2662e49e 181 $(COMMDIR)/socket.$(OBJSUFF) \
77671fd2 182 $(COMMDIR)/strconv.$(OBJSUFF) \
2662e49e
RR
183 $(COMMDIR)/stream.$(OBJSUFF) \
184 $(COMMDIR)/string.$(OBJSUFF) \
185 $(COMMDIR)/tbarbase.$(OBJSUFF) \
186 $(COMMDIR)/textcmn.$(OBJSUFF) \
187 $(COMMDIR)/textfile.$(OBJSUFF) \
2662e49e
RR
188 $(COMMDIR)/timercmn.$(OBJSUFF) \
189 $(COMMDIR)/tokenzr.$(OBJSUFF) \
484523cf 190 $(COMMDIR)/treebase.$(OBJSUFF) \
2662e49e
RR
191 $(COMMDIR)/txtstrm.$(OBJSUFF) \
192 $(COMMDIR)/unzip.$(OBJSUFF) \
193 $(COMMDIR)/url.$(OBJSUFF) \
194 $(COMMDIR)/utilscmn.$(OBJSUFF) \
195 $(COMMDIR)/valgen.$(OBJSUFF) \
196 $(COMMDIR)/validate.$(OBJSUFF) \
197 $(COMMDIR)/valtext.$(OBJSUFF) \
198 $(COMMDIR)/variant.$(OBJSUFF) \
199 $(COMMDIR)/wfstream.$(OBJSUFF) \
200 $(COMMDIR)/wincmn.$(OBJSUFF) \
201 $(COMMDIR)/wxchar.$(OBJSUFF) \
202 $(COMMDIR)/wxexpr.$(OBJSUFF) \
77671fd2 203 $(COMMDIR)/zipstrm.$(OBJSUFF) \
2662e49e 204 $(COMMDIR)/zstream.$(OBJSUFF)
a1b82138 205
a3015c54 206HTMLOBJS = \
8ec2b484
HH
207 $(HTMLDIR)/helpctrl.$(OBJSUFF) \
208 $(HTMLDIR)/helpdata.$(OBJSUFF) \
209 $(HTMLDIR)/helpfrm.$(OBJSUFF) \
210 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
69941f05
VS
211 $(HTMLDIR)/htmlfilt.$(OBJSUFF) \
212 $(HTMLDIR)/htmlpars.$(OBJSUFF) \
8a4df159
RR
213 $(HTMLDIR)/htmltag.$(OBJSUFF) \
214 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
3ce369e6 215 $(HTMLDIR)/htmprint.$(OBJSUFF) \
336e2d44 216 $(HTMLDIR)/m_dflist.$(OBJSUFF) \
69941f05
VS
217 $(HTMLDIR)/m_fonts.$(OBJSUFF) \
218 $(HTMLDIR)/m_hline.$(OBJSUFF) \
219 $(HTMLDIR)/m_image.$(OBJSUFF) \
220 $(HTMLDIR)/m_layout.$(OBJSUFF) \
221 $(HTMLDIR)/m_links.$(OBJSUFF) \
222 $(HTMLDIR)/m_list.$(OBJSUFF) \
fa146dd7 223 $(HTMLDIR)/m_meta.$(OBJSUFF) \
69941f05
VS
224 $(HTMLDIR)/m_pre.$(OBJSUFF) \
225 $(HTMLDIR)/m_tables.$(OBJSUFF) \
69941f05 226 $(HTMLDIR)/winpars.$(OBJSUFF)
a3015c54 227
c45a644e 228MSWOBJS = \
a3015c54
RR
229 $(MSWDIR)/accel.$(OBJSUFF) \
230 $(MSWDIR)/app.$(OBJSUFF) \
231 $(MSWDIR)/bitmap.$(OBJSUFF) \
232 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
233 $(MSWDIR)/brush.$(OBJSUFF) \
234 $(MSWDIR)/button.$(OBJSUFF) \
235 $(MSWDIR)/caret.$(OBJSUFF) \
236 $(MSWDIR)/checkbox.$(OBJSUFF) \
237 $(MSWDIR)/checklst.$(OBJSUFF) \
238 $(MSWDIR)/choice.$(OBJSUFF) \
239 $(MSWDIR)/clipbrd.$(OBJSUFF) \
240 $(MSWDIR)/colordlg.$(OBJSUFF) \
241 $(MSWDIR)/colour.$(OBJSUFF) \
242 $(MSWDIR)/combobox.$(OBJSUFF) \
243 $(MSWDIR)/control.$(OBJSUFF) \
244 $(MSWDIR)/curico.$(OBJSUFF) \
245 $(MSWDIR)/cursor.$(OBJSUFF) \
246 $(MSWDIR)/data.$(OBJSUFF) \
247 $(MSWDIR)/dc.$(OBJSUFF) \
248 $(MSWDIR)/dcclient.$(OBJSUFF) \
249 $(MSWDIR)/dcmemory.$(OBJSUFF) \
250 $(MSWDIR)/dcprint.$(OBJSUFF) \
251 $(MSWDIR)/dcscreen.$(OBJSUFF) \
252 $(MSWDIR)/dde.$(OBJSUFF) \
253 $(MSWDIR)/dialog.$(OBJSUFF) \
e694c22c 254 $(MSWDIR)/dialup.$(OBJSUFF) \
a3015c54
RR
255 $(MSWDIR)/dib.$(OBJSUFF) \
256 $(MSWDIR)/dibutils.$(OBJSUFF) \
e694c22c 257 $(MSWDIR)/dir.$(OBJSUFF) \
a3015c54 258 $(MSWDIR)/dragimag.$(OBJSUFF) \
d9317fd4 259 $(MSWDIR)/enhmeta.$(OBJSUFF) \
a3015c54
RR
260 $(MSWDIR)/filedlg.$(OBJSUFF) \
261 $(MSWDIR)/font.$(OBJSUFF) \
262 $(MSWDIR)/fontdlg.$(OBJSUFF) \
01dba85a
JS
263 $(MSWDIR)/fontenum.$(OBJSUFF) \
264 $(MSWDIR)/fontutil.$(OBJSUFF) \
a3015c54
RR
265 $(MSWDIR)/frame.$(OBJSUFF) \
266 $(MSWDIR)/gauge95.$(OBJSUFF) \
0d0512bd 267 $(MSWDIR)/gdiimage.$(OBJSUFF) \
a3015c54 268 $(MSWDIR)/gdiobj.$(OBJSUFF) \
8b089c5e 269 $(MSWDIR)/glcanvas.$(OBJSUFF) \
8ec2b484 270 $(MSWDIR)/gsocket.$(OBJSUFF) \
1c282a3a 271 $(MSWDIR)/gsockmsw.$(OBJSUFF) \
f6bcfd97 272 $(MSWDIR)/helpchm.$(OBJSUFF) \
a3015c54
RR
273 $(MSWDIR)/helpwin.$(OBJSUFF) \
274 $(MSWDIR)/icon.$(OBJSUFF) \
275 $(MSWDIR)/imaglist.$(OBJSUFF) \
276 $(MSWDIR)/joystick.$(OBJSUFF) \
277 $(MSWDIR)/listbox.$(OBJSUFF) \
278 $(MSWDIR)/listctrl.$(OBJSUFF) \
279 $(MSWDIR)/main.$(OBJSUFF) \
280 $(MSWDIR)/mdi.$(OBJSUFF) \
281 $(MSWDIR)/menu.$(OBJSUFF) \
282 $(MSWDIR)/menuitem.$(OBJSUFF) \
283 $(MSWDIR)/metafile.$(OBJSUFF) \
5d541a03 284 $(MSWDIR)/mimetype.$(OBJSUFF) \
a3015c54
RR
285 $(MSWDIR)/minifram.$(OBJSUFF) \
286 $(MSWDIR)/msgdlg.$(OBJSUFF) \
287 $(MSWDIR)/nativdlg.$(OBJSUFF) \
288 $(MSWDIR)/notebook.$(OBJSUFF) \
289 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
290 $(MSWDIR)/palette.$(OBJSUFF) \
291 $(MSWDIR)/pen.$(OBJSUFF) \
292 $(MSWDIR)/penwin.$(OBJSUFF) \
a3015c54
RR
293 $(MSWDIR)/printdlg.$(OBJSUFF) \
294 $(MSWDIR)/printwin.$(OBJSUFF) \
295 $(MSWDIR)/radiobox.$(OBJSUFF) \
296 $(MSWDIR)/radiobut.$(OBJSUFF) \
297 $(MSWDIR)/regconf.$(OBJSUFF) \
298 $(MSWDIR)/region.$(OBJSUFF) \
299 $(MSWDIR)/registry.$(OBJSUFF) \
300 $(MSWDIR)/scrolbar.$(OBJSUFF) \
301 $(MSWDIR)/settings.$(OBJSUFF) \
302 $(MSWDIR)/slider95.$(OBJSUFF) \
303 $(MSWDIR)/spinbutt.$(OBJSUFF) \
791a2102 304 $(MSWDIR)/spinctrl.$(OBJSUFF) \
a3015c54
RR
305 $(MSWDIR)/statbmp.$(OBJSUFF) \
306 $(MSWDIR)/statbox.$(OBJSUFF) \
307 $(MSWDIR)/statbr95.$(OBJSUFF) \
308 $(MSWDIR)/statline.$(OBJSUFF) \
309 $(MSWDIR)/stattext.$(OBJSUFF) \
310 $(MSWDIR)/tabctrl.$(OBJSUFF) \
311 $(MSWDIR)/taskbar.$(OBJSUFF) \
312 $(MSWDIR)/tbar95.$(OBJSUFF) \
313 $(MSWDIR)/textctrl.$(OBJSUFF) \
314 $(MSWDIR)/thread.$(OBJSUFF) \
315 $(MSWDIR)/timer.$(OBJSUFF) \
316 $(MSWDIR)/tooltip.$(OBJSUFF) \
317 $(MSWDIR)/treectrl.$(OBJSUFF) \
318 $(MSWDIR)/utils.$(OBJSUFF) \
319 $(MSWDIR)/utilsexc.$(OBJSUFF) \
320 $(MSWDIR)/wave.$(OBJSUFF) \
321 $(MSWDIR)/window.$(OBJSUFF) \
322 $(MSWDIR)/xpmhand.$(OBJSUFF)
2bda0e17 323
6c8a980f
VZ
324ADVANCEDOBJS = \
325 $(COMMDIR)/odbc.$(OBJSUFF) \
326 $(MSWDIR)/ole/automtn.$(OBJSUFF) \
327 $(MSWDIR)/ole/dataobj.$(OBJSUFF) \
328 $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \
329 $(MSWDIR)/ole/droptgt.$(OBJSUFF) \
330 $(MSWDIR)/ole/oleutils.$(OBJSUFF) \
331 $(MSWDIR)/ole/uuid.$(OBJSUFF)
332
c45a644e
RR
333ZLIBOBJS = \
334 $(ZLIBDIR)/adler32.$(OBJSUFF) \
335 $(ZLIBDIR)/compress.$(OBJSUFF) \
336 $(ZLIBDIR)/crc32.$(OBJSUFF) \
337 $(ZLIBDIR)/gzio.$(OBJSUFF) \
338 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
339 $(ZLIBDIR)/deflate.$(OBJSUFF) \
340 $(ZLIBDIR)/trees.$(OBJSUFF) \
341 $(ZLIBDIR)/zutil.$(OBJSUFF) \
342 $(ZLIBDIR)/inflate.$(OBJSUFF) \
343 $(ZLIBDIR)/infblock.$(OBJSUFF) \
344 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
345 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
346 $(ZLIBDIR)/infutil.$(OBJSUFF) \
347 $(ZLIBDIR)/inffast.$(OBJSUFF)
348
349PNGOBJS = \
350 $(PNGDIR)/png.$(OBJSUFF) \
351 $(PNGDIR)/pngread.$(OBJSUFF) \
352 $(PNGDIR)/pngrtran.$(OBJSUFF) \
353 $(PNGDIR)/pngrutil.$(OBJSUFF) \
354 $(PNGDIR)/pngpread.$(OBJSUFF) \
355 $(PNGDIR)/pngtrans.$(OBJSUFF) \
356 $(PNGDIR)/pngwrite.$(OBJSUFF) \
357 $(PNGDIR)/pngwtran.$(OBJSUFF) \
358 $(PNGDIR)/pngwutil.$(OBJSUFF) \
359 $(PNGDIR)/pngerror.$(OBJSUFF) \
360 $(PNGDIR)/pngmem.$(OBJSUFF) \
361 $(PNGDIR)/pngwio.$(OBJSUFF) \
362 $(PNGDIR)/pngrio.$(OBJSUFF) \
363 $(PNGDIR)/pngget.$(OBJSUFF) \
364 $(PNGDIR)/pngset.$(OBJSUFF)
365
366
367JPEGOBJS = \
368 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
369 $(JPEGDIR)/jutils.$(OBJSUFF) \
370 $(JPEGDIR)/jerror.$(OBJSUFF) \
371 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
372 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
373 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
374 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
375 $(JPEGDIR)/jctrans.$(OBJSUFF) \
376 $(JPEGDIR)/jcparam.$(OBJSUFF) \
377 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
378 $(JPEGDIR)/jcinit.$(OBJSUFF) \
379 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
380 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
381 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
382 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
383 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
384 $(JPEGDIR)/jccolor.$(OBJSUFF) \
385 $(JPEGDIR)/jcsample.$(OBJSUFF) \
386 $(JPEGDIR)/jchuff.$(OBJSUFF) \
387 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
388 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
389 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
390 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
391 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
392 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
393 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
394 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
395 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
396 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
397 $(JPEGDIR)/jdinput.$(OBJSUFF) \
398 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
399 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
400 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
401 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
402 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
403 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
404 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
405 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
406 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
407 $(JPEGDIR)/jidctint.$(OBJSUFF) \
408 $(JPEGDIR)/jidctred.$(OBJSUFF) \
409 $(JPEGDIR)/jdsample.$(OBJSUFF) \
410 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
411 $(JPEGDIR)/jquant1.$(OBJSUFF) \
412 $(JPEGDIR)/jquant2.$(OBJSUFF) \
413 $(JPEGDIR)/jdmerge.$(OBJSUFF)
414
f6bcfd97
BP
415# NOTE: these filenames are case sensitive!
416XPMOBJS = $(XPMDIR)/Attrib.o\
417 $(XPMDIR)/CrBufFrI.o\
418 $(XPMDIR)/CrDatFrI.o\
9b97ee33 419 $(XPMDIR)/create.o\
f6bcfd97
BP
420 $(XPMDIR)/CrIFrBuf.o\
421 $(XPMDIR)/CrIFrDat.o\
4fabb575 422 $(XPMDIR)/data.o\
f6bcfd97
BP
423 $(XPMDIR)/Image.o\
424 $(XPMDIR)/Info.o\
9b97ee33
GRG
425 $(XPMDIR)/hashtab.o\
426 $(XPMDIR)/misc.o\
427 $(XPMDIR)/parse.o\
f6bcfd97
BP
428 $(XPMDIR)/RdFToDat.o\
429 $(XPMDIR)/RdFToI.o\
9b97ee33
GRG
430 $(XPMDIR)/rgb.o\
431 $(XPMDIR)/scan.o\
432 $(XPMDIR)/simx.o\
f6bcfd97
BP
433 $(XPMDIR)/WrFFrDat.o\
434 $(XPMDIR)/WrFFrI.o
74e34480 435
8535af00
VZ
436TIFFOBJS = $(TIFFDIR)/tif_aux.o \
437 $(TIFFDIR)/tif_close.o \
438 $(TIFFDIR)/tif_codec.o \
439 $(TIFFDIR)/tif_compress.o \
440 $(TIFFDIR)/tif_dir.o \
441 $(TIFFDIR)/tif_dirinfo.o \
442 $(TIFFDIR)/tif_dirread.o \
443 $(TIFFDIR)/tif_dirwrite.o \
444 $(TIFFDIR)/tif_dumpmode.o \
445 $(TIFFDIR)/tif_error.o \
446 $(TIFFDIR)/tif_fax3.o \
447 $(TIFFDIR)/tif_fax3sm.o \
448 $(TIFFDIR)/tif_flush.o \
449 $(TIFFDIR)/tif_getimage.o \
450 $(TIFFDIR)/tif_jpeg.o \
451 $(TIFFDIR)/tif_luv.o \
452 $(TIFFDIR)/tif_lzw.o \
453 $(TIFFDIR)/tif_next.o \
454 $(TIFFDIR)/tif_open.o \
455 $(TIFFDIR)/tif_packbits.o \
456 $(TIFFDIR)/tif_pixarlog.o \
457 $(TIFFDIR)/tif_predict.o \
458 $(TIFFDIR)/tif_print.o \
459 $(TIFFDIR)/tif_read.o \
460 $(TIFFDIR)/tif_strip.o \
461 $(TIFFDIR)/tif_swab.o \
462 $(TIFFDIR)/tif_thunder.o \
463 $(TIFFDIR)/tif_tile.o \
464 $(TIFFDIR)/tif_version.o \
465 $(TIFFDIR)/tif_warning.o \
466 $(TIFFDIR)/tif_win32.o \
467 $(TIFFDIR)/tif_write.o \
468 $(TIFFDIR)/tif_zip.o
469
6c8a980f 470ifeq ($(MINGW32),1)
8535af00 471 ifneq "$(findstring 2.95, $(MINGW32VERSION))" ""
fd4fe42c 472 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS)
6c8a980f 473 else
fd4fe42c 474 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
6c8a980f
VZ
475 endif
476else
fd4fe42c 477 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
6c8a980f 478endif
2bda0e17 479
fa146dd7 480ifndef WXMAKINGDLL
8535af00 481all: $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(XPMLIB) $(TIFFLIB)
fa146dd7
VS
482else
483all: $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(XPMLIB) $(TIFFLIB) $(WXDLL)
484endif
8535af00
VZ
485
486ifndef WXMAKINGDLL
2bda0e17 487
2bda0e17
KB
488$(WXLIB): $(OBJECTS) $(EXTRAOBJS)
489 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
490 $(RANLIB) $@
491
8535af00
VZ
492else
493
494# The new linker is a few orders of magnitude faster than the old way
495# of creating DLLs.
496ifeq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
497
498$(WXDLL): $(OBJECTS) $(EXTRAOBJS)
499 $(CC) -shared -o $@ \
500 -Wl,--output-def,$(WXDEF) \
501 -Wl,--out-implib,$(WXLIB) \
502 $(OBJECTS) $(EXTRAOBJS) \
503 $(DLL_LDFLAGS) $(DLL_LDLIBS)
504else
505
506ifeq ($(MINGW32),1)
507 DLL_ENTRY = _DllMainCRTStartup@12
508else
509 DLL_ENTRY = __cygwin_dll_entry@12
510endif
511LD_STUFF = $(OBJECTS) $(EXTRAOBJS) -Wl,-e,$(DLL_ENTRY) \
512 $(DLL_LDFLAGS) $(DLL_LDLIBS) #-Wl,--image-base=0x66000000
513
514DLL_STUFF = --as=$(AS) --dllname $(notdir $(WXDLL)) \
515 --def $(WXDEF) \
516 --base-file wx.base --output-exp wx.exp
517
518$(WXDEF) $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
519 $(DLLTOOL) --output-def $@ --output-lib $(WXLIB) \
520 --dllname $(notdir $(WXDLL)) \
521 $(OBJECTS) $(EXTRAOBJS) $(DLL_EXTRA_LIBS)
522
523$(WXDLL): $(OBJECTS) $(EXTRAOBJS) $(WXDEF)
524 $(CC) -mdll -Wl,--base-file,wx.base -s -o $@ $(LD_STUFF)
525 $(DLLTOOL) $(DLL_STUFF)
526 $(CC) -mdll -Wl,--base-file,wx.base wx.exp -s -o $@ $(LD_STUFF)
527 $(DLLTOOL) $(DLL_STUFF)
528 $(CC) -mdll wx.exp -o $@ $(LD_STUFF)
529 -$(RM) wx.base
530 -$(RM) wx.exp
531
532endif
533
534endif
535
536
01dba85a 537$(ZLIBLIB): $(ZLIBOBJS)
fa146dd7 538 $(AR) $(AROPTIONS) $@ $(ZLIBOBJS)
01dba85a
JS
539 $(RANLIB) $@
540
541$(PNGLIB): $(PNGOBJS)
fa146dd7 542 $(AR) $(AROPTIONS) $@ $(PNGOBJS)
01dba85a
JS
543 $(RANLIB) $@
544
545$(JPEGLIB): $(JPEGOBJS)
fa146dd7 546 $(AR) $(AROPTIONS) $@ $(JPEGOBJS)
01dba85a
JS
547 $(RANLIB) $@
548
fd4fe42c 549$(XPMLIB): $(XPMOBJS)
fa146dd7 550 $(AR) $(AROPTIONS) $@ $(XPMOBJS)
fd4fe42c
VZ
551 $(RANLIB) $@
552
8535af00 553$(TIFFLIB): $(TIFFOBJS)
fa146dd7 554 $(AR) $(AROPTIONS) $@ $(TIFFOBJS)
8535af00
VZ
555 $(RANLIB) $@
556
557
2bda0e17
KB
558$(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
559
560$(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
6a570331
RR
561 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
562
8e97b17b 563$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
102f951d 564 $(COPY) ../common/dosyacc.c ../common/y_tab.c
8e97b17b 565
6a570331 566$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
102f951d 567 $(COPY) ../common/doslex.c ../common/lex_yy.c
2bda0e17
KB
568
569# Replace lex with flex if you run into compilation
570# problems with lex_yy.c. See also note about LEX_SCANNER
571# above.
6a570331
RR
572# $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
573# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
574#
8870c26e
JS
575# Try one of these if the above line doesn't work.
576# Alternative syntax (1)
577# $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
578# Alternative syntax (2)
579# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
6a570331 580#
2bda0e17
KB
581# sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
582# sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
583# sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
584# rm -f lex.yy.c
6a570331 585#
2bda0e17
KB
586# Replace yacc with bison if you run into compilation
587# problems with y_tab.c.
6a570331
RR
588#
589# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
590# $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
591#
57c208c5
JS
592# If you use e.g. gcc on Unix, uncomment these lines
593# and comment out the above.
6a570331 594#
a1b82138 595# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
57c208c5
JS
596# $(YACC) $(COMMDIR)/parser.y
597# mv y.tab.c $(COMMDIR)/y_tab.c
2bda0e17 598
2bda0e17 599clean:
6474416b 600 -$(RM) *.o
01dba85a 601 -$(RM) ole/*.o
6474416b
JS
602 -$(RM) *.bak
603 -$(RM) core
01dba85a
JS
604 -$(RM) ../common/y_tab.c
605 -$(RM) ../common/lex_yy.c
606 -$(RM) ../common/*.o
607 -$(RM) ../common/*.bak
608 -$(RM) ../generic/*.o
609 -$(RM) ../generic/*.bak
610 -$(RM) ../html/*.o
01dba85a
JS
611 -$(RM) ../zlib/*.o
612 -$(RM) ../zlib/*.bak
8535af00
VZ
613 -$(RM) ../png/*.o
614 -$(RM) ../png/*.bak
01dba85a 615 -$(RM) ../jpeg/*.o
fd4fe42c
VZ
616 -$(RM) ../jpeg/*.bak
617 -$(RM) ../xpm/*.o
618 -$(RM) ../xpm/*.bak
8535af00
VZ
619 -$(RM) ../tiff/*.o
620 -$(RM) ../tiff/*.bak
621 -$(RM) $(WXLIB)
fa146dd7
VS
622 -$(RM) $(ZLIBLIB)
623 -$(RM) $(PNGLIB)
624 -$(RM) $(JPEGLIB)
625 -$(RM) $(XPMLIB)
626 -$(RM) $(TIFFLIB)
8535af00
VZ
627
628ifdef WXMAKINGDLL
629 -$(RM) $(WXDLL)
630 -$(RM) $(WXDEF)
631ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
632 -$(RM) wx.base
633 -$(RM) wx.exp
634endif
635endif
636
2bda0e17
KB
637
638cleanall: clean
8535af00
VZ
639
640