1 # This file was automatically generated by tmake at 21:14, 2000/01/16
2 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T!
6 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
9 # Copyright:(c) 1993, AIAI, University of Edinburgh,
10 # Copyright:(c) 1999, Vadim Zeitlin
11 # Copyright:(c) 1999, Robert Roebling
13 # Makefile for libwx.a
15 # Replace this with your own path if necessary
18 # All common compiler flags and options are now in
19 # this central makefile.
20 include $(WXDIR)/src/makeg95.env
22 # DLL Name, if building wxWindows as a DLL.
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) \
36 # Subordinate library possibilities
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
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
57 DOCDIR = $(WXDIR)/docs
59 # Only use the WIN32 wxDirDialog if we have a recent
62 ifneq "$(findstring 2.95, $(MINGW32VERSION))" ""
63 DIRDLGOBJ = $(MSWDIR)/dirdlg.$(OBJSUFF)
65 DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF)
68 DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF)
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)/progdlgg.$(OBJSUFF) \
81 $(GENDIR)/prop.$(OBJSUFF) \
82 $(GENDIR)/propform.$(OBJSUFF) \
83 $(GENDIR)/proplist.$(OBJSUFF) \
84 $(GENDIR)/sashwin.$(OBJSUFF) \
85 $(GENDIR)/scrolwin.$(OBJSUFF) \
86 $(GENDIR)/splitter.$(OBJSUFF) \
87 $(GENDIR)/statusbr.$(OBJSUFF) \
88 $(GENDIR)/tbarsmpl.$(OBJSUFF) \
89 $(GENDIR)/textdlgg.$(OBJSUFF) \
90 $(GENDIR)/tipdlg.$(OBJSUFF) \
91 $(GENDIR)/wizard.$(OBJSUFF)
94 $(COMMDIR)/y_tab.$(OBJSUFF) \
95 $(COMMDIR)/appcmn.$(OBJSUFF) \
96 $(COMMDIR)/choiccmn.$(OBJSUFF) \
97 $(COMMDIR)/clipcmn.$(OBJSUFF) \
98 $(COMMDIR)/cmdline.$(OBJSUFF) \
99 $(COMMDIR)/cmndata.$(OBJSUFF) \
100 $(COMMDIR)/config.$(OBJSUFF) \
101 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
102 $(COMMDIR)/ctrlsub.$(OBJSUFF) \
103 $(COMMDIR)/datetime.$(OBJSUFF) \
104 $(COMMDIR)/datstrm.$(OBJSUFF) \
105 $(COMMDIR)/db.$(OBJSUFF) \
106 $(COMMDIR)/dbtable.$(OBJSUFF) \
107 $(COMMDIR)/dcbase.$(OBJSUFF) \
108 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
109 $(COMMDIR)/dobjcmn.$(OBJSUFF) \
110 $(COMMDIR)/docmdi.$(OBJSUFF) \
111 $(COMMDIR)/docview.$(OBJSUFF) \
112 $(COMMDIR)/dynarray.$(OBJSUFF) \
113 $(COMMDIR)/dynlib.$(OBJSUFF) \
114 $(COMMDIR)/encconv.$(OBJSUFF) \
115 $(COMMDIR)/event.$(OBJSUFF) \
116 $(COMMDIR)/extended.$(OBJSUFF) \
117 $(COMMDIR)/ffile.$(OBJSUFF) \
118 $(COMMDIR)/file.$(OBJSUFF) \
119 $(COMMDIR)/fileconf.$(OBJSUFF) \
120 $(COMMDIR)/filefn.$(OBJSUFF) \
121 $(COMMDIR)/filesys.$(OBJSUFF) \
122 $(COMMDIR)/fontcmn.$(OBJSUFF) \
123 $(COMMDIR)/fontmap.$(OBJSUFF) \
124 $(COMMDIR)/framecmn.$(OBJSUFF) \
125 $(COMMDIR)/fs_inet.$(OBJSUFF) \
126 $(COMMDIR)/fs_zip.$(OBJSUFF) \
127 $(COMMDIR)/ftp.$(OBJSUFF) \
128 $(COMMDIR)/gdicmn.$(OBJSUFF) \
129 $(COMMDIR)/gifdecod.$(OBJSUFF) \
130 $(COMMDIR)/hash.$(OBJSUFF) \
131 $(COMMDIR)/helpbase.$(OBJSUFF) \
132 $(COMMDIR)/http.$(OBJSUFF) \
133 $(COMMDIR)/imagall.$(OBJSUFF) \
134 $(COMMDIR)/imagbmp.$(OBJSUFF) \
135 $(COMMDIR)/image.$(OBJSUFF) \
136 $(COMMDIR)/imaggif.$(OBJSUFF) \
137 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
138 $(COMMDIR)/imagpcx.$(OBJSUFF) \
139 $(COMMDIR)/imagpng.$(OBJSUFF) \
140 $(COMMDIR)/imagpnm.$(OBJSUFF) \
141 $(COMMDIR)/imagtiff.$(OBJSUFF) \
142 $(COMMDIR)/intl.$(OBJSUFF) \
143 $(COMMDIR)/ipcbase.$(OBJSUFF) \
144 $(COMMDIR)/layout.$(OBJSUFF) \
145 $(COMMDIR)/lboxcmn.$(OBJSUFF) \
146 $(COMMDIR)/list.$(OBJSUFF) \
147 $(COMMDIR)/log.$(OBJSUFF) \
148 $(COMMDIR)/longlong.$(OBJSUFF) \
149 $(COMMDIR)/memory.$(OBJSUFF) \
150 $(COMMDIR)/menucmn.$(OBJSUFF) \
151 $(COMMDIR)/mimetype.$(OBJSUFF) \
152 $(COMMDIR)/module.$(OBJSUFF) \
153 $(COMMDIR)/mstream.$(OBJSUFF) \
154 $(COMMDIR)/object.$(OBJSUFF) \
155 $(COMMDIR)/objstrm.$(OBJSUFF) \
156 $(COMMDIR)/paper.$(OBJSUFF) \
157 $(COMMDIR)/prntbase.$(OBJSUFF) \
158 $(COMMDIR)/process.$(OBJSUFF) \
159 $(COMMDIR)/protocol.$(OBJSUFF) \
160 $(COMMDIR)/resource.$(OBJSUFF) \
161 $(COMMDIR)/sckaddr.$(OBJSUFF) \
162 $(COMMDIR)/sckfile.$(OBJSUFF) \
163 $(COMMDIR)/sckipc.$(OBJSUFF) \
164 $(COMMDIR)/sckstrm.$(OBJSUFF) \
165 $(COMMDIR)/serbase.$(OBJSUFF) \
166 $(COMMDIR)/sizer.$(OBJSUFF) \
167 $(COMMDIR)/socket.$(OBJSUFF) \
168 $(COMMDIR)/strconv.$(OBJSUFF) \
169 $(COMMDIR)/stream.$(OBJSUFF) \
170 $(COMMDIR)/string.$(OBJSUFF) \
171 $(COMMDIR)/tbarbase.$(OBJSUFF) \
172 $(COMMDIR)/textcmn.$(OBJSUFF) \
173 $(COMMDIR)/textfile.$(OBJSUFF) \
174 $(COMMDIR)/timercmn.$(OBJSUFF) \
175 $(COMMDIR)/tokenzr.$(OBJSUFF) \
176 $(COMMDIR)/txtstrm.$(OBJSUFF) \
177 $(COMMDIR)/unzip.$(OBJSUFF) \
178 $(COMMDIR)/url.$(OBJSUFF) \
179 $(COMMDIR)/utilscmn.$(OBJSUFF) \
180 $(COMMDIR)/valgen.$(OBJSUFF) \
181 $(COMMDIR)/validate.$(OBJSUFF) \
182 $(COMMDIR)/valtext.$(OBJSUFF) \
183 $(COMMDIR)/variant.$(OBJSUFF) \
184 $(COMMDIR)/wfstream.$(OBJSUFF) \
185 $(COMMDIR)/wincmn.$(OBJSUFF) \
186 $(COMMDIR)/wxchar.$(OBJSUFF) \
187 $(COMMDIR)/wxexpr.$(OBJSUFF) \
188 $(COMMDIR)/zipstrm.$(OBJSUFF) \
189 $(COMMDIR)/zstream.$(OBJSUFF)
192 $(HTMLDIR)/helpctrl.$(OBJSUFF) \
193 $(HTMLDIR)/helpdata.$(OBJSUFF) \
194 $(HTMLDIR)/helpfrm.$(OBJSUFF) \
195 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
196 $(HTMLDIR)/htmlfilt.$(OBJSUFF) \
197 $(HTMLDIR)/htmlpars.$(OBJSUFF) \
198 $(HTMLDIR)/htmltag.$(OBJSUFF) \
199 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
200 $(HTMLDIR)/htmprint.$(OBJSUFF) \
201 $(HTMLDIR)/m_dflist.$(OBJSUFF) \
202 $(HTMLDIR)/m_fonts.$(OBJSUFF) \
203 $(HTMLDIR)/m_hline.$(OBJSUFF) \
204 $(HTMLDIR)/m_image.$(OBJSUFF) \
205 $(HTMLDIR)/m_layout.$(OBJSUFF) \
206 $(HTMLDIR)/m_links.$(OBJSUFF) \
207 $(HTMLDIR)/m_list.$(OBJSUFF) \
208 $(HTMLDIR)/m_meta.$(OBJSUFF) \
209 $(HTMLDIR)/m_pre.$(OBJSUFF) \
210 $(HTMLDIR)/m_tables.$(OBJSUFF) \
211 $(HTMLDIR)/winpars.$(OBJSUFF)
214 $(MSWDIR)/accel.$(OBJSUFF) \
215 $(MSWDIR)/app.$(OBJSUFF) \
216 $(MSWDIR)/bitmap.$(OBJSUFF) \
217 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
218 $(MSWDIR)/brush.$(OBJSUFF) \
219 $(MSWDIR)/button.$(OBJSUFF) \
220 $(MSWDIR)/caret.$(OBJSUFF) \
221 $(MSWDIR)/checkbox.$(OBJSUFF) \
222 $(MSWDIR)/checklst.$(OBJSUFF) \
223 $(MSWDIR)/choice.$(OBJSUFF) \
224 $(MSWDIR)/clipbrd.$(OBJSUFF) \
225 $(MSWDIR)/colordlg.$(OBJSUFF) \
226 $(MSWDIR)/colour.$(OBJSUFF) \
227 $(MSWDIR)/combobox.$(OBJSUFF) \
228 $(MSWDIR)/control.$(OBJSUFF) \
229 $(MSWDIR)/curico.$(OBJSUFF) \
230 $(MSWDIR)/cursor.$(OBJSUFF) \
231 $(MSWDIR)/data.$(OBJSUFF) \
232 $(MSWDIR)/dc.$(OBJSUFF) \
233 $(MSWDIR)/dcclient.$(OBJSUFF) \
234 $(MSWDIR)/dcmemory.$(OBJSUFF) \
235 $(MSWDIR)/dcprint.$(OBJSUFF) \
236 $(MSWDIR)/dcscreen.$(OBJSUFF) \
237 $(MSWDIR)/dde.$(OBJSUFF) \
238 $(MSWDIR)/dialog.$(OBJSUFF) \
239 $(MSWDIR)/dialup.$(OBJSUFF) \
240 $(MSWDIR)/dib.$(OBJSUFF) \
241 $(MSWDIR)/dibutils.$(OBJSUFF) \
242 $(MSWDIR)/dir.$(OBJSUFF) \
243 $(MSWDIR)/dragimag.$(OBJSUFF) \
244 $(MSWDIR)/enhmeta.$(OBJSUFF) \
245 $(MSWDIR)/filedlg.$(OBJSUFF) \
246 $(MSWDIR)/font.$(OBJSUFF) \
247 $(MSWDIR)/fontdlg.$(OBJSUFF) \
248 $(MSWDIR)/fontenum.$(OBJSUFF) \
249 $(MSWDIR)/fontutil.$(OBJSUFF) \
250 $(MSWDIR)/frame.$(OBJSUFF) \
251 $(MSWDIR)/gauge95.$(OBJSUFF) \
252 $(MSWDIR)/gdiimage.$(OBJSUFF) \
253 $(MSWDIR)/gdiobj.$(OBJSUFF) \
254 $(MSWDIR)/gsocket.$(OBJSUFF) \
255 $(MSWDIR)/helpwin.$(OBJSUFF) \
256 $(MSWDIR)/icon.$(OBJSUFF) \
257 $(MSWDIR)/imaglist.$(OBJSUFF) \
258 $(MSWDIR)/joystick.$(OBJSUFF) \
259 $(MSWDIR)/listbox.$(OBJSUFF) \
260 $(MSWDIR)/listctrl.$(OBJSUFF) \
261 $(MSWDIR)/main.$(OBJSUFF) \
262 $(MSWDIR)/mdi.$(OBJSUFF) \
263 $(MSWDIR)/menu.$(OBJSUFF) \
264 $(MSWDIR)/menuitem.$(OBJSUFF) \
265 $(MSWDIR)/metafile.$(OBJSUFF) \
266 $(MSWDIR)/minifram.$(OBJSUFF) \
267 $(MSWDIR)/msgdlg.$(OBJSUFF) \
268 $(MSWDIR)/nativdlg.$(OBJSUFF) \
269 $(MSWDIR)/notebook.$(OBJSUFF) \
270 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
271 $(MSWDIR)/palette.$(OBJSUFF) \
272 $(MSWDIR)/pen.$(OBJSUFF) \
273 $(MSWDIR)/penwin.$(OBJSUFF) \
274 $(MSWDIR)/printdlg.$(OBJSUFF) \
275 $(MSWDIR)/printwin.$(OBJSUFF) \
276 $(MSWDIR)/radiobox.$(OBJSUFF) \
277 $(MSWDIR)/radiobut.$(OBJSUFF) \
278 $(MSWDIR)/regconf.$(OBJSUFF) \
279 $(MSWDIR)/region.$(OBJSUFF) \
280 $(MSWDIR)/registry.$(OBJSUFF) \
281 $(MSWDIR)/scrolbar.$(OBJSUFF) \
282 $(MSWDIR)/settings.$(OBJSUFF) \
283 $(MSWDIR)/slider95.$(OBJSUFF) \
284 $(MSWDIR)/spinbutt.$(OBJSUFF) \
285 $(MSWDIR)/spinctrl.$(OBJSUFF) \
286 $(MSWDIR)/statbmp.$(OBJSUFF) \
287 $(MSWDIR)/statbox.$(OBJSUFF) \
288 $(MSWDIR)/statbr95.$(OBJSUFF) \
289 $(MSWDIR)/statline.$(OBJSUFF) \
290 $(MSWDIR)/stattext.$(OBJSUFF) \
291 $(MSWDIR)/tabctrl.$(OBJSUFF) \
292 $(MSWDIR)/taskbar.$(OBJSUFF) \
293 $(MSWDIR)/tbar95.$(OBJSUFF) \
294 $(MSWDIR)/textctrl.$(OBJSUFF) \
295 $(MSWDIR)/thread.$(OBJSUFF) \
296 $(MSWDIR)/timer.$(OBJSUFF) \
297 $(MSWDIR)/tooltip.$(OBJSUFF) \
298 $(MSWDIR)/treectrl.$(OBJSUFF) \
299 $(MSWDIR)/utils.$(OBJSUFF) \
300 $(MSWDIR)/utilsexc.$(OBJSUFF) \
301 $(MSWDIR)/wave.$(OBJSUFF) \
302 $(MSWDIR)/window.$(OBJSUFF) \
303 $(MSWDIR)/xpmhand.$(OBJSUFF)
306 $(COMMDIR)/odbc.$(OBJSUFF) \
307 $(MSWDIR)/ole/automtn.$(OBJSUFF) \
308 $(MSWDIR)/ole/dataobj.$(OBJSUFF) \
309 $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \
310 $(MSWDIR)/ole/droptgt.$(OBJSUFF) \
311 $(MSWDIR)/ole/oleutils.$(OBJSUFF) \
312 $(MSWDIR)/ole/uuid.$(OBJSUFF)
315 $(ZLIBDIR)/adler32.$(OBJSUFF) \
316 $(ZLIBDIR)/compress.$(OBJSUFF) \
317 $(ZLIBDIR)/crc32.$(OBJSUFF) \
318 $(ZLIBDIR)/gzio.$(OBJSUFF) \
319 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
320 $(ZLIBDIR)/deflate.$(OBJSUFF) \
321 $(ZLIBDIR)/trees.$(OBJSUFF) \
322 $(ZLIBDIR)/zutil.$(OBJSUFF) \
323 $(ZLIBDIR)/inflate.$(OBJSUFF) \
324 $(ZLIBDIR)/infblock.$(OBJSUFF) \
325 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
326 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
327 $(ZLIBDIR)/infutil.$(OBJSUFF) \
328 $(ZLIBDIR)/inffast.$(OBJSUFF)
331 $(PNGDIR)/png.$(OBJSUFF) \
332 $(PNGDIR)/pngread.$(OBJSUFF) \
333 $(PNGDIR)/pngrtran.$(OBJSUFF) \
334 $(PNGDIR)/pngrutil.$(OBJSUFF) \
335 $(PNGDIR)/pngpread.$(OBJSUFF) \
336 $(PNGDIR)/pngtrans.$(OBJSUFF) \
337 $(PNGDIR)/pngwrite.$(OBJSUFF) \
338 $(PNGDIR)/pngwtran.$(OBJSUFF) \
339 $(PNGDIR)/pngwutil.$(OBJSUFF) \
340 $(PNGDIR)/pngerror.$(OBJSUFF) \
341 $(PNGDIR)/pngmem.$(OBJSUFF) \
342 $(PNGDIR)/pngwio.$(OBJSUFF) \
343 $(PNGDIR)/pngrio.$(OBJSUFF) \
344 $(PNGDIR)/pngget.$(OBJSUFF) \
345 $(PNGDIR)/pngset.$(OBJSUFF)
349 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
350 $(JPEGDIR)/jutils.$(OBJSUFF) \
351 $(JPEGDIR)/jerror.$(OBJSUFF) \
352 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
353 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
354 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
355 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
356 $(JPEGDIR)/jctrans.$(OBJSUFF) \
357 $(JPEGDIR)/jcparam.$(OBJSUFF) \
358 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
359 $(JPEGDIR)/jcinit.$(OBJSUFF) \
360 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
361 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
362 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
363 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
364 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
365 $(JPEGDIR)/jccolor.$(OBJSUFF) \
366 $(JPEGDIR)/jcsample.$(OBJSUFF) \
367 $(JPEGDIR)/jchuff.$(OBJSUFF) \
368 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
369 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
370 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
371 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
372 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
373 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
374 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
375 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
376 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
377 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
378 $(JPEGDIR)/jdinput.$(OBJSUFF) \
379 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
380 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
381 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
382 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
383 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
384 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
385 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
386 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
387 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
388 $(JPEGDIR)/jidctint.$(OBJSUFF) \
389 $(JPEGDIR)/jidctred.$(OBJSUFF) \
390 $(JPEGDIR)/jdsample.$(OBJSUFF) \
391 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
392 $(JPEGDIR)/jquant1.$(OBJSUFF) \
393 $(JPEGDIR)/jquant2.$(OBJSUFF) \
394 $(JPEGDIR)/jdmerge.$(OBJSUFF)
396 XPMOBJS = $(XPMDIR)/crbuffri.o\
397 $(XPMDIR)/crdatfri.o\
398 $(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\
399 $(XPMDIR)/crifrdat.o\
401 $(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\
402 $(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\
404 $(XPMDIR)/rgb.o $(XPMDIR)/scan.o\
405 $(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\
406 $(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o
408 TIFFOBJS = $(TIFFDIR)/tif_aux.o \
409 $(TIFFDIR)/tif_close.o \
410 $(TIFFDIR)/tif_codec.o \
411 $(TIFFDIR)/tif_compress.o \
412 $(TIFFDIR)/tif_dir.o \
413 $(TIFFDIR)/tif_dirinfo.o \
414 $(TIFFDIR)/tif_dirread.o \
415 $(TIFFDIR)/tif_dirwrite.o \
416 $(TIFFDIR)/tif_dumpmode.o \
417 $(TIFFDIR)/tif_error.o \
418 $(TIFFDIR)/tif_fax3.o \
419 $(TIFFDIR)/tif_fax3sm.o \
420 $(TIFFDIR)/tif_flush.o \
421 $(TIFFDIR)/tif_getimage.o \
422 $(TIFFDIR)/tif_jpeg.o \
423 $(TIFFDIR)/tif_luv.o \
424 $(TIFFDIR)/tif_lzw.o \
425 $(TIFFDIR)/tif_next.o \
426 $(TIFFDIR)/tif_open.o \
427 $(TIFFDIR)/tif_packbits.o \
428 $(TIFFDIR)/tif_pixarlog.o \
429 $(TIFFDIR)/tif_predict.o \
430 $(TIFFDIR)/tif_print.o \
431 $(TIFFDIR)/tif_read.o \
432 $(TIFFDIR)/tif_strip.o \
433 $(TIFFDIR)/tif_swab.o \
434 $(TIFFDIR)/tif_thunder.o \
435 $(TIFFDIR)/tif_tile.o \
436 $(TIFFDIR)/tif_version.o \
437 $(TIFFDIR)/tif_warning.o \
438 $(TIFFDIR)/tif_win32.o \
439 $(TIFFDIR)/tif_write.o \
443 ifneq "$(findstring 2.95, $(MINGW32VERSION))" ""
444 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS)
446 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
449 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
453 all: $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(XPMLIB) $(TIFFLIB)
455 all: $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(XPMLIB) $(TIFFLIB) $(WXDLL)
460 $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
461 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
466 # The new linker is a few orders of magnitude faster than the old way
468 ifeq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
470 $(WXDLL): $(OBJECTS) $(EXTRAOBJS)
471 $(CC) -shared -o $@ \
472 -Wl,--output-def,$(WXDEF) \
473 -Wl,--out-implib,$(WXLIB) \
474 $(OBJECTS) $(EXTRAOBJS) \
475 $(DLL_LDFLAGS) $(DLL_LDLIBS)
479 DLL_ENTRY = _DllMainCRTStartup@12
481 DLL_ENTRY = __cygwin_dll_entry@12
483 LD_STUFF = $(OBJECTS) $(EXTRAOBJS) -Wl,-e,$(DLL_ENTRY) \
484 $(DLL_LDFLAGS) $(DLL_LDLIBS) #-Wl,--image-base=0x66000000
486 DLL_STUFF = --as=$(AS) --dllname $(notdir $(WXDLL)) \
488 --base-file wx.base --output-exp wx.exp
490 $(WXDEF) $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
491 $(DLLTOOL) --output-def $@ --output-lib $(WXLIB) \
492 --dllname $(notdir $(WXDLL)) \
493 $(OBJECTS) $(EXTRAOBJS) $(DLL_EXTRA_LIBS)
495 $(WXDLL): $(OBJECTS) $(EXTRAOBJS) $(WXDEF)
496 $(CC) -mdll -Wl,--base-file,wx.base -s -o $@ $(LD_STUFF)
497 $(DLLTOOL) $(DLL_STUFF)
498 $(CC) -mdll -Wl,--base-file,wx.base wx.exp -s -o $@ $(LD_STUFF)
499 $(DLLTOOL) $(DLL_STUFF)
500 $(CC) -mdll wx.exp -o $@ $(LD_STUFF)
509 $(ZLIBLIB): $(ZLIBOBJS)
510 $(AR) $(AROPTIONS) $@ $(ZLIBOBJS)
513 $(PNGLIB): $(PNGOBJS)
514 $(AR) $(AROPTIONS) $@ $(PNGOBJS)
517 $(JPEGLIB): $(JPEGOBJS)
518 $(AR) $(AROPTIONS) $@ $(JPEGOBJS)
521 $(XPMLIB): $(XPMOBJS)
522 $(AR) $(AROPTIONS) $@ $(XPMOBJS)
525 $(TIFFLIB): $(TIFFOBJS)
526 $(AR) $(AROPTIONS) $@ $(TIFFOBJS)
530 $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
532 $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
533 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
535 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
536 $(COPY) ../common/dosyacc.c ../common/y_tab.c
538 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
539 $(COPY) ../common/doslex.c ../common/lex_yy.c
541 # Replace lex with flex if you run into compilation
542 # problems with lex_yy.c. See also note about LEX_SCANNER
544 # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
545 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
547 # Try one of these if the above line doesn't work.
548 # Alternative syntax (1)
549 # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
550 # Alternative syntax (2)
551 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
553 # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
554 # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
555 # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
558 # Replace yacc with bison if you run into compilation
559 # problems with y_tab.c.
561 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
562 # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
564 # If you use e.g. gcc on Unix, uncomment these lines
565 # and comment out the above.
567 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
568 # $(YACC) $(COMMDIR)/parser.y
569 # mv y.tab.c $(COMMDIR)/y_tab.c
576 -$(RM) ../common/y_tab.c
577 -$(RM) ../common/lex_yy.c
579 -$(RM) ../common/*.bak
580 -$(RM) ../generic/*.o
581 -$(RM) ../generic/*.bak
603 ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes"