1 # This file was automatically generated by tmake
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$(TOOLKIT)$(WXVERSION)$(UNIEXT)$(DEBEXT).dll
25 WXDEF = wx$(TOOLKIT)$(WXVERSION)$(UNIEXT)$(DEBEXT).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_BASE_LDLIBS = $(DLL_EXTRA_LIBS) -lstdc++ -lwsock32
32 DLL_LDLIBS = $(DLL_BASE_LDLIBS)
34 DLL_LDLIBS = -mwindows -lcomctl32 -lctl3d32 -lole32 -loleaut32 \
35 -luuid -lrpcrt4 -lodbc32 -lwinmm -lopengl32 \
40 # Subordinate library possibilities
44 GENDIR = $(WXDIR)/src/generic
45 COMMDIR = $(WXDIR)/src/common
46 HTMLDIR = $(WXDIR)/src/html
47 ZLIBDIR = $(WXDIR)/src/zlib
48 PNGDIR = $(WXDIR)/src/png
49 JPEGDIR = $(WXDIR)/src/jpeg
50 TIFFDIR = $(WXDIR)/src/tiff
51 OLEDIR = $(WXDIR)/src/msw/ole
52 MSWDIR = $(WXDIR)/src/msw
53 REGEXDIR= $(WXDIR)/src/regex
55 ZLIBLIB = $(WXDIR)/lib/libzlib.a
56 PNGLIB = $(WXDIR)/lib/libpng.a
57 JPEGLIB = $(WXDIR)/lib/libjpeg.a
58 TIFFLIB = $(WXDIR)/lib/libtiff.a
59 REGEXLIB= $(WXDIR)/lib/libregex.a
61 DOCDIR = $(WXDIR)/docs
63 # Only use the WIN32 wxDirDialog if we have a recent
66 ifneq "$(findstring 2.95, $(MINGW32VERSION))" ""
67 DIRDLGOBJ = $(MSWDIR)/dirdlg.$(OBJSUFF)
69 DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF)
72 DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF)
82 $(GENDIR)/busyinfo.$(OBJSUFF) \
83 $(GENDIR)/calctrl.$(OBJSUFF) \
84 $(GENDIR)/choicdgg.$(OBJSUFF) \
85 $(GENDIR)/dcbuffer.$(OBJSUFF) \
86 $(GENDIR)/dcpsg.$(OBJSUFF) \
87 $(GENDIR)/dirctrlg.$(OBJSUFF) \
88 $(GENDIR)/dragimgg.$(OBJSUFF) \
89 $(GENDIR)/grid.$(OBJSUFF) \
90 $(GENDIR)/gridctrl.$(OBJSUFF) \
91 $(GENDIR)/gridsel.$(OBJSUFF) \
92 $(GENDIR)/laywin.$(OBJSUFF) \
93 $(GENDIR)/logg.$(OBJSUFF) \
94 $(GENDIR)/numdlgg.$(OBJSUFF) \
95 $(GENDIR)/panelg.$(OBJSUFF) \
96 $(GENDIR)/progdlgg.$(OBJSUFF) \
97 $(GENDIR)/prop.$(OBJSUFF) \
98 $(GENDIR)/propform.$(OBJSUFF) \
99 $(GENDIR)/proplist.$(OBJSUFF) \
100 $(GENDIR)/sashwin.$(OBJSUFF) \
101 $(GENDIR)/scrlwing.$(OBJSUFF) \
102 $(GENDIR)/spinctlg.$(OBJSUFF) \
103 $(GENDIR)/splash.$(OBJSUFF) \
104 $(GENDIR)/splitter.$(OBJSUFF) \
105 $(GENDIR)/statusbr.$(OBJSUFF) \
106 $(GENDIR)/tbarsmpl.$(OBJSUFF) \
107 $(GENDIR)/textdlgg.$(OBJSUFF) \
108 $(GENDIR)/tipdlg.$(OBJSUFF) \
109 $(GENDIR)/tipwin.$(OBJSUFF) \
110 $(GENDIR)/treectlg.$(OBJSUFF) \
111 $(GENDIR)/treelay.$(OBJSUFF) \
112 $(GENDIR)/wizard.$(OBJSUFF)
115 $(COMMDIR)/appcmn.$(OBJSUFF) \
116 $(COMMDIR)/clntdata.$(OBJSUFF) \
117 $(COMMDIR)/cmdline.$(OBJSUFF) \
118 $(COMMDIR)/config.$(OBJSUFF) \
119 $(COMMDIR)/datetime.$(OBJSUFF) \
120 $(COMMDIR)/datstrm.$(OBJSUFF) \
121 $(COMMDIR)/db.$(OBJSUFF) \
122 $(COMMDIR)/dbtable.$(OBJSUFF) \
123 $(COMMDIR)/dircmn.$(OBJSUFF) \
124 $(COMMDIR)/dynarray.$(OBJSUFF) \
125 $(COMMDIR)/dynlib.$(OBJSUFF) \
126 $(COMMDIR)/dynload.$(OBJSUFF) \
127 $(COMMDIR)/encconv.$(OBJSUFF) \
128 $(COMMDIR)/event.$(OBJSUFF) \
129 $(COMMDIR)/extended.$(OBJSUFF) \
130 $(COMMDIR)/ffile.$(OBJSUFF) \
131 $(COMMDIR)/file.$(OBJSUFF) \
132 $(COMMDIR)/fileconf.$(OBJSUFF) \
133 $(COMMDIR)/filefn.$(OBJSUFF) \
134 $(COMMDIR)/filename.$(OBJSUFF) \
135 $(COMMDIR)/filesys.$(OBJSUFF) \
136 $(COMMDIR)/fontmap.$(OBJSUFF) \
137 $(COMMDIR)/fs_inet.$(OBJSUFF) \
138 $(COMMDIR)/fs_mem.$(OBJSUFF) \
139 $(COMMDIR)/fs_zip.$(OBJSUFF) \
140 $(COMMDIR)/ftp.$(OBJSUFF) \
141 $(COMMDIR)/hash.$(OBJSUFF) \
142 $(COMMDIR)/hashmap.$(OBJSUFF) \
143 $(COMMDIR)/http.$(OBJSUFF) \
144 $(COMMDIR)/intl.$(OBJSUFF) \
145 $(COMMDIR)/ipcbase.$(OBJSUFF) \
146 $(COMMDIR)/list.$(OBJSUFF) \
147 $(COMMDIR)/log.$(OBJSUFF) \
148 $(COMMDIR)/longlong.$(OBJSUFF) \
149 $(COMMDIR)/memory.$(OBJSUFF) \
150 $(COMMDIR)/mimecmn.$(OBJSUFF) \
151 $(COMMDIR)/module.$(OBJSUFF) \
152 $(COMMDIR)/mstream.$(OBJSUFF) \
153 $(COMMDIR)/object.$(OBJSUFF) \
154 $(COMMDIR)/process.$(OBJSUFF) \
155 $(COMMDIR)/protocol.$(OBJSUFF) \
156 $(COMMDIR)/regex.$(OBJSUFF) \
157 $(COMMDIR)/sckaddr.$(OBJSUFF) \
158 $(COMMDIR)/sckfile.$(OBJSUFF) \
159 $(COMMDIR)/sckipc.$(OBJSUFF) \
160 $(COMMDIR)/sckstrm.$(OBJSUFF) \
161 $(COMMDIR)/socket.$(OBJSUFF) \
162 $(COMMDIR)/strconv.$(OBJSUFF) \
163 $(COMMDIR)/stream.$(OBJSUFF) \
164 $(COMMDIR)/string.$(OBJSUFF) \
165 $(COMMDIR)/sysopt.$(OBJSUFF) \
166 $(COMMDIR)/textbuf.$(OBJSUFF) \
167 $(COMMDIR)/textfile.$(OBJSUFF) \
168 $(COMMDIR)/timercmn.$(OBJSUFF) \
169 $(COMMDIR)/tokenzr.$(OBJSUFF) \
170 $(COMMDIR)/txtstrm.$(OBJSUFF) \
171 $(COMMDIR)/unzip.$(OBJSUFF) \
172 $(COMMDIR)/url.$(OBJSUFF) \
173 $(COMMDIR)/utilscmn.$(OBJSUFF) \
174 $(COMMDIR)/variant.$(OBJSUFF) \
175 $(COMMDIR)/wfstream.$(OBJSUFF) \
176 $(COMMDIR)/wxchar.$(OBJSUFF) \
177 $(COMMDIR)/zipstrm.$(OBJSUFF) \
178 $(COMMDIR)/zstream.$(OBJSUFF)
180 COMMONOBJS_BASEONLY = \
181 $(COMMDIR)/init.$(OBJSUFF)
185 $(COMMDIR)/y_tab.$(OBJSUFF) \
186 $(COMMDIR)/artprov.$(OBJSUFF) \
187 $(COMMDIR)/artstd.$(OBJSUFF) \
188 $(COMMDIR)/choiccmn.$(OBJSUFF) \
189 $(COMMDIR)/clipcmn.$(OBJSUFF) \
190 $(COMMDIR)/cmdproc.$(OBJSUFF) \
191 $(COMMDIR)/cmndata.$(OBJSUFF) \
192 $(COMMDIR)/containr.$(OBJSUFF) \
193 $(COMMDIR)/cshelp.$(OBJSUFF) \
194 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
195 $(COMMDIR)/ctrlsub.$(OBJSUFF) \
196 $(COMMDIR)/dbgrid.$(OBJSUFF) \
197 $(COMMDIR)/dcbase.$(OBJSUFF) \
198 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
199 $(COMMDIR)/dndcmn.$(OBJSUFF) \
200 $(COMMDIR)/dobjcmn.$(OBJSUFF) \
201 $(COMMDIR)/docmdi.$(OBJSUFF) \
202 $(COMMDIR)/docview.$(OBJSUFF) \
203 $(COMMDIR)/dseldlg.$(OBJSUFF) \
204 $(COMMDIR)/effects.$(OBJSUFF) \
205 $(COMMDIR)/fddlgcmn.$(OBJSUFF) \
206 $(COMMDIR)/fontcmn.$(OBJSUFF) \
207 $(COMMDIR)/framecmn.$(OBJSUFF) \
208 $(COMMDIR)/gaugecmn.$(OBJSUFF) \
209 $(COMMDIR)/gdicmn.$(OBJSUFF) \
210 $(COMMDIR)/geometry.$(OBJSUFF) \
211 $(COMMDIR)/gifdecod.$(OBJSUFF) \
212 $(COMMDIR)/helpbase.$(OBJSUFF) \
213 $(COMMDIR)/iconbndl.$(OBJSUFF) \
214 $(COMMDIR)/imagall.$(OBJSUFF) \
215 $(COMMDIR)/imagbmp.$(OBJSUFF) \
216 $(COMMDIR)/image.$(OBJSUFF) \
217 $(COMMDIR)/imaggif.$(OBJSUFF) \
218 $(COMMDIR)/imagiff.$(OBJSUFF) \
219 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
220 $(COMMDIR)/imagpcx.$(OBJSUFF) \
221 $(COMMDIR)/imagpng.$(OBJSUFF) \
222 $(COMMDIR)/imagpnm.$(OBJSUFF) \
223 $(COMMDIR)/imagtiff.$(OBJSUFF) \
224 $(COMMDIR)/imagxpm.$(OBJSUFF) \
225 $(COMMDIR)/layout.$(OBJSUFF) \
226 $(COMMDIR)/lboxcmn.$(OBJSUFF) \
227 $(COMMDIR)/matrix.$(OBJSUFF) \
228 $(COMMDIR)/menucmn.$(OBJSUFF) \
229 $(COMMDIR)/nbkbase.$(OBJSUFF) \
230 $(COMMDIR)/paper.$(OBJSUFF) \
231 $(COMMDIR)/popupcmn.$(OBJSUFF) \
232 $(COMMDIR)/prntbase.$(OBJSUFF) \
233 $(COMMDIR)/quantize.$(OBJSUFF) \
234 $(COMMDIR)/radiocmn.$(OBJSUFF) \
235 $(COMMDIR)/resource.$(OBJSUFF) \
236 $(COMMDIR)/sizer.$(OBJSUFF) \
237 $(COMMDIR)/statbar.$(OBJSUFF) \
238 $(COMMDIR)/tbarbase.$(OBJSUFF) \
239 $(COMMDIR)/textcmn.$(OBJSUFF) \
240 $(COMMDIR)/toplvcmn.$(OBJSUFF) \
241 $(COMMDIR)/treebase.$(OBJSUFF) \
242 $(COMMDIR)/valgen.$(OBJSUFF) \
243 $(COMMDIR)/validate.$(OBJSUFF) \
244 $(COMMDIR)/valtext.$(OBJSUFF) \
245 $(COMMDIR)/wincmn.$(OBJSUFF) \
246 $(COMMDIR)/wxexpr.$(OBJSUFF) \
247 $(COMMDIR)/xpmdecod.$(OBJSUFF)
250 $(HTMLDIR)/helpctrl.$(OBJSUFF) \
251 $(HTMLDIR)/helpdata.$(OBJSUFF) \
252 $(HTMLDIR)/helpfrm.$(OBJSUFF) \
253 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
254 $(HTMLDIR)/htmlfilt.$(OBJSUFF) \
255 $(HTMLDIR)/htmlpars.$(OBJSUFF) \
256 $(HTMLDIR)/htmltag.$(OBJSUFF) \
257 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
258 $(HTMLDIR)/htmprint.$(OBJSUFF) \
259 $(HTMLDIR)/m_dflist.$(OBJSUFF) \
260 $(HTMLDIR)/m_fonts.$(OBJSUFF) \
261 $(HTMLDIR)/m_hline.$(OBJSUFF) \
262 $(HTMLDIR)/m_image.$(OBJSUFF) \
263 $(HTMLDIR)/m_layout.$(OBJSUFF) \
264 $(HTMLDIR)/m_links.$(OBJSUFF) \
265 $(HTMLDIR)/m_list.$(OBJSUFF) \
266 $(HTMLDIR)/m_meta.$(OBJSUFF) \
267 $(HTMLDIR)/m_pre.$(OBJSUFF) \
268 $(HTMLDIR)/m_style.$(OBJSUFF) \
269 $(HTMLDIR)/m_tables.$(OBJSUFF) \
270 $(HTMLDIR)/winpars.$(OBJSUFF)
273 $(MSWDIR)/dde.$(OBJSUFF) \
274 $(MSWDIR)/dir.$(OBJSUFF) \
275 $(MSWDIR)/gsocket.$(OBJSUFF) \
276 $(MSWDIR)/gsockmsw.$(OBJSUFF) \
277 $(MSWDIR)/main.$(OBJSUFF) \
278 $(MSWDIR)/mimetype.$(OBJSUFF) \
279 $(MSWDIR)/regconf.$(OBJSUFF) \
280 $(MSWDIR)/registry.$(OBJSUFF) \
281 $(MSWDIR)/snglinst.$(OBJSUFF) \
282 $(MSWDIR)/thread.$(OBJSUFF) \
283 $(MSWDIR)/utils.$(OBJSUFF) \
284 $(MSWDIR)/utilsexc.$(OBJSUFF) \
285 $(MSWDIR)/volume.$(OBJSUFF)
289 $(MSWDIR)/accel.$(OBJSUFF) \
290 $(MSWDIR)/app.$(OBJSUFF) \
291 $(MSWDIR)/bitmap.$(OBJSUFF) \
292 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
293 $(MSWDIR)/brush.$(OBJSUFF) \
294 $(MSWDIR)/button.$(OBJSUFF) \
295 $(MSWDIR)/caret.$(OBJSUFF) \
296 $(MSWDIR)/checkbox.$(OBJSUFF) \
297 $(MSWDIR)/checklst.$(OBJSUFF) \
298 $(MSWDIR)/choice.$(OBJSUFF) \
299 $(MSWDIR)/clipbrd.$(OBJSUFF) \
300 $(MSWDIR)/colordlg.$(OBJSUFF) \
301 $(MSWDIR)/colour.$(OBJSUFF) \
302 $(MSWDIR)/combobox.$(OBJSUFF) \
303 $(MSWDIR)/control.$(OBJSUFF) \
304 $(MSWDIR)/curico.$(OBJSUFF) \
305 $(MSWDIR)/cursor.$(OBJSUFF) \
306 $(MSWDIR)/data.$(OBJSUFF) \
307 $(MSWDIR)/dc.$(OBJSUFF) \
308 $(MSWDIR)/dcclient.$(OBJSUFF) \
309 $(MSWDIR)/dcmemory.$(OBJSUFF) \
310 $(MSWDIR)/dcprint.$(OBJSUFF) \
311 $(MSWDIR)/dcscreen.$(OBJSUFF) \
312 $(MSWDIR)/dialog.$(OBJSUFF) \
313 $(MSWDIR)/dialup.$(OBJSUFF) \
314 $(MSWDIR)/dib.$(OBJSUFF) \
315 $(MSWDIR)/dibutils.$(OBJSUFF) \
316 $(MSWDIR)/dragimag.$(OBJSUFF) \
317 $(MSWDIR)/enhmeta.$(OBJSUFF) \
318 $(MSWDIR)/evtloop.$(OBJSUFF) \
319 $(MSWDIR)/fdrepdlg.$(OBJSUFF) \
320 $(MSWDIR)/filedlg.$(OBJSUFF) \
321 $(MSWDIR)/font.$(OBJSUFF) \
322 $(MSWDIR)/fontdlg.$(OBJSUFF) \
323 $(MSWDIR)/fontenum.$(OBJSUFF) \
324 $(MSWDIR)/fontutil.$(OBJSUFF) \
325 $(MSWDIR)/frame.$(OBJSUFF) \
326 $(MSWDIR)/gauge95.$(OBJSUFF) \
327 $(MSWDIR)/gdiimage.$(OBJSUFF) \
328 $(MSWDIR)/gdiobj.$(OBJSUFF) \
329 $(MSWDIR)/glcanvas.$(OBJSUFF) \
330 $(MSWDIR)/helpbest.$(OBJSUFF) \
331 $(MSWDIR)/helpchm.$(OBJSUFF) \
332 $(MSWDIR)/helpwin.$(OBJSUFF) \
333 $(MSWDIR)/icon.$(OBJSUFF) \
334 $(MSWDIR)/imaglist.$(OBJSUFF) \
335 $(MSWDIR)/joystick.$(OBJSUFF) \
336 $(MSWDIR)/listbox.$(OBJSUFF) \
337 $(MSWDIR)/listctrl.$(OBJSUFF) \
338 $(MSWDIR)/mdi.$(OBJSUFF) \
339 $(MSWDIR)/menu.$(OBJSUFF) \
340 $(MSWDIR)/menuitem.$(OBJSUFF) \
341 $(MSWDIR)/metafile.$(OBJSUFF) \
342 $(MSWDIR)/minifram.$(OBJSUFF) \
343 $(MSWDIR)/msgdlg.$(OBJSUFF) \
344 $(MSWDIR)/mslu.$(OBJSUFF) \
345 $(MSWDIR)/nativdlg.$(OBJSUFF) \
346 $(MSWDIR)/notebook.$(OBJSUFF) \
347 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
348 $(MSWDIR)/palette.$(OBJSUFF) \
349 $(MSWDIR)/pen.$(OBJSUFF) \
350 $(MSWDIR)/penwin.$(OBJSUFF) \
351 $(MSWDIR)/printdlg.$(OBJSUFF) \
352 $(MSWDIR)/printwin.$(OBJSUFF) \
353 $(MSWDIR)/radiobox.$(OBJSUFF) \
354 $(MSWDIR)/radiobut.$(OBJSUFF) \
355 $(MSWDIR)/region.$(OBJSUFF) \
356 $(MSWDIR)/scrolbar.$(OBJSUFF) \
357 $(MSWDIR)/settings.$(OBJSUFF) \
358 $(MSWDIR)/slider95.$(OBJSUFF) \
359 $(MSWDIR)/spinbutt.$(OBJSUFF) \
360 $(MSWDIR)/spinctrl.$(OBJSUFF) \
361 $(MSWDIR)/statbmp.$(OBJSUFF) \
362 $(MSWDIR)/statbox.$(OBJSUFF) \
363 $(MSWDIR)/statbr95.$(OBJSUFF) \
364 $(MSWDIR)/statline.$(OBJSUFF) \
365 $(MSWDIR)/stattext.$(OBJSUFF) \
366 $(MSWDIR)/tabctrl.$(OBJSUFF) \
367 $(MSWDIR)/taskbar.$(OBJSUFF) \
368 $(MSWDIR)/tbar95.$(OBJSUFF) \
369 $(MSWDIR)/textctrl.$(OBJSUFF) \
370 $(MSWDIR)/tglbtn.$(OBJSUFF) \
371 $(MSWDIR)/timer.$(OBJSUFF) \
372 $(MSWDIR)/tooltip.$(OBJSUFF) \
373 $(MSWDIR)/toplevel.$(OBJSUFF) \
374 $(MSWDIR)/treectrl.$(OBJSUFF) \
375 $(MSWDIR)/wave.$(OBJSUFF) \
376 $(MSWDIR)/window.$(OBJSUFF)
378 ADVANCEDOBJS_BASE = \
381 $(ADVANCEDOBJS_BASE) \
382 $(COMMDIR)/odbc.$(OBJSUFF) \
383 $(MSWDIR)/ole/automtn.$(OBJSUFF) \
384 $(MSWDIR)/ole/dataobj.$(OBJSUFF) \
385 $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \
386 $(MSWDIR)/ole/droptgt.$(OBJSUFF) \
387 $(MSWDIR)/ole/oleutils.$(OBJSUFF) \
388 $(MSWDIR)/ole/uuid.$(OBJSUFF)
391 $(ZLIBDIR)/adler32.$(OBJSUFF) \
392 $(ZLIBDIR)/compress.$(OBJSUFF) \
393 $(ZLIBDIR)/crc32.$(OBJSUFF) \
394 $(ZLIBDIR)/gzio.$(OBJSUFF) \
395 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
396 $(ZLIBDIR)/deflate.$(OBJSUFF) \
397 $(ZLIBDIR)/trees.$(OBJSUFF) \
398 $(ZLIBDIR)/zutil.$(OBJSUFF) \
399 $(ZLIBDIR)/inflate.$(OBJSUFF) \
400 $(ZLIBDIR)/infblock.$(OBJSUFF) \
401 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
402 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
403 $(ZLIBDIR)/infutil.$(OBJSUFF) \
404 $(ZLIBDIR)/inffast.$(OBJSUFF)
407 $(PNGDIR)/png.$(OBJSUFF) \
408 $(PNGDIR)/pngread.$(OBJSUFF) \
409 $(PNGDIR)/pngrtran.$(OBJSUFF) \
410 $(PNGDIR)/pngrutil.$(OBJSUFF) \
411 $(PNGDIR)/pngpread.$(OBJSUFF) \
412 $(PNGDIR)/pngtrans.$(OBJSUFF) \
413 $(PNGDIR)/pngwrite.$(OBJSUFF) \
414 $(PNGDIR)/pngwtran.$(OBJSUFF) \
415 $(PNGDIR)/pngwutil.$(OBJSUFF) \
416 $(PNGDIR)/pngerror.$(OBJSUFF) \
417 $(PNGDIR)/pngmem.$(OBJSUFF) \
418 $(PNGDIR)/pngwio.$(OBJSUFF) \
419 $(PNGDIR)/pngrio.$(OBJSUFF) \
420 $(PNGDIR)/pngget.$(OBJSUFF) \
421 $(PNGDIR)/pngset.$(OBJSUFF)
425 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
426 $(JPEGDIR)/jutils.$(OBJSUFF) \
427 $(JPEGDIR)/jerror.$(OBJSUFF) \
428 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
429 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
430 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
431 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
432 $(JPEGDIR)/jctrans.$(OBJSUFF) \
433 $(JPEGDIR)/jcparam.$(OBJSUFF) \
434 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
435 $(JPEGDIR)/jcinit.$(OBJSUFF) \
436 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
437 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
438 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
439 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
440 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
441 $(JPEGDIR)/jccolor.$(OBJSUFF) \
442 $(JPEGDIR)/jcsample.$(OBJSUFF) \
443 $(JPEGDIR)/jchuff.$(OBJSUFF) \
444 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
445 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
446 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
447 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
448 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
449 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
450 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
451 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
452 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
453 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
454 $(JPEGDIR)/jdinput.$(OBJSUFF) \
455 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
456 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
457 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
458 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
459 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
460 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
461 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
462 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
463 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
464 $(JPEGDIR)/jidctint.$(OBJSUFF) \
465 $(JPEGDIR)/jidctred.$(OBJSUFF) \
466 $(JPEGDIR)/jdsample.$(OBJSUFF) \
467 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
468 $(JPEGDIR)/jquant1.$(OBJSUFF) \
469 $(JPEGDIR)/jquant2.$(OBJSUFF) \
470 $(JPEGDIR)/jdmerge.$(OBJSUFF)
472 TIFFOBJS = $(TIFFDIR)/tif_aux.o \
473 $(TIFFDIR)/tif_close.o \
474 $(TIFFDIR)/tif_codec.o \
475 $(TIFFDIR)/tif_compress.o \
476 $(TIFFDIR)/tif_dir.o \
477 $(TIFFDIR)/tif_dirinfo.o \
478 $(TIFFDIR)/tif_dirread.o \
479 $(TIFFDIR)/tif_dirwrite.o \
480 $(TIFFDIR)/tif_dumpmode.o \
481 $(TIFFDIR)/tif_error.o \
482 $(TIFFDIR)/tif_fax3.o \
483 $(TIFFDIR)/tif_fax3sm.o \
484 $(TIFFDIR)/tif_flush.o \
485 $(TIFFDIR)/tif_getimage.o \
486 $(TIFFDIR)/tif_jpeg.o \
487 $(TIFFDIR)/tif_luv.o \
488 $(TIFFDIR)/tif_lzw.o \
489 $(TIFFDIR)/tif_next.o \
490 $(TIFFDIR)/tif_open.o \
491 $(TIFFDIR)/tif_packbits.o \
492 $(TIFFDIR)/tif_pixarlog.o \
493 $(TIFFDIR)/tif_predict.o \
494 $(TIFFDIR)/tif_print.o \
495 $(TIFFDIR)/tif_read.o \
496 $(TIFFDIR)/tif_strip.o \
497 $(TIFFDIR)/tif_swab.o \
498 $(TIFFDIR)/tif_thunder.o \
499 $(TIFFDIR)/tif_tile.o \
500 $(TIFFDIR)/tif_version.o \
501 $(TIFFDIR)/tif_warning.o \
502 $(TIFFDIR)/tif_win32.o \
503 $(TIFFDIR)/tif_write.o \
507 ifneq "$(findstring 2.95, $(MINGW32VERSION))" ""
508 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS)
510 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
513 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
515 ifeq ($(wxUSE_GUI),0)
516 OBJECTS = $(MSWOBJS_BASE) $(COMMONOBJS_BASE) $(COMMONOBJS_BASEONLY) $(GENERICOBJS_BASE)
519 # MBN: if anyone has a better solution for this kludge, step
521 # this tests is we are on cygwin or not ( will _not_ work if you are using
522 # ZSH on plain Win32, tought ); it uses the presence of "/"
523 # in the PATH variable
525 # how do you do "VAR=\" ? BLEAGH!
526 BACKSLASH=$(subst a,\,a)
527 ifeq (,$(findstring /,$(PATH)))
529 PATH_SEPARATOR:=$(BACKSLASH)
534 PATH_SUBST:=$(BACKSLASH)
537 #ARCHINCDIR=$(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/lib/msw$(INCEXT))
538 ARCHINCDIR=$(WXDIR)/lib/$(TOOLKIT)$(INCEXT)
540 SETUP_H=$(ARCHINCDIR)/wx/setup.h
543 all: $(SETUP_H) $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB)
545 all: $(SETUP_H) $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB) $(WXDLL)
549 mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR))
550 mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx)
552 $(SETUP_H): $(ARCHINCDIR)/wx
553 $(COPY) $(WXDIR)/include/wx/msw/setup.h $@
555 # $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@)
559 $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
560 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
565 # The new linker is a few orders of magnitude faster than the old way
567 ifeq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
569 $(WXDLL): $(OBJECTS) $(EXTRAOBJS)
570 $(CC) -shared -o $@ \
571 -Wl,--output-def,$(WXDEF) \
572 -Wl,--out-implib,$(WXLIB) \
573 $(OBJECTS) $(EXTRAOBJS) \
574 $(DLL_LDFLAGS) $(DLL_LDLIBS)
578 DLL_ENTRY = _DllMainCRTStartup@12
580 DLL_ENTRY = __cygwin_dll_entry@12
582 LD_STUFF = $(OBJECTS) $(EXTRAOBJS) -Wl,-e,$(DLL_ENTRY) \
583 $(DLL_LDFLAGS) $(DLL_LDLIBS) #-Wl,--image-base=0x66000000
585 DLL_STUFF = --as=$(AS) --dllname $(notdir $(WXDLL)) \
587 --base-file wx.base --output-exp wx.exp
589 $(WXDEF) $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
590 $(DLLTOOL) --output-def $@ --output-lib $(WXLIB) \
591 --dllname $(notdir $(WXDLL)) \
592 $(OBJECTS) $(EXTRAOBJS) $(DLL_EXTRA_LIBS)
594 $(WXDLL): $(OBJECTS) $(EXTRAOBJS) $(WXDEF)
595 $(CC) -mdll -Wl,--base-file,wx.base -s -o $@ $(LD_STUFF)
596 $(DLLTOOL) $(DLL_STUFF)
597 $(CC) -mdll -Wl,--base-file,wx.base wx.exp -s -o $@ $(LD_STUFF)
598 $(DLLTOOL) $(DLL_STUFF)
599 $(CC) -mdll wx.exp -o $@ $(LD_STUFF)
608 $(ZLIBLIB): $(ZLIBOBJS)
609 $(AR) $(AROPTIONS) $@ $(ZLIBOBJS)
612 $(PNGLIB): $(PNGOBJS)
613 $(AR) $(AROPTIONS) $@ $(PNGOBJS)
616 $(JPEGLIB): $(JPEGOBJS)
617 $(AR) $(AROPTIONS) $@ $(JPEGOBJS)
620 $(TIFFLIB): $(TIFFOBJS)
621 $(AR) $(AROPTIONS) $@ $(TIFFOBJS)
625 $(MAKE) -C $(REGEXDIR) -f makefile.g95 WXDIR=$(WXDIR)
627 $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(ARCHINCDIR)/wx/setup.h
629 $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
630 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
632 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
633 $(COPY) ../common/dosyacc.c ../common/y_tab.c
635 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
636 $(COPY) ../common/doslex.c ../common/lex_yy.c
638 # Replace lex with flex if you run into compilation
639 # problems with lex_yy.c. See also note about LEX_SCANNER
641 # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
642 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
644 # Try one of these if the above line doesn't work.
645 # Alternative syntax (1)
646 # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
647 # Alternative syntax (2)
648 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
650 # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
651 # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
652 # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
655 # Replace yacc with bison if you run into compilation
656 # problems with y_tab.c.
658 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
659 # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
661 # If you use e.g. gcc on Unix, uncomment these lines
662 # and comment out the above.
664 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
665 # $(YACC) $(COMMDIR)/parser.y
666 # mv y.tab.c $(COMMDIR)/y_tab.c
673 -$(RM) ../common/y_tab.c
674 -$(RM) ../common/lex_yy.c
676 -$(RM) ../common/*.bak
677 -$(RM) ../generic/*.o
678 -$(RM) ../generic/*.bak
689 -$(RM) ../regex/*.bak
702 ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes"