1 # This file was automatically generated by tmake at 10:56, 2001/11/03
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/wxmsw$(WXVERSION)$(UNIEXT).dll
25 WXDEF = wxmsw$(WXVERSION)$(UNIEXT).def
26 DLL_EXTRA_LIBS = $(WXDIR)/lib/libzlib.a \
27 $(WXDIR)/lib/libpng.a $(WXDIR)/lib/libjpeg.a \
28 $(WXDIR)/lib/libtiff.a $(WXDIR)/lib/libregex.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) \
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 TIFFDIR = $(WXDIR)/src/tiff
47 OLEDIR = $(WXDIR)/src/msw/ole
48 MSWDIR = $(WXDIR)/src/msw
49 REGEXDIR= $(WXDIR)/src/regex
51 ZLIBLIB = $(WXDIR)/lib/libzlib.a
52 PNGLIB = $(WXDIR)/lib/libpng.a
53 JPEGLIB = $(WXDIR)/lib/libjpeg.a
54 TIFFLIB = $(WXDIR)/lib/libtiff.a
55 REGEXLIB= $(WXDIR)/lib/libregex.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)/dcpsg.$(OBJSUFF) \
76 $(GENDIR)/dirctrlg.$(OBJSUFF) \
77 $(GENDIR)/dragimgg.$(OBJSUFF) \
78 $(GENDIR)/grid.$(OBJSUFF) \
79 $(GENDIR)/gridctrl.$(OBJSUFF) \
80 $(GENDIR)/gridsel.$(OBJSUFF) \
81 $(GENDIR)/laywin.$(OBJSUFF) \
82 $(GENDIR)/logg.$(OBJSUFF) \
83 $(GENDIR)/numdlgg.$(OBJSUFF) \
84 $(GENDIR)/panelg.$(OBJSUFF) \
85 $(GENDIR)/progdlgg.$(OBJSUFF) \
86 $(GENDIR)/prop.$(OBJSUFF) \
87 $(GENDIR)/propform.$(OBJSUFF) \
88 $(GENDIR)/proplist.$(OBJSUFF) \
89 $(GENDIR)/sashwin.$(OBJSUFF) \
90 $(GENDIR)/scrlwing.$(OBJSUFF) \
91 $(GENDIR)/spinctlg.$(OBJSUFF) \
92 $(GENDIR)/splash.$(OBJSUFF) \
93 $(GENDIR)/splitter.$(OBJSUFF) \
94 $(GENDIR)/statusbr.$(OBJSUFF) \
95 $(GENDIR)/tbarsmpl.$(OBJSUFF) \
96 $(GENDIR)/textdlgg.$(OBJSUFF) \
97 $(GENDIR)/tipdlg.$(OBJSUFF) \
98 $(GENDIR)/tipwin.$(OBJSUFF) \
99 $(GENDIR)/treectlg.$(OBJSUFF) \
100 $(GENDIR)/treelay.$(OBJSUFF) \
101 $(GENDIR)/wizard.$(OBJSUFF)
104 $(COMMDIR)/y_tab.$(OBJSUFF) \
105 $(COMMDIR)/appcmn.$(OBJSUFF) \
106 $(COMMDIR)/choiccmn.$(OBJSUFF) \
107 $(COMMDIR)/clipcmn.$(OBJSUFF) \
108 $(COMMDIR)/clntdata.$(OBJSUFF) \
109 $(COMMDIR)/cmdline.$(OBJSUFF) \
110 $(COMMDIR)/cmdproc.$(OBJSUFF) \
111 $(COMMDIR)/cmndata.$(OBJSUFF) \
112 $(COMMDIR)/config.$(OBJSUFF) \
113 $(COMMDIR)/containr.$(OBJSUFF) \
114 $(COMMDIR)/cshelp.$(OBJSUFF) \
115 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
116 $(COMMDIR)/ctrlsub.$(OBJSUFF) \
117 $(COMMDIR)/datetime.$(OBJSUFF) \
118 $(COMMDIR)/datstrm.$(OBJSUFF) \
119 $(COMMDIR)/db.$(OBJSUFF) \
120 $(COMMDIR)/dbgrid.$(OBJSUFF) \
121 $(COMMDIR)/dbtable.$(OBJSUFF) \
122 $(COMMDIR)/dcbase.$(OBJSUFF) \
123 $(COMMDIR)/dircmn.$(OBJSUFF) \
124 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
125 $(COMMDIR)/dndcmn.$(OBJSUFF) \
126 $(COMMDIR)/dobjcmn.$(OBJSUFF) \
127 $(COMMDIR)/docmdi.$(OBJSUFF) \
128 $(COMMDIR)/docview.$(OBJSUFF) \
129 $(COMMDIR)/dseldlg.$(OBJSUFF) \
130 $(COMMDIR)/dynarray.$(OBJSUFF) \
131 $(COMMDIR)/dynlib.$(OBJSUFF) \
132 $(COMMDIR)/effects.$(OBJSUFF) \
133 $(COMMDIR)/encconv.$(OBJSUFF) \
134 $(COMMDIR)/event.$(OBJSUFF) \
135 $(COMMDIR)/extended.$(OBJSUFF) \
136 $(COMMDIR)/fddlgcmn.$(OBJSUFF) \
137 $(COMMDIR)/ffile.$(OBJSUFF) \
138 $(COMMDIR)/file.$(OBJSUFF) \
139 $(COMMDIR)/fileconf.$(OBJSUFF) \
140 $(COMMDIR)/filefn.$(OBJSUFF) \
141 $(COMMDIR)/filename.$(OBJSUFF) \
142 $(COMMDIR)/filesys.$(OBJSUFF) \
143 $(COMMDIR)/fontcmn.$(OBJSUFF) \
144 $(COMMDIR)/fontmap.$(OBJSUFF) \
145 $(COMMDIR)/framecmn.$(OBJSUFF) \
146 $(COMMDIR)/fs_inet.$(OBJSUFF) \
147 $(COMMDIR)/fs_mem.$(OBJSUFF) \
148 $(COMMDIR)/fs_zip.$(OBJSUFF) \
149 $(COMMDIR)/ftp.$(OBJSUFF) \
150 $(COMMDIR)/gaugecmn.$(OBJSUFF) \
151 $(COMMDIR)/gdicmn.$(OBJSUFF) \
152 $(COMMDIR)/geometry.$(OBJSUFF) \
153 $(COMMDIR)/gifdecod.$(OBJSUFF) \
154 $(COMMDIR)/hash.$(OBJSUFF) \
155 $(COMMDIR)/helpbase.$(OBJSUFF) \
156 $(COMMDIR)/http.$(OBJSUFF) \
157 $(COMMDIR)/imagall.$(OBJSUFF) \
158 $(COMMDIR)/imagbmp.$(OBJSUFF) \
159 $(COMMDIR)/image.$(OBJSUFF) \
160 $(COMMDIR)/imaggif.$(OBJSUFF) \
161 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
162 $(COMMDIR)/imagpcx.$(OBJSUFF) \
163 $(COMMDIR)/imagpng.$(OBJSUFF) \
164 $(COMMDIR)/imagpnm.$(OBJSUFF) \
165 $(COMMDIR)/imagtiff.$(OBJSUFF) \
166 $(COMMDIR)/imagxpm.$(OBJSUFF) \
167 $(COMMDIR)/intl.$(OBJSUFF) \
168 $(COMMDIR)/ipcbase.$(OBJSUFF) \
169 $(COMMDIR)/layout.$(OBJSUFF) \
170 $(COMMDIR)/lboxcmn.$(OBJSUFF) \
171 $(COMMDIR)/list.$(OBJSUFF) \
172 $(COMMDIR)/log.$(OBJSUFF) \
173 $(COMMDIR)/longlong.$(OBJSUFF) \
174 $(COMMDIR)/matrix.$(OBJSUFF) \
175 $(COMMDIR)/memory.$(OBJSUFF) \
176 $(COMMDIR)/menucmn.$(OBJSUFF) \
177 $(COMMDIR)/mimecmn.$(OBJSUFF) \
178 $(COMMDIR)/module.$(OBJSUFF) \
179 $(COMMDIR)/mstream.$(OBJSUFF) \
180 $(COMMDIR)/nbkbase.$(OBJSUFF) \
181 $(COMMDIR)/object.$(OBJSUFF) \
182 $(COMMDIR)/objstrm.$(OBJSUFF) \
183 $(COMMDIR)/paper.$(OBJSUFF) \
184 $(COMMDIR)/popupcmn.$(OBJSUFF) \
185 $(COMMDIR)/prntbase.$(OBJSUFF) \
186 $(COMMDIR)/process.$(OBJSUFF) \
187 $(COMMDIR)/protocol.$(OBJSUFF) \
188 $(COMMDIR)/quantize.$(OBJSUFF) \
189 $(COMMDIR)/radiocmn.$(OBJSUFF) \
190 $(COMMDIR)/regex.$(OBJSUFF) \
191 $(COMMDIR)/resource.$(OBJSUFF) \
192 $(COMMDIR)/sckaddr.$(OBJSUFF) \
193 $(COMMDIR)/sckfile.$(OBJSUFF) \
194 $(COMMDIR)/sckipc.$(OBJSUFF) \
195 $(COMMDIR)/sckstrm.$(OBJSUFF) \
196 $(COMMDIR)/serbase.$(OBJSUFF) \
197 $(COMMDIR)/sizer.$(OBJSUFF) \
198 $(COMMDIR)/socket.$(OBJSUFF) \
199 $(COMMDIR)/statbar.$(OBJSUFF) \
200 $(COMMDIR)/strconv.$(OBJSUFF) \
201 $(COMMDIR)/stream.$(OBJSUFF) \
202 $(COMMDIR)/string.$(OBJSUFF) \
203 $(COMMDIR)/sysopt.$(OBJSUFF) \
204 $(COMMDIR)/tbarbase.$(OBJSUFF) \
205 $(COMMDIR)/textcmn.$(OBJSUFF) \
206 $(COMMDIR)/textfile.$(OBJSUFF) \
207 $(COMMDIR)/timercmn.$(OBJSUFF) \
208 $(COMMDIR)/tokenzr.$(OBJSUFF) \
209 $(COMMDIR)/toplvcmn.$(OBJSUFF) \
210 $(COMMDIR)/treebase.$(OBJSUFF) \
211 $(COMMDIR)/txtstrm.$(OBJSUFF) \
212 $(COMMDIR)/unzip.$(OBJSUFF) \
213 $(COMMDIR)/url.$(OBJSUFF) \
214 $(COMMDIR)/utilscmn.$(OBJSUFF) \
215 $(COMMDIR)/valgen.$(OBJSUFF) \
216 $(COMMDIR)/validate.$(OBJSUFF) \
217 $(COMMDIR)/valtext.$(OBJSUFF) \
218 $(COMMDIR)/variant.$(OBJSUFF) \
219 $(COMMDIR)/wfstream.$(OBJSUFF) \
220 $(COMMDIR)/wincmn.$(OBJSUFF) \
221 $(COMMDIR)/wxchar.$(OBJSUFF) \
222 $(COMMDIR)/wxexpr.$(OBJSUFF) \
223 $(COMMDIR)/xpmdecod.$(OBJSUFF) \
224 $(COMMDIR)/zipstrm.$(OBJSUFF) \
225 $(COMMDIR)/zstream.$(OBJSUFF)
228 $(HTMLDIR)/helpctrl.$(OBJSUFF) \
229 $(HTMLDIR)/helpdata.$(OBJSUFF) \
230 $(HTMLDIR)/helpfrm.$(OBJSUFF) \
231 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
232 $(HTMLDIR)/htmlfilt.$(OBJSUFF) \
233 $(HTMLDIR)/htmlpars.$(OBJSUFF) \
234 $(HTMLDIR)/htmltag.$(OBJSUFF) \
235 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
236 $(HTMLDIR)/htmprint.$(OBJSUFF) \
237 $(HTMLDIR)/m_dflist.$(OBJSUFF) \
238 $(HTMLDIR)/m_fonts.$(OBJSUFF) \
239 $(HTMLDIR)/m_hline.$(OBJSUFF) \
240 $(HTMLDIR)/m_image.$(OBJSUFF) \
241 $(HTMLDIR)/m_layout.$(OBJSUFF) \
242 $(HTMLDIR)/m_links.$(OBJSUFF) \
243 $(HTMLDIR)/m_list.$(OBJSUFF) \
244 $(HTMLDIR)/m_meta.$(OBJSUFF) \
245 $(HTMLDIR)/m_pre.$(OBJSUFF) \
246 $(HTMLDIR)/m_tables.$(OBJSUFF) \
247 $(HTMLDIR)/winpars.$(OBJSUFF)
250 $(MSWDIR)/accel.$(OBJSUFF) \
251 $(MSWDIR)/app.$(OBJSUFF) \
252 $(MSWDIR)/bitmap.$(OBJSUFF) \
253 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
254 $(MSWDIR)/brush.$(OBJSUFF) \
255 $(MSWDIR)/button.$(OBJSUFF) \
256 $(MSWDIR)/caret.$(OBJSUFF) \
257 $(MSWDIR)/checkbox.$(OBJSUFF) \
258 $(MSWDIR)/checklst.$(OBJSUFF) \
259 $(MSWDIR)/choice.$(OBJSUFF) \
260 $(MSWDIR)/clipbrd.$(OBJSUFF) \
261 $(MSWDIR)/colordlg.$(OBJSUFF) \
262 $(MSWDIR)/colour.$(OBJSUFF) \
263 $(MSWDIR)/combobox.$(OBJSUFF) \
264 $(MSWDIR)/control.$(OBJSUFF) \
265 $(MSWDIR)/curico.$(OBJSUFF) \
266 $(MSWDIR)/cursor.$(OBJSUFF) \
267 $(MSWDIR)/data.$(OBJSUFF) \
268 $(MSWDIR)/dc.$(OBJSUFF) \
269 $(MSWDIR)/dcclient.$(OBJSUFF) \
270 $(MSWDIR)/dcmemory.$(OBJSUFF) \
271 $(MSWDIR)/dcprint.$(OBJSUFF) \
272 $(MSWDIR)/dcscreen.$(OBJSUFF) \
273 $(MSWDIR)/dde.$(OBJSUFF) \
274 $(MSWDIR)/dialog.$(OBJSUFF) \
275 $(MSWDIR)/dialup.$(OBJSUFF) \
276 $(MSWDIR)/dib.$(OBJSUFF) \
277 $(MSWDIR)/dibutils.$(OBJSUFF) \
278 $(MSWDIR)/dir.$(OBJSUFF) \
279 $(MSWDIR)/dragimag.$(OBJSUFF) \
280 $(MSWDIR)/enhmeta.$(OBJSUFF) \
281 $(MSWDIR)/evtloop.$(OBJSUFF) \
282 $(MSWDIR)/fdrepdlg.$(OBJSUFF) \
283 $(MSWDIR)/filedlg.$(OBJSUFF) \
284 $(MSWDIR)/font.$(OBJSUFF) \
285 $(MSWDIR)/fontdlg.$(OBJSUFF) \
286 $(MSWDIR)/fontenum.$(OBJSUFF) \
287 $(MSWDIR)/fontutil.$(OBJSUFF) \
288 $(MSWDIR)/frame.$(OBJSUFF) \
289 $(MSWDIR)/gauge95.$(OBJSUFF) \
290 $(MSWDIR)/gdiimage.$(OBJSUFF) \
291 $(MSWDIR)/gdiobj.$(OBJSUFF) \
292 $(MSWDIR)/glcanvas.$(OBJSUFF) \
293 $(MSWDIR)/gsocket.$(OBJSUFF) \
294 $(MSWDIR)/gsockmsw.$(OBJSUFF) \
295 $(MSWDIR)/helpbest.$(OBJSUFF) \
296 $(MSWDIR)/helpchm.$(OBJSUFF) \
297 $(MSWDIR)/helpwin.$(OBJSUFF) \
298 $(MSWDIR)/icon.$(OBJSUFF) \
299 $(MSWDIR)/imaglist.$(OBJSUFF) \
300 $(MSWDIR)/joystick.$(OBJSUFF) \
301 $(MSWDIR)/listbox.$(OBJSUFF) \
302 $(MSWDIR)/listctrl.$(OBJSUFF) \
303 $(MSWDIR)/main.$(OBJSUFF) \
304 $(MSWDIR)/mdi.$(OBJSUFF) \
305 $(MSWDIR)/menu.$(OBJSUFF) \
306 $(MSWDIR)/menuitem.$(OBJSUFF) \
307 $(MSWDIR)/metafile.$(OBJSUFF) \
308 $(MSWDIR)/mimetype.$(OBJSUFF) \
309 $(MSWDIR)/minifram.$(OBJSUFF) \
310 $(MSWDIR)/msgdlg.$(OBJSUFF) \
311 $(MSWDIR)/nativdlg.$(OBJSUFF) \
312 $(MSWDIR)/notebook.$(OBJSUFF) \
313 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
314 $(MSWDIR)/palette.$(OBJSUFF) \
315 $(MSWDIR)/pen.$(OBJSUFF) \
316 $(MSWDIR)/penwin.$(OBJSUFF) \
317 $(MSWDIR)/printdlg.$(OBJSUFF) \
318 $(MSWDIR)/printwin.$(OBJSUFF) \
319 $(MSWDIR)/radiobox.$(OBJSUFF) \
320 $(MSWDIR)/radiobut.$(OBJSUFF) \
321 $(MSWDIR)/regconf.$(OBJSUFF) \
322 $(MSWDIR)/region.$(OBJSUFF) \
323 $(MSWDIR)/registry.$(OBJSUFF) \
324 $(MSWDIR)/scrolbar.$(OBJSUFF) \
325 $(MSWDIR)/settings.$(OBJSUFF) \
326 $(MSWDIR)/slider95.$(OBJSUFF) \
327 $(MSWDIR)/snglinst.$(OBJSUFF) \
328 $(MSWDIR)/spinbutt.$(OBJSUFF) \
329 $(MSWDIR)/spinctrl.$(OBJSUFF) \
330 $(MSWDIR)/statbmp.$(OBJSUFF) \
331 $(MSWDIR)/statbox.$(OBJSUFF) \
332 $(MSWDIR)/statbr95.$(OBJSUFF) \
333 $(MSWDIR)/statline.$(OBJSUFF) \
334 $(MSWDIR)/stattext.$(OBJSUFF) \
335 $(MSWDIR)/tabctrl.$(OBJSUFF) \
336 $(MSWDIR)/taskbar.$(OBJSUFF) \
337 $(MSWDIR)/tbar95.$(OBJSUFF) \
338 $(MSWDIR)/textctrl.$(OBJSUFF) \
339 $(MSWDIR)/tglbtn.$(OBJSUFF) \
340 $(MSWDIR)/thread.$(OBJSUFF) \
341 $(MSWDIR)/timer.$(OBJSUFF) \
342 $(MSWDIR)/tooltip.$(OBJSUFF) \
343 $(MSWDIR)/toplevel.$(OBJSUFF) \
344 $(MSWDIR)/treectrl.$(OBJSUFF) \
345 $(MSWDIR)/utils.$(OBJSUFF) \
346 $(MSWDIR)/utilsexc.$(OBJSUFF) \
347 $(MSWDIR)/wave.$(OBJSUFF) \
348 $(MSWDIR)/window.$(OBJSUFF)
351 $(COMMDIR)/odbc.$(OBJSUFF) \
352 $(MSWDIR)/ole/automtn.$(OBJSUFF) \
353 $(MSWDIR)/ole/dataobj.$(OBJSUFF) \
354 $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \
355 $(MSWDIR)/ole/droptgt.$(OBJSUFF) \
356 $(MSWDIR)/ole/oleutils.$(OBJSUFF) \
357 $(MSWDIR)/ole/uuid.$(OBJSUFF)
360 $(ZLIBDIR)/adler32.$(OBJSUFF) \
361 $(ZLIBDIR)/compress.$(OBJSUFF) \
362 $(ZLIBDIR)/crc32.$(OBJSUFF) \
363 $(ZLIBDIR)/gzio.$(OBJSUFF) \
364 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
365 $(ZLIBDIR)/deflate.$(OBJSUFF) \
366 $(ZLIBDIR)/trees.$(OBJSUFF) \
367 $(ZLIBDIR)/zutil.$(OBJSUFF) \
368 $(ZLIBDIR)/inflate.$(OBJSUFF) \
369 $(ZLIBDIR)/infblock.$(OBJSUFF) \
370 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
371 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
372 $(ZLIBDIR)/infutil.$(OBJSUFF) \
373 $(ZLIBDIR)/inffast.$(OBJSUFF)
376 $(PNGDIR)/png.$(OBJSUFF) \
377 $(PNGDIR)/pngread.$(OBJSUFF) \
378 $(PNGDIR)/pngrtran.$(OBJSUFF) \
379 $(PNGDIR)/pngrutil.$(OBJSUFF) \
380 $(PNGDIR)/pngpread.$(OBJSUFF) \
381 $(PNGDIR)/pngtrans.$(OBJSUFF) \
382 $(PNGDIR)/pngwrite.$(OBJSUFF) \
383 $(PNGDIR)/pngwtran.$(OBJSUFF) \
384 $(PNGDIR)/pngwutil.$(OBJSUFF) \
385 $(PNGDIR)/pngerror.$(OBJSUFF) \
386 $(PNGDIR)/pngmem.$(OBJSUFF) \
387 $(PNGDIR)/pngwio.$(OBJSUFF) \
388 $(PNGDIR)/pngrio.$(OBJSUFF) \
389 $(PNGDIR)/pngget.$(OBJSUFF) \
390 $(PNGDIR)/pngset.$(OBJSUFF)
394 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
395 $(JPEGDIR)/jutils.$(OBJSUFF) \
396 $(JPEGDIR)/jerror.$(OBJSUFF) \
397 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
398 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
399 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
400 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
401 $(JPEGDIR)/jctrans.$(OBJSUFF) \
402 $(JPEGDIR)/jcparam.$(OBJSUFF) \
403 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
404 $(JPEGDIR)/jcinit.$(OBJSUFF) \
405 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
406 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
407 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
408 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
409 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
410 $(JPEGDIR)/jccolor.$(OBJSUFF) \
411 $(JPEGDIR)/jcsample.$(OBJSUFF) \
412 $(JPEGDIR)/jchuff.$(OBJSUFF) \
413 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
414 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
415 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
416 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
417 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
418 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
419 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
420 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
421 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
422 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
423 $(JPEGDIR)/jdinput.$(OBJSUFF) \
424 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
425 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
426 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
427 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
428 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
429 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
430 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
431 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
432 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
433 $(JPEGDIR)/jidctint.$(OBJSUFF) \
434 $(JPEGDIR)/jidctred.$(OBJSUFF) \
435 $(JPEGDIR)/jdsample.$(OBJSUFF) \
436 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
437 $(JPEGDIR)/jquant1.$(OBJSUFF) \
438 $(JPEGDIR)/jquant2.$(OBJSUFF) \
439 $(JPEGDIR)/jdmerge.$(OBJSUFF)
441 TIFFOBJS = $(TIFFDIR)/tif_aux.o \
442 $(TIFFDIR)/tif_close.o \
443 $(TIFFDIR)/tif_codec.o \
444 $(TIFFDIR)/tif_compress.o \
445 $(TIFFDIR)/tif_dir.o \
446 $(TIFFDIR)/tif_dirinfo.o \
447 $(TIFFDIR)/tif_dirread.o \
448 $(TIFFDIR)/tif_dirwrite.o \
449 $(TIFFDIR)/tif_dumpmode.o \
450 $(TIFFDIR)/tif_error.o \
451 $(TIFFDIR)/tif_fax3.o \
452 $(TIFFDIR)/tif_fax3sm.o \
453 $(TIFFDIR)/tif_flush.o \
454 $(TIFFDIR)/tif_getimage.o \
455 $(TIFFDIR)/tif_jpeg.o \
456 $(TIFFDIR)/tif_luv.o \
457 $(TIFFDIR)/tif_lzw.o \
458 $(TIFFDIR)/tif_next.o \
459 $(TIFFDIR)/tif_open.o \
460 $(TIFFDIR)/tif_packbits.o \
461 $(TIFFDIR)/tif_pixarlog.o \
462 $(TIFFDIR)/tif_predict.o \
463 $(TIFFDIR)/tif_print.o \
464 $(TIFFDIR)/tif_read.o \
465 $(TIFFDIR)/tif_strip.o \
466 $(TIFFDIR)/tif_swab.o \
467 $(TIFFDIR)/tif_thunder.o \
468 $(TIFFDIR)/tif_tile.o \
469 $(TIFFDIR)/tif_version.o \
470 $(TIFFDIR)/tif_warning.o \
471 $(TIFFDIR)/tif_win32.o \
472 $(TIFFDIR)/tif_write.o \
476 ifneq "$(findstring 2.95, $(MINGW32VERSION))" ""
477 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS)
479 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
482 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
485 ARCHINCDIR=$(subst /,\,$(WXDIR))/lib/msw$(INCEXT)
487 SETUP_H=$(ARCHINCDIR)/wx/setup.h
490 all: $(SETUP_H) $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB)
492 all: $(SETUP_H) $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB) $(WXDLL)
497 mkdir $(ARCHINCDIR)/wx
499 $(SETUP_H): $(ARCHINCDIR)/wx
500 $(COPY) $(WXDIR)/include/wx/msw/setup.h $@
504 $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
505 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
510 # The new linker is a few orders of magnitude faster than the old way
512 ifeq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
514 $(WXDLL): $(OBJECTS) $(EXTRAOBJS)
515 $(CC) -shared -o $@ \
516 -Wl,--output-def,$(WXDEF) \
517 -Wl,--out-implib,$(WXLIB) \
518 $(OBJECTS) $(EXTRAOBJS) \
519 $(DLL_LDFLAGS) $(DLL_LDLIBS)
523 DLL_ENTRY = _DllMainCRTStartup@12
525 DLL_ENTRY = __cygwin_dll_entry@12
527 LD_STUFF = $(OBJECTS) $(EXTRAOBJS) -Wl,-e,$(DLL_ENTRY) \
528 $(DLL_LDFLAGS) $(DLL_LDLIBS) #-Wl,--image-base=0x66000000
530 DLL_STUFF = --as=$(AS) --dllname $(notdir $(WXDLL)) \
532 --base-file wx.base --output-exp wx.exp
534 $(WXDEF) $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
535 $(DLLTOOL) --output-def $@ --output-lib $(WXLIB) \
536 --dllname $(notdir $(WXDLL)) \
537 $(OBJECTS) $(EXTRAOBJS) $(DLL_EXTRA_LIBS)
539 $(WXDLL): $(OBJECTS) $(EXTRAOBJS) $(WXDEF)
540 $(CC) -mdll -Wl,--base-file,wx.base -s -o $@ $(LD_STUFF)
541 $(DLLTOOL) $(DLL_STUFF)
542 $(CC) -mdll -Wl,--base-file,wx.base wx.exp -s -o $@ $(LD_STUFF)
543 $(DLLTOOL) $(DLL_STUFF)
544 $(CC) -mdll wx.exp -o $@ $(LD_STUFF)
553 $(ZLIBLIB): $(ZLIBOBJS)
554 $(AR) $(AROPTIONS) $@ $(ZLIBOBJS)
557 $(PNGLIB): $(PNGOBJS)
558 $(AR) $(AROPTIONS) $@ $(PNGOBJS)
561 $(JPEGLIB): $(JPEGOBJS)
562 $(AR) $(AROPTIONS) $@ $(JPEGOBJS)
565 $(TIFFLIB): $(TIFFOBJS)
566 $(AR) $(AROPTIONS) $@ $(TIFFOBJS)
570 $(MAKE) -C $(REGEXDIR) -f makefile.g95 WXDIR=$(WXDIR)
572 $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(ARCHINCDIR)/wx/setup.h
574 $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
575 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
577 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
578 $(COPY) ../common/dosyacc.c ../common/y_tab.c
580 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
581 $(COPY) ../common/doslex.c ../common/lex_yy.c
583 # Replace lex with flex if you run into compilation
584 # problems with lex_yy.c. See also note about LEX_SCANNER
586 # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
587 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
589 # Try one of these if the above line doesn't work.
590 # Alternative syntax (1)
591 # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
592 # Alternative syntax (2)
593 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
595 # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
596 # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
597 # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
600 # Replace yacc with bison if you run into compilation
601 # problems with y_tab.c.
603 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
604 # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
606 # If you use e.g. gcc on Unix, uncomment these lines
607 # and comment out the above.
609 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
610 # $(YACC) $(COMMDIR)/parser.y
611 # mv y.tab.c $(COMMDIR)/y_tab.c
618 -$(RM) ../common/y_tab.c
619 -$(RM) ../common/lex_yy.c
621 -$(RM) ../common/*.bak
622 -$(RM) ../generic/*.o
623 -$(RM) ../generic/*.bak
634 -$(RM) ../regex/*.bak
647 ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes"