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