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