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