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