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