]> git.saurik.com Git - wxWidgets.git/blob - src/msw/makefile.g95
Acutally use the m_maxChars parameter value instead of ignoring it
[wxWidgets.git] / src / msw / makefile.g95
1 # This file was automatically generated by tmake
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) 1999, Vadim Zeitlin
10 # Copyright:(c) 1999, Robert Roebling
11 #
12 # Makefile for libwx.a
13
14 # Replace this with your own path if necessary
15 WXDIR = ../..
16
17 # All common compiler flags and options are now in
18 # this central makefile.
19 include $(WXDIR)/src/makeg95.env
20
21 # DLL Name, if building wxWindows as a DLL.
22 ifdef WXMAKINGDLL
23 WXDLL = $(WXDIR)/lib/wx$(TOOLKIT)$(WXVERSION)$(UNIEXT)$(DEBEXT)$(MIN_SUFFIX).dll
24 WXDEF = wx$(TOOLKIT)$(WXVERSION)$(UNIEXT)$(DEBEXT).def
25 DLL_EXTRA_LIBS = $(WXDIR)/lib/libzlib$(MIN_SUFFIX).a \
26 $(WXDIR)/lib/libpng$(MIN_SUFFIX).a \
27 $(WXDIR)/lib/libjpeg$(MIN_SUFFIX).a \
28 $(WXDIR)/lib/libtiff$(MIN_SUFFIX).a \
29 $(WXDIR)/lib/libregex$(MIN_SUFFIX).a
30 DLL_LDFLAGS = -L$(WXDIR)/lib
31 DLL_BASE_LDLIBS = $(DLL_EXTRA_LIBS) -lstdc++ -lwsock32
32 ifeq ($(wxUSE_GUI),0)
33 DLL_LDLIBS = $(DLL_BASE_LDLIBS)
34 else
35 DLL_LDLIBS = -lcomctl32 -lctl3d32 -lole32 -loleaut32 \
36 -luuid -lrpcrt4 -lodbc32 -lwinmm -lopengl32 \
37 $(DLL_BASE_LDLIBS)
38 endif
39 endif
40
41 # Subordinate library possibilities
42
43 EXTRAOBJS=
44
45 GENDIR = $(WXDIR)/src/generic
46 COMMDIR = $(WXDIR)/src/common
47 HTMLDIR = $(WXDIR)/src/html
48 ZLIBDIR = $(WXDIR)/src/zlib
49 PNGDIR = $(WXDIR)/src/png
50 JPEGDIR = $(WXDIR)/src/jpeg
51 TIFFDIR = $(WXDIR)/src/tiff
52 OLEDIR = $(WXDIR)/src/msw/ole
53 MSWDIR = $(WXDIR)/src/msw
54 REGEXDIR= $(WXDIR)/src/regex
55
56 ZLIBLIB = $(WXDIR)/lib/libzlib$(MIN_SUFFIX).a
57 PNGLIB = $(WXDIR)/lib/libpng$(MIN_SUFFIX).a
58 JPEGLIB = $(WXDIR)/lib/libjpeg$(MIN_SUFFIX).a
59 TIFFLIB = $(WXDIR)/lib/libtiff$(MIN_SUFFIX).a
60 REGEXLIB= $(WXDIR)/lib/libregex$(MIN_SUFFIX).a
61
62 DOCDIR = $(WXDIR)/docs
63
64 # Only use the WIN32 wxDirDialog if we have a recent
65 # version of Mingw32
66 ifeq "$(strip $(RECENT_MINGW))" "yes"
67 DIRDLGOBJ = $(MSWDIR)/dirdlg.$(OBJSUFF)
68 else
69 DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF)
70 endif
71
72 ifeq ($(wxUSE_GUI),0)
73 DIRDLGOBJ =
74 endif
75
76 GENERICOBJS_BASE = \
77
78 GENERICOBJS = \
79 $(GENERICOBJS_BASE) \
80 $(GENDIR)/busyinfo.$(OBJSUFF) \
81 $(GENDIR)/calctrl.$(OBJSUFF) \
82 $(GENDIR)/choicdgg.$(OBJSUFF) \
83 $(GENDIR)/dcbuffer.$(OBJSUFF) \
84 $(GENDIR)/dcpsg.$(OBJSUFF) \
85 $(GENDIR)/dirctrlg.$(OBJSUFF) \
86 $(GENDIR)/dragimgg.$(OBJSUFF) \
87 $(GENDIR)/grid.$(OBJSUFF) \
88 $(GENDIR)/gridctrl.$(OBJSUFF) \
89 $(GENDIR)/gridsel.$(OBJSUFF) \
90 $(GENDIR)/laywin.$(OBJSUFF) \
91 $(GENDIR)/logg.$(OBJSUFF) \
92 $(GENDIR)/numdlgg.$(OBJSUFF) \
93 $(GENDIR)/panelg.$(OBJSUFF) \
94 $(GENDIR)/progdlgg.$(OBJSUFF) \
95 $(GENDIR)/sashwin.$(OBJSUFF) \
96 $(GENDIR)/scrlwing.$(OBJSUFF) \
97 $(GENDIR)/spinctlg.$(OBJSUFF) \
98 $(GENDIR)/splash.$(OBJSUFF) \
99 $(GENDIR)/splitter.$(OBJSUFF) \
100 $(GENDIR)/statusbr.$(OBJSUFF) \
101 $(GENDIR)/tbarsmpl.$(OBJSUFF) \
102 $(GENDIR)/textdlgg.$(OBJSUFF) \
103 $(GENDIR)/tipdlg.$(OBJSUFF) \
104 $(GENDIR)/tipwin.$(OBJSUFF) \
105 $(GENDIR)/treectlg.$(OBJSUFF) \
106 $(GENDIR)/wizard.$(OBJSUFF)
107
108 COMMONOBJS_BASE = \
109 $(COMMDIR)/appcmn.$(OBJSUFF) \
110 $(COMMDIR)/clntdata.$(OBJSUFF) \
111 $(COMMDIR)/cmdline.$(OBJSUFF) \
112 $(COMMDIR)/config.$(OBJSUFF) \
113 $(COMMDIR)/datacmn.$(OBJSUFF) \
114 $(COMMDIR)/datetime.$(OBJSUFF) \
115 $(COMMDIR)/datstrm.$(OBJSUFF) \
116 $(COMMDIR)/db.$(OBJSUFF) \
117 $(COMMDIR)/dbtable.$(OBJSUFF) \
118 $(COMMDIR)/dircmn.$(OBJSUFF) \
119 $(COMMDIR)/dynarray.$(OBJSUFF) \
120 $(COMMDIR)/dynlib.$(OBJSUFF) \
121 $(COMMDIR)/dynload.$(OBJSUFF) \
122 $(COMMDIR)/encconv.$(OBJSUFF) \
123 $(COMMDIR)/event.$(OBJSUFF) \
124 $(COMMDIR)/extended.$(OBJSUFF) \
125 $(COMMDIR)/ffile.$(OBJSUFF) \
126 $(COMMDIR)/file.$(OBJSUFF) \
127 $(COMMDIR)/fileconf.$(OBJSUFF) \
128 $(COMMDIR)/filefn.$(OBJSUFF) \
129 $(COMMDIR)/filename.$(OBJSUFF) \
130 $(COMMDIR)/filesys.$(OBJSUFF) \
131 $(COMMDIR)/fontmap.$(OBJSUFF) \
132 $(COMMDIR)/fs_inet.$(OBJSUFF) \
133 $(COMMDIR)/fs_mem.$(OBJSUFF) \
134 $(COMMDIR)/fs_zip.$(OBJSUFF) \
135 $(COMMDIR)/ftp.$(OBJSUFF) \
136 $(COMMDIR)/hash.$(OBJSUFF) \
137 $(COMMDIR)/hashmap.$(OBJSUFF) \
138 $(COMMDIR)/http.$(OBJSUFF) \
139 $(COMMDIR)/intl.$(OBJSUFF) \
140 $(COMMDIR)/ipcbase.$(OBJSUFF) \
141 $(COMMDIR)/list.$(OBJSUFF) \
142 $(COMMDIR)/log.$(OBJSUFF) \
143 $(COMMDIR)/longlong.$(OBJSUFF) \
144 $(COMMDIR)/memory.$(OBJSUFF) \
145 $(COMMDIR)/mimecmn.$(OBJSUFF) \
146 $(COMMDIR)/module.$(OBJSUFF) \
147 $(COMMDIR)/msgout.$(OBJSUFF) \
148 $(COMMDIR)/mstream.$(OBJSUFF) \
149 $(COMMDIR)/object.$(OBJSUFF) \
150 $(COMMDIR)/process.$(OBJSUFF) \
151 $(COMMDIR)/protocol.$(OBJSUFF) \
152 $(COMMDIR)/regex.$(OBJSUFF) \
153 $(COMMDIR)/sckaddr.$(OBJSUFF) \
154 $(COMMDIR)/sckfile.$(OBJSUFF) \
155 $(COMMDIR)/sckipc.$(OBJSUFF) \
156 $(COMMDIR)/sckstrm.$(OBJSUFF) \
157 $(COMMDIR)/socket.$(OBJSUFF) \
158 $(COMMDIR)/strconv.$(OBJSUFF) \
159 $(COMMDIR)/stream.$(OBJSUFF) \
160 $(COMMDIR)/string.$(OBJSUFF) \
161 $(COMMDIR)/sysopt.$(OBJSUFF) \
162 $(COMMDIR)/textbuf.$(OBJSUFF) \
163 $(COMMDIR)/textfile.$(OBJSUFF) \
164 $(COMMDIR)/timercmn.$(OBJSUFF) \
165 $(COMMDIR)/tokenzr.$(OBJSUFF) \
166 $(COMMDIR)/txtstrm.$(OBJSUFF) \
167 $(COMMDIR)/unzip.$(OBJSUFF) \
168 $(COMMDIR)/url.$(OBJSUFF) \
169 $(COMMDIR)/utilscmn.$(OBJSUFF) \
170 $(COMMDIR)/variant.$(OBJSUFF) \
171 $(COMMDIR)/wfstream.$(OBJSUFF) \
172 $(COMMDIR)/wxchar.$(OBJSUFF) \
173 $(COMMDIR)/zipstrm.$(OBJSUFF) \
174 $(COMMDIR)/zstream.$(OBJSUFF)
175
176 COMMONOBJS_BASEONLY = \
177 $(COMMDIR)/init.$(OBJSUFF)
178
179 COMMONOBJS = \
180 $(COMMONOBJS_BASE) \
181 $(COMMDIR)/accesscmn.$(OBJSUFF) \
182 $(COMMDIR)/artprov.$(OBJSUFF) \
183 $(COMMDIR)/artstd.$(OBJSUFF) \
184 $(COMMDIR)/choiccmn.$(OBJSUFF) \
185 $(COMMDIR)/clipcmn.$(OBJSUFF) \
186 $(COMMDIR)/cmdproc.$(OBJSUFF) \
187 $(COMMDIR)/cmndata.$(OBJSUFF) \
188 $(COMMDIR)/containr.$(OBJSUFF) \
189 $(COMMDIR)/cshelp.$(OBJSUFF) \
190 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
191 $(COMMDIR)/ctrlsub.$(OBJSUFF) \
192 $(COMMDIR)/dbgrid.$(OBJSUFF) \
193 $(COMMDIR)/dcbase.$(OBJSUFF) \
194 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
195 $(COMMDIR)/dndcmn.$(OBJSUFF) \
196 $(COMMDIR)/dobjcmn.$(OBJSUFF) \
197 $(COMMDIR)/docmdi.$(OBJSUFF) \
198 $(COMMDIR)/docview.$(OBJSUFF) \
199 $(COMMDIR)/dpycmn.$(OBJSUFF) \
200 $(COMMDIR)/dseldlg.$(OBJSUFF) \
201 $(COMMDIR)/effects.$(OBJSUFF) \
202 $(COMMDIR)/fddlgcmn.$(OBJSUFF) \
203 $(COMMDIR)/fontcmn.$(OBJSUFF) \
204 $(COMMDIR)/framecmn.$(OBJSUFF) \
205 $(COMMDIR)/gaugecmn.$(OBJSUFF) \
206 $(COMMDIR)/gdicmn.$(OBJSUFF) \
207 $(COMMDIR)/geometry.$(OBJSUFF) \
208 $(COMMDIR)/gifdecod.$(OBJSUFF) \
209 $(COMMDIR)/helpbase.$(OBJSUFF) \
210 $(COMMDIR)/iconbndl.$(OBJSUFF) \
211 $(COMMDIR)/imagall.$(OBJSUFF) \
212 $(COMMDIR)/imagbmp.$(OBJSUFF) \
213 $(COMMDIR)/image.$(OBJSUFF) \
214 $(COMMDIR)/imagfill.$(OBJSUFF) \
215 $(COMMDIR)/imaggif.$(OBJSUFF) \
216 $(COMMDIR)/imagiff.$(OBJSUFF) \
217 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
218 $(COMMDIR)/imagpcx.$(OBJSUFF) \
219 $(COMMDIR)/imagpng.$(OBJSUFF) \
220 $(COMMDIR)/imagpnm.$(OBJSUFF) \
221 $(COMMDIR)/imagtiff.$(OBJSUFF) \
222 $(COMMDIR)/imagxpm.$(OBJSUFF) \
223 $(COMMDIR)/layout.$(OBJSUFF) \
224 $(COMMDIR)/lboxcmn.$(OBJSUFF) \
225 $(COMMDIR)/matrix.$(OBJSUFF) \
226 $(COMMDIR)/menucmn.$(OBJSUFF) \
227 $(COMMDIR)/nbkbase.$(OBJSUFF) \
228 $(COMMDIR)/paper.$(OBJSUFF) \
229 $(COMMDIR)/popupcmn.$(OBJSUFF) \
230 $(COMMDIR)/prntbase.$(OBJSUFF) \
231 $(COMMDIR)/quantize.$(OBJSUFF) \
232 $(COMMDIR)/radiocmn.$(OBJSUFF) \
233 $(COMMDIR)/rgncmn.$(OBJSUFF) \
234 $(COMMDIR)/settcmn.$(OBJSUFF) \
235 $(COMMDIR)/sizer.$(OBJSUFF) \
236 $(COMMDIR)/statbar.$(OBJSUFF) \
237 $(COMMDIR)/taskbarcmn.$(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)/xpmdecod.$(OBJSUFF)
247
248 HTMLOBJS = \
249 $(HTMLDIR)/helpctrl.$(OBJSUFF) \
250 $(HTMLDIR)/helpdata.$(OBJSUFF) \
251 $(HTMLDIR)/helpfrm.$(OBJSUFF) \
252 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
253 $(HTMLDIR)/htmlfilt.$(OBJSUFF) \
254 $(HTMLDIR)/htmlpars.$(OBJSUFF) \
255 $(HTMLDIR)/htmltag.$(OBJSUFF) \
256 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
257 $(HTMLDIR)/htmprint.$(OBJSUFF) \
258 $(HTMLDIR)/m_dflist.$(OBJSUFF) \
259 $(HTMLDIR)/m_fonts.$(OBJSUFF) \
260 $(HTMLDIR)/m_hline.$(OBJSUFF) \
261 $(HTMLDIR)/m_image.$(OBJSUFF) \
262 $(HTMLDIR)/m_layout.$(OBJSUFF) \
263 $(HTMLDIR)/m_links.$(OBJSUFF) \
264 $(HTMLDIR)/m_list.$(OBJSUFF) \
265 $(HTMLDIR)/m_pre.$(OBJSUFF) \
266 $(HTMLDIR)/m_style.$(OBJSUFF) \
267 $(HTMLDIR)/m_tables.$(OBJSUFF) \
268 $(HTMLDIR)/winpars.$(OBJSUFF)
269
270 MSWOBJS_BASE = \
271 $(MSWDIR)/dde.$(OBJSUFF) \
272 $(MSWDIR)/dir.$(OBJSUFF) \
273 $(MSWDIR)/gsocket.$(OBJSUFF) \
274 $(MSWDIR)/gsockmsw.$(OBJSUFF) \
275 $(MSWDIR)/main.$(OBJSUFF) \
276 $(MSWDIR)/mimetype.$(OBJSUFF) \
277 $(MSWDIR)/regconf.$(OBJSUFF) \
278 $(MSWDIR)/registry.$(OBJSUFF) \
279 $(MSWDIR)/snglinst.$(OBJSUFF) \
280 $(MSWDIR)/thread.$(OBJSUFF) \
281 $(MSWDIR)/utils.$(OBJSUFF) \
282 $(MSWDIR)/utilsexc.$(OBJSUFF) \
283 $(MSWDIR)/volume.$(OBJSUFF)
284
285 MSWOBJS = \
286 $(MSWOBJS_BASE) \
287 $(MSWDIR)/accel.$(OBJSUFF) \
288 $(MSWDIR)/app.$(OBJSUFF) \
289 $(MSWDIR)/bitmap.$(OBJSUFF) \
290 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
291 $(MSWDIR)/brush.$(OBJSUFF) \
292 $(MSWDIR)/button.$(OBJSUFF) \
293 $(MSWDIR)/caret.$(OBJSUFF) \
294 $(MSWDIR)/checkbox.$(OBJSUFF) \
295 $(MSWDIR)/checklst.$(OBJSUFF) \
296 $(MSWDIR)/choice.$(OBJSUFF) \
297 $(MSWDIR)/clipbrd.$(OBJSUFF) \
298 $(MSWDIR)/colordlg.$(OBJSUFF) \
299 $(MSWDIR)/colour.$(OBJSUFF) \
300 $(MSWDIR)/combobox.$(OBJSUFF) \
301 $(MSWDIR)/control.$(OBJSUFF) \
302 $(MSWDIR)/cursor.$(OBJSUFF) \
303 $(MSWDIR)/data.$(OBJSUFF) \
304 $(MSWDIR)/dc.$(OBJSUFF) \
305 $(MSWDIR)/dcclient.$(OBJSUFF) \
306 $(MSWDIR)/dcmemory.$(OBJSUFF) \
307 $(MSWDIR)/dcprint.$(OBJSUFF) \
308 $(MSWDIR)/dcscreen.$(OBJSUFF) \
309 $(MSWDIR)/dialog.$(OBJSUFF) \
310 $(MSWDIR)/dialup.$(OBJSUFF) \
311 $(MSWDIR)/dib.$(OBJSUFF) \
312 $(MSWDIR)/display.$(OBJSUFF) \
313 $(MSWDIR)/dragimag.$(OBJSUFF) \
314 $(MSWDIR)/enhmeta.$(OBJSUFF) \
315 $(MSWDIR)/evtloop.$(OBJSUFF) \
316 $(MSWDIR)/fdrepdlg.$(OBJSUFF) \
317 $(MSWDIR)/filedlg.$(OBJSUFF) \
318 $(MSWDIR)/font.$(OBJSUFF) \
319 $(MSWDIR)/fontdlg.$(OBJSUFF) \
320 $(MSWDIR)/fontenum.$(OBJSUFF) \
321 $(MSWDIR)/fontutil.$(OBJSUFF) \
322 $(MSWDIR)/frame.$(OBJSUFF) \
323 $(MSWDIR)/gauge95.$(OBJSUFF) \
324 $(MSWDIR)/gdiimage.$(OBJSUFF) \
325 $(MSWDIR)/gdiobj.$(OBJSUFF) \
326 $(MSWDIR)/glcanvas.$(OBJSUFF) \
327 $(MSWDIR)/helpbest.$(OBJSUFF) \
328 $(MSWDIR)/helpchm.$(OBJSUFF) \
329 $(MSWDIR)/helpwin.$(OBJSUFF) \
330 $(MSWDIR)/icon.$(OBJSUFF) \
331 $(MSWDIR)/imaglist.$(OBJSUFF) \
332 $(MSWDIR)/iniconf.$(OBJSUFF) \
333 $(MSWDIR)/joystick.$(OBJSUFF) \
334 $(MSWDIR)/listbox.$(OBJSUFF) \
335 $(MSWDIR)/listctrl.$(OBJSUFF) \
336 $(MSWDIR)/mdi.$(OBJSUFF) \
337 $(MSWDIR)/menu.$(OBJSUFF) \
338 $(MSWDIR)/menuitem.$(OBJSUFF) \
339 $(MSWDIR)/metafile.$(OBJSUFF) \
340 $(MSWDIR)/minifram.$(OBJSUFF) \
341 $(MSWDIR)/msgdlg.$(OBJSUFF) \
342 $(MSWDIR)/mslu.$(OBJSUFF) \
343 $(MSWDIR)/nativdlg.$(OBJSUFF) \
344 $(MSWDIR)/notebook.$(OBJSUFF) \
345 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
346 $(MSWDIR)/palette.$(OBJSUFF) \
347 $(MSWDIR)/pen.$(OBJSUFF) \
348 $(MSWDIR)/penwin.$(OBJSUFF) \
349 $(MSWDIR)/popupwin.$(OBJSUFF) \
350 $(MSWDIR)/printdlg.$(OBJSUFF) \
351 $(MSWDIR)/printwin.$(OBJSUFF) \
352 $(MSWDIR)/radiobox.$(OBJSUFF) \
353 $(MSWDIR)/radiobut.$(OBJSUFF) \
354 $(MSWDIR)/region.$(OBJSUFF) \
355 $(MSWDIR)/scrolbar.$(OBJSUFF) \
356 $(MSWDIR)/settings.$(OBJSUFF) \
357 $(MSWDIR)/slider95.$(OBJSUFF) \
358 $(MSWDIR)/spinbutt.$(OBJSUFF) \
359 $(MSWDIR)/spinctrl.$(OBJSUFF) \
360 $(MSWDIR)/statbmp.$(OBJSUFF) \
361 $(MSWDIR)/statbox.$(OBJSUFF) \
362 $(MSWDIR)/statbr95.$(OBJSUFF) \
363 $(MSWDIR)/statline.$(OBJSUFF) \
364 $(MSWDIR)/stattext.$(OBJSUFF) \
365 $(MSWDIR)/tabctrl.$(OBJSUFF) \
366 $(MSWDIR)/taskbar.$(OBJSUFF) \
367 $(MSWDIR)/tbar95.$(OBJSUFF) \
368 $(MSWDIR)/textctrl.$(OBJSUFF) \
369 $(MSWDIR)/tglbtn.$(OBJSUFF) \
370 $(MSWDIR)/timer.$(OBJSUFF) \
371 $(MSWDIR)/tooltip.$(OBJSUFF) \
372 $(MSWDIR)/toplevel.$(OBJSUFF) \
373 $(MSWDIR)/treectrl.$(OBJSUFF) \
374 $(MSWDIR)/wave.$(OBJSUFF) \
375 $(MSWDIR)/window.$(OBJSUFF)
376
377 ADVANCEDOBJS_BASE = \
378
379 ADVANCEDOBJS = \
380 $(ADVANCEDOBJS_BASE) \
381 $(MSWDIR)/ole/access.$(OBJSUFF) \
382 $(MSWDIR)/ole/automtn.$(OBJSUFF) \
383 $(MSWDIR)/ole/dataobj.$(OBJSUFF) \
384 $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \
385 $(MSWDIR)/ole/droptgt.$(OBJSUFF) \
386 $(MSWDIR)/ole/oleutils.$(OBJSUFF) \
387 $(MSWDIR)/ole/uuid.$(OBJSUFF)
388
389 ZLIBOBJS = \
390 $(ZLIBDIR)/adler32.$(OBJSUFF) \
391 $(ZLIBDIR)/compress.$(OBJSUFF) \
392 $(ZLIBDIR)/crc32.$(OBJSUFF) \
393 $(ZLIBDIR)/gzio.$(OBJSUFF) \
394 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
395 $(ZLIBDIR)/deflate.$(OBJSUFF) \
396 $(ZLIBDIR)/trees.$(OBJSUFF) \
397 $(ZLIBDIR)/zutil.$(OBJSUFF) \
398 $(ZLIBDIR)/inflate.$(OBJSUFF) \
399 $(ZLIBDIR)/infblock.$(OBJSUFF) \
400 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
401 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
402 $(ZLIBDIR)/infutil.$(OBJSUFF) \
403 $(ZLIBDIR)/inffast.$(OBJSUFF)
404
405 PNGOBJS = \
406 $(PNGDIR)/png.$(OBJSUFF) \
407 $(PNGDIR)/pngread.$(OBJSUFF) \
408 $(PNGDIR)/pngrtran.$(OBJSUFF) \
409 $(PNGDIR)/pngrutil.$(OBJSUFF) \
410 $(PNGDIR)/pngpread.$(OBJSUFF) \
411 $(PNGDIR)/pngtrans.$(OBJSUFF) \
412 $(PNGDIR)/pngwrite.$(OBJSUFF) \
413 $(PNGDIR)/pngwtran.$(OBJSUFF) \
414 $(PNGDIR)/pngwutil.$(OBJSUFF) \
415 $(PNGDIR)/pngerror.$(OBJSUFF) \
416 $(PNGDIR)/pngmem.$(OBJSUFF) \
417 $(PNGDIR)/pngwio.$(OBJSUFF) \
418 $(PNGDIR)/pngrio.$(OBJSUFF) \
419 $(PNGDIR)/pngget.$(OBJSUFF) \
420 $(PNGDIR)/pngset.$(OBJSUFF)
421
422
423 JPEGOBJS = \
424 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
425 $(JPEGDIR)/jutils.$(OBJSUFF) \
426 $(JPEGDIR)/jerror.$(OBJSUFF) \
427 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
428 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
429 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
430 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
431 $(JPEGDIR)/jctrans.$(OBJSUFF) \
432 $(JPEGDIR)/jcparam.$(OBJSUFF) \
433 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
434 $(JPEGDIR)/jcinit.$(OBJSUFF) \
435 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
436 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
437 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
438 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
439 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
440 $(JPEGDIR)/jccolor.$(OBJSUFF) \
441 $(JPEGDIR)/jcsample.$(OBJSUFF) \
442 $(JPEGDIR)/jchuff.$(OBJSUFF) \
443 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
444 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
445 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
446 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
447 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
448 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
449 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
450 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
451 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
452 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
453 $(JPEGDIR)/jdinput.$(OBJSUFF) \
454 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
455 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
456 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
457 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
458 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
459 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
460 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
461 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
462 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
463 $(JPEGDIR)/jidctint.$(OBJSUFF) \
464 $(JPEGDIR)/jidctred.$(OBJSUFF) \
465 $(JPEGDIR)/jdsample.$(OBJSUFF) \
466 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
467 $(JPEGDIR)/jquant1.$(OBJSUFF) \
468 $(JPEGDIR)/jquant2.$(OBJSUFF) \
469 $(JPEGDIR)/jdmerge.$(OBJSUFF)
470
471 TIFFOBJS = $(TIFFDIR)/tif_aux.o \
472 $(TIFFDIR)/tif_close.o \
473 $(TIFFDIR)/tif_codec.o \
474 $(TIFFDIR)/tif_compress.o \
475 $(TIFFDIR)/tif_dir.o \
476 $(TIFFDIR)/tif_dirinfo.o \
477 $(TIFFDIR)/tif_dirread.o \
478 $(TIFFDIR)/tif_dirwrite.o \
479 $(TIFFDIR)/tif_dumpmode.o \
480 $(TIFFDIR)/tif_error.o \
481 $(TIFFDIR)/tif_fax3.o \
482 $(TIFFDIR)/tif_fax3sm.o \
483 $(TIFFDIR)/tif_flush.o \
484 $(TIFFDIR)/tif_getimage.o \
485 $(TIFFDIR)/tif_jpeg.o \
486 $(TIFFDIR)/tif_luv.o \
487 $(TIFFDIR)/tif_lzw.o \
488 $(TIFFDIR)/tif_next.o \
489 $(TIFFDIR)/tif_open.o \
490 $(TIFFDIR)/tif_packbits.o \
491 $(TIFFDIR)/tif_pixarlog.o \
492 $(TIFFDIR)/tif_predict.o \
493 $(TIFFDIR)/tif_print.o \
494 $(TIFFDIR)/tif_read.o \
495 $(TIFFDIR)/tif_strip.o \
496 $(TIFFDIR)/tif_swab.o \
497 $(TIFFDIR)/tif_thunder.o \
498 $(TIFFDIR)/tif_tile.o \
499 $(TIFFDIR)/tif_version.o \
500 $(TIFFDIR)/tif_warning.o \
501 $(TIFFDIR)/tif_win32.o \
502 $(TIFFDIR)/tif_write.o \
503 $(TIFFDIR)/tif_zip.o
504
505 ifeq "$(strip $(RECENT_MINGW))" "yes"
506 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS)
507 else
508 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
509 endif
510 ifeq ($(wxUSE_GUI),0)
511 OBJECTS = $(MSWOBJS_BASE) $(COMMONOBJS_BASE) $(COMMONOBJS_BASEONLY) $(GENERICOBJS_BASE)
512 endif
513
514 # how do you do "VAR=\" ? BLEAGH!
515 BACKSLASH=$(subst a,\,a)
516 ifeq (,$(findstring $(OSTYPE),"cygwin!msys"))
517 PATH_SEPARATOR:=$(BACKSLASH)
518 PATH_SUBST=/
519 else
520 PATH_SEPARATOR=/
521 PATH_SUBST:=$(BACKSLASH)
522 endif
523
524 #ARCHINCDIR=$(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/lib/msw$(INCEXT))
525 ARCHINCDIR=$(WXDIR)/lib/$(TOOLKIT)$(INCEXT)
526
527 SETUP_H=$(ARCHINCDIR)/wx/setup.h
528
529 ifndef WXMAKINGDLL
530 all: $(SETUP_H) $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB)
531 else
532 all: $(SETUP_H) $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB) $(WXDLL)
533 endif
534
535 $(ARCHINCDIR)/wx:
536 mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR))
537 mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx)
538
539 # Copy ALWAYS uses forward slashes now.
540
541 $(SETUP_H): $(ARCHINCDIR)/wx $(WXDIR)/include/wx/msw/setup.h
542 $(COPY) $(WXDIR)/include/wx/msw/setup.h $(subst $(BACKSLASH),/,$@)
543
544 # $(COPY) $(WXDIR)/include/wx/msw/setup.h $@
545 # $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@)
546
547 ifndef WXMAKINGDLL
548
549 $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
550 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
551 $(RANLIB) $@
552
553 else
554
555 # The new linker is a few orders of magnitude faster than the old way
556 # of creating DLLs.
557 ifeq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
558
559 $(WXDLL): $(OBJECTS) $(EXTRAOBJS)
560 $(CXX) -shared -o $@ \
561 -Wl,--output-def,$(WXDEF) \
562 -Wl,--out-implib,$(WXLIB) \
563 $(OBJECTS) $(EXTRAOBJS) \
564 $(DLL_LDFLAGS) $(DLL_LDLIBS) \
565 $(ALL_LDFLAGS_DLL)
566 else
567
568 ifeq ($(MINGW32),1)
569 DLL_ENTRY = _DllMainCRTStartup@12
570 else
571 DLL_ENTRY = __cygwin_dll_entry@12
572 endif
573 LD_STUFF = $(OBJECTS) $(EXTRAOBJS) -Wl,-e,$(DLL_ENTRY) \
574 $(DLL_LDFLAGS) $(DLL_LDLIBS) #-Wl,--image-base=0x66000000
575
576 DLL_STUFF = --as=$(AS) --dllname $(notdir $(WXDLL)) \
577 --def $(WXDEF) \
578 --base-file wx.base --output-exp wx.exp
579
580 $(WXDEF) $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
581 $(DLLTOOL) --output-def $@ --output-lib $(WXLIB) \
582 --dllname $(notdir $(WXDLL)) \
583 $(OBJECTS) $(EXTRAOBJS) $(DLL_EXTRA_LIBS)
584
585 $(WXDLL): $(OBJECTS) $(EXTRAOBJS) $(WXDEF)
586 $(CC) -mdll -Wl,--base-file,wx.base -s -o $@ $(LD_STUFF) $(ALL_LDFLAGS_DLL)
587 $(DLLTOOL) $(DLL_STUFF)
588 $(CC) -mdll -Wl,--base-file,wx.base wx.exp -s -o $@ $(LD_STUFF) $(ALL_LDFLAGS_DLL)
589 $(DLLTOOL) $(DLL_STUFF)
590 $(CC) -mdll wx.exp -o $@ $(LD_STUFF) $(ALL_LDFLAGS_DLL)
591 -$(RM) wx.base
592 -$(RM) wx.exp
593
594 endif
595
596 endif
597
598
599 $(ZLIBLIB): $(ZLIBOBJS)
600 $(AR) $(AROPTIONS) $@ $(ZLIBOBJS)
601 $(RANLIB) $@
602
603 $(PNGLIB): $(PNGOBJS)
604 $(AR) $(AROPTIONS) $@ $(PNGOBJS)
605 $(RANLIB) $@
606
607 $(JPEGLIB): $(JPEGOBJS)
608 $(AR) $(AROPTIONS) $@ $(JPEGOBJS)
609 $(RANLIB) $@
610
611 $(TIFFLIB): $(TIFFOBJS)
612 $(AR) $(AROPTIONS) $@ $(TIFFOBJS)
613 $(RANLIB) $@
614
615 $(REGEXLIB):
616 $(MAKE) -C $(REGEXDIR) -f makefile.g95 MINGW32=$(MINGW32) WXDIR=$(WXDIR) WXWIN=$(WXDIR)
617
618 $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(ARCHINCDIR)/wx/setup.h
619
620 clean:
621 -$(RM) *.o
622 -$(RM) ole/*.o
623 -$(RM) *.bak
624 -$(RM) core
625 -$(RM) ../common/*.o
626 -$(RM) ../common/*.bak
627 -$(RM) ../generic/*.o
628 -$(RM) ../generic/*.bak
629 -$(RM) ../html/*.o
630 -$(RM) ../zlib/*.o
631 -$(RM) ../zlib/*.bak
632 -$(RM) ../png/*.o
633 -$(RM) ../png/*.bak
634 -$(RM) ../jpeg/*.o
635 -$(RM) ../jpeg/*.bak
636 -$(RM) ../tiff/*.o
637 -$(RM) ../tiff/*.bak
638 -$(RM) ../regex/*.o
639 -$(RM) ../regex/*.bak
640
641 cleanall: clean
642 -$(RM) $(WXLIB)
643 -$(RM) $(ZLIBLIB)
644 -$(RM) $(PNGLIB)
645 -$(RM) $(JPEGLIB)
646 -$(RM) $(TIFFLIB)
647 -$(RM) $(REGEXLIB)
648
649 ifdef WXMAKINGDLL
650 -$(RM) $(WXDLL)
651 -$(RM) $(WXDEF)
652 ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
653 -$(RM) wx.base
654 -$(RM) wx.exp
655 endif
656 endif
657