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!
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)/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)
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)
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)
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)
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)
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)
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)
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)
398 XPMOBJS = $(XPMDIR)/crbuffri.o\
399 $(XPMDIR)/crdatfri.o\
400 $(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\
401 $(XPMDIR)/crifrdat.o\
403 $(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\
404 $(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\
406 $(XPMDIR)/rgb.o $(XPMDIR)/scan.o\
407 $(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\
408 $(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o
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 \
445 ifneq "$(findstring 2.95, $(MINGW32VERSION))" ""
446 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS)
448 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
451 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
455 all: $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(XPMLIB) $(TIFFLIB)
457 all: $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(XPMLIB) $(TIFFLIB) $(WXDLL)
462 $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
463 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
468 # The new linker is a few orders of magnitude faster than the old way
470 ifeq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
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)
481 DLL_ENTRY = _DllMainCRTStartup@12
483 DLL_ENTRY = __cygwin_dll_entry@12
485 LD_STUFF = $(OBJECTS) $(EXTRAOBJS) -Wl,-e,$(DLL_ENTRY) \
486 $(DLL_LDFLAGS) $(DLL_LDLIBS) #-Wl,--image-base=0x66000000
488 DLL_STUFF = --as=$(AS) --dllname $(notdir $(WXDLL)) \
490 --base-file wx.base --output-exp wx.exp
492 $(WXDEF) $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
493 $(DLLTOOL) --output-def $@ --output-lib $(WXLIB) \
494 --dllname $(notdir $(WXDLL)) \
495 $(OBJECTS) $(EXTRAOBJS) $(DLL_EXTRA_LIBS)
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)
511 $(ZLIBLIB): $(ZLIBOBJS)
512 $(AR) $(AROPTIONS) $@ $(ZLIBOBJS)
515 $(PNGLIB): $(PNGOBJS)
516 $(AR) $(AROPTIONS) $@ $(PNGOBJS)
519 $(JPEGLIB): $(JPEGOBJS)
520 $(AR) $(AROPTIONS) $@ $(JPEGOBJS)
523 $(XPMLIB): $(XPMOBJS)
524 $(AR) $(AROPTIONS) $@ $(XPMOBJS)
527 $(TIFFLIB): $(TIFFOBJS)
528 $(AR) $(AROPTIONS) $@ $(TIFFOBJS)
532 $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
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
537 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
538 $(COPY) ../common/dosyacc.c ../common/y_tab.c
540 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
541 $(COPY) ../common/doslex.c ../common/lex_yy.c
543 # Replace lex with flex if you run into compilation
544 # problems with lex_yy.c. See also note about LEX_SCANNER
546 # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
547 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
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
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
560 # Replace yacc with bison if you run into compilation
561 # problems with y_tab.c.
563 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
564 # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
566 # If you use e.g. gcc on Unix, uncomment these lines
567 # and comment out the above.
569 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
570 # $(YACC) $(COMMDIR)/parser.y
571 # mv y.tab.c $(COMMDIR)/y_tab.c
578 -$(RM) ../common/y_tab.c
579 -$(RM) ../common/lex_yy.c
581 -$(RM) ../common/*.bak
582 -$(RM) ../generic/*.o
583 -$(RM) ../generic/*.bak
605 ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes"