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