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