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