]> git.saurik.com Git - wxWidgets.git/blob - src/msw/makefile.g95
GetIcon() returns wxIconLocation, not wxIcon, now
[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)/selstore.$(OBJSUFF) \
98 $(GENDIR)/spinctlg.$(OBJSUFF) \
99 $(GENDIR)/splash.$(OBJSUFF) \
100 $(GENDIR)/splitter.$(OBJSUFF) \
101 $(GENDIR)/statusbr.$(OBJSUFF) \
102 $(GENDIR)/tbarsmpl.$(OBJSUFF) \
103 $(GENDIR)/textdlgg.$(OBJSUFF) \
104 $(GENDIR)/tipdlg.$(OBJSUFF) \
105 $(GENDIR)/tipwin.$(OBJSUFF) \
106 $(GENDIR)/treectlg.$(OBJSUFF) \
107 $(GENDIR)/wizard.$(OBJSUFF)
108
109 COMMONOBJS_BASE = \
110 $(COMMDIR)/appcmn.$(OBJSUFF) \
111 $(COMMDIR)/clntdata.$(OBJSUFF) \
112 $(COMMDIR)/cmdline.$(OBJSUFF) \
113 $(COMMDIR)/config.$(OBJSUFF) \
114 $(COMMDIR)/datacmn.$(OBJSUFF) \
115 $(COMMDIR)/datetime.$(OBJSUFF) \
116 $(COMMDIR)/datstrm.$(OBJSUFF) \
117 $(COMMDIR)/db.$(OBJSUFF) \
118 $(COMMDIR)/dbtable.$(OBJSUFF) \
119 $(COMMDIR)/dircmn.$(OBJSUFF) \
120 $(COMMDIR)/dynarray.$(OBJSUFF) \
121 $(COMMDIR)/dynlib.$(OBJSUFF) \
122 $(COMMDIR)/dynload.$(OBJSUFF) \
123 $(COMMDIR)/encconv.$(OBJSUFF) \
124 $(COMMDIR)/event.$(OBJSUFF) \
125 $(COMMDIR)/extended.$(OBJSUFF) \
126 $(COMMDIR)/ffile.$(OBJSUFF) \
127 $(COMMDIR)/file.$(OBJSUFF) \
128 $(COMMDIR)/fileconf.$(OBJSUFF) \
129 $(COMMDIR)/filefn.$(OBJSUFF) \
130 $(COMMDIR)/filename.$(OBJSUFF) \
131 $(COMMDIR)/filesys.$(OBJSUFF) \
132 $(COMMDIR)/fontmap.$(OBJSUFF) \
133 $(COMMDIR)/fs_inet.$(OBJSUFF) \
134 $(COMMDIR)/fs_mem.$(OBJSUFF) \
135 $(COMMDIR)/fs_zip.$(OBJSUFF) \
136 $(COMMDIR)/ftp.$(OBJSUFF) \
137 $(COMMDIR)/hash.$(OBJSUFF) \
138 $(COMMDIR)/hashmap.$(OBJSUFF) \
139 $(COMMDIR)/http.$(OBJSUFF) \
140 $(COMMDIR)/intl.$(OBJSUFF) \
141 $(COMMDIR)/ipcbase.$(OBJSUFF) \
142 $(COMMDIR)/list.$(OBJSUFF) \
143 $(COMMDIR)/log.$(OBJSUFF) \
144 $(COMMDIR)/longlong.$(OBJSUFF) \
145 $(COMMDIR)/memory.$(OBJSUFF) \
146 $(COMMDIR)/mimecmn.$(OBJSUFF) \
147 $(COMMDIR)/module.$(OBJSUFF) \
148 $(COMMDIR)/msgout.$(OBJSUFF) \
149 $(COMMDIR)/mstream.$(OBJSUFF) \
150 $(COMMDIR)/object.$(OBJSUFF) \
151 $(COMMDIR)/process.$(OBJSUFF) \
152 $(COMMDIR)/protocol.$(OBJSUFF) \
153 $(COMMDIR)/regex.$(OBJSUFF) \
154 $(COMMDIR)/sckaddr.$(OBJSUFF) \
155 $(COMMDIR)/sckfile.$(OBJSUFF) \
156 $(COMMDIR)/sckipc.$(OBJSUFF) \
157 $(COMMDIR)/sckstrm.$(OBJSUFF) \
158 $(COMMDIR)/socket.$(OBJSUFF) \
159 $(COMMDIR)/strconv.$(OBJSUFF) \
160 $(COMMDIR)/stream.$(OBJSUFF) \
161 $(COMMDIR)/string.$(OBJSUFF) \
162 $(COMMDIR)/sysopt.$(OBJSUFF) \
163 $(COMMDIR)/textbuf.$(OBJSUFF) \
164 $(COMMDIR)/textfile.$(OBJSUFF) \
165 $(COMMDIR)/timercmn.$(OBJSUFF) \
166 $(COMMDIR)/tokenzr.$(OBJSUFF) \
167 $(COMMDIR)/txtstrm.$(OBJSUFF) \
168 $(COMMDIR)/unzip.$(OBJSUFF) \
169 $(COMMDIR)/url.$(OBJSUFF) \
170 $(COMMDIR)/utilscmn.$(OBJSUFF) \
171 $(COMMDIR)/variant.$(OBJSUFF) \
172 $(COMMDIR)/wfstream.$(OBJSUFF) \
173 $(COMMDIR)/wxchar.$(OBJSUFF) \
174 $(COMMDIR)/zipstrm.$(OBJSUFF) \
175 $(COMMDIR)/zstream.$(OBJSUFF)
176
177 COMMONOBJS_BASEONLY = \
178 $(COMMDIR)/init.$(OBJSUFF)
179
180 COMMONOBJS = \
181 $(COMMONOBJS_BASE) \
182 $(COMMDIR)/accesscmn.$(OBJSUFF) \
183 $(COMMDIR)/artprov.$(OBJSUFF) \
184 $(COMMDIR)/artstd.$(OBJSUFF) \
185 $(COMMDIR)/choiccmn.$(OBJSUFF) \
186 $(COMMDIR)/clipcmn.$(OBJSUFF) \
187 $(COMMDIR)/cmdproc.$(OBJSUFF) \
188 $(COMMDIR)/cmndata.$(OBJSUFF) \
189 $(COMMDIR)/containr.$(OBJSUFF) \
190 $(COMMDIR)/cshelp.$(OBJSUFF) \
191 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
192 $(COMMDIR)/ctrlsub.$(OBJSUFF) \
193 $(COMMDIR)/dbgrid.$(OBJSUFF) \
194 $(COMMDIR)/dcbase.$(OBJSUFF) \
195 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
196 $(COMMDIR)/dndcmn.$(OBJSUFF) \
197 $(COMMDIR)/dobjcmn.$(OBJSUFF) \
198 $(COMMDIR)/docmdi.$(OBJSUFF) \
199 $(COMMDIR)/docview.$(OBJSUFF) \
200 $(COMMDIR)/dpycmn.$(OBJSUFF) \
201 $(COMMDIR)/dseldlg.$(OBJSUFF) \
202 $(COMMDIR)/effects.$(OBJSUFF) \
203 $(COMMDIR)/fddlgcmn.$(OBJSUFF) \
204 $(COMMDIR)/fldlgcmn.$(OBJSUFF) \
205 $(COMMDIR)/fontcmn.$(OBJSUFF) \
206 $(COMMDIR)/framecmn.$(OBJSUFF) \
207 $(COMMDIR)/gaugecmn.$(OBJSUFF) \
208 $(COMMDIR)/gdicmn.$(OBJSUFF) \
209 $(COMMDIR)/geometry.$(OBJSUFF) \
210 $(COMMDIR)/gifdecod.$(OBJSUFF) \
211 $(COMMDIR)/helpbase.$(OBJSUFF) \
212 $(COMMDIR)/iconbndl.$(OBJSUFF) \
213 $(COMMDIR)/imagall.$(OBJSUFF) \
214 $(COMMDIR)/imagbmp.$(OBJSUFF) \
215 $(COMMDIR)/image.$(OBJSUFF) \
216 $(COMMDIR)/imagfill.$(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)/rgncmn.$(OBJSUFF) \
236 $(COMMDIR)/settcmn.$(OBJSUFF) \
237 $(COMMDIR)/sizer.$(OBJSUFF) \
238 $(COMMDIR)/statbar.$(OBJSUFF) \
239 $(COMMDIR)/taskbarcmn.$(OBJSUFF) \
240 $(COMMDIR)/tbarbase.$(OBJSUFF) \
241 $(COMMDIR)/textcmn.$(OBJSUFF) \
242 $(COMMDIR)/toplvcmn.$(OBJSUFF) \
243 $(COMMDIR)/treebase.$(OBJSUFF) \
244 $(COMMDIR)/valgen.$(OBJSUFF) \
245 $(COMMDIR)/validate.$(OBJSUFF) \
246 $(COMMDIR)/valtext.$(OBJSUFF) \
247 $(COMMDIR)/wincmn.$(OBJSUFF) \
248 $(COMMDIR)/xpmdecod.$(OBJSUFF)
249
250 HTMLOBJS = \
251 $(HTMLDIR)/helpctrl.$(OBJSUFF) \
252 $(HTMLDIR)/helpdata.$(OBJSUFF) \
253 $(HTMLDIR)/helpfrm.$(OBJSUFF) \
254 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
255 $(HTMLDIR)/htmlfilt.$(OBJSUFF) \
256 $(HTMLDIR)/htmlpars.$(OBJSUFF) \
257 $(HTMLDIR)/htmltag.$(OBJSUFF) \
258 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
259 $(HTMLDIR)/htmprint.$(OBJSUFF) \
260 $(HTMLDIR)/m_dflist.$(OBJSUFF) \
261 $(HTMLDIR)/m_fonts.$(OBJSUFF) \
262 $(HTMLDIR)/m_hline.$(OBJSUFF) \
263 $(HTMLDIR)/m_image.$(OBJSUFF) \
264 $(HTMLDIR)/m_layout.$(OBJSUFF) \
265 $(HTMLDIR)/m_links.$(OBJSUFF) \
266 $(HTMLDIR)/m_list.$(OBJSUFF) \
267 $(HTMLDIR)/m_pre.$(OBJSUFF) \
268 $(HTMLDIR)/m_style.$(OBJSUFF) \
269 $(HTMLDIR)/m_tables.$(OBJSUFF) \
270 $(HTMLDIR)/winpars.$(OBJSUFF)
271
272 MSWOBJS_BASE = \
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)
286
287 MSWOBJS = \
288 $(MSWOBJS_BASE) \
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)/cursor.$(OBJSUFF) \
305 $(MSWDIR)/data.$(OBJSUFF) \
306 $(MSWDIR)/dc.$(OBJSUFF) \
307 $(MSWDIR)/dcclient.$(OBJSUFF) \
308 $(MSWDIR)/dcmemory.$(OBJSUFF) \
309 $(MSWDIR)/dcprint.$(OBJSUFF) \
310 $(MSWDIR)/dcscreen.$(OBJSUFF) \
311 $(MSWDIR)/dialog.$(OBJSUFF) \
312 $(MSWDIR)/dialup.$(OBJSUFF) \
313 $(MSWDIR)/dib.$(OBJSUFF) \
314 $(MSWDIR)/display.$(OBJSUFF) \
315 $(MSWDIR)/dragimag.$(OBJSUFF) \
316 $(MSWDIR)/enhmeta.$(OBJSUFF) \
317 $(MSWDIR)/evtloop.$(OBJSUFF) \
318 $(MSWDIR)/fdrepdlg.$(OBJSUFF) \
319 $(MSWDIR)/filedlg.$(OBJSUFF) \
320 $(MSWDIR)/font.$(OBJSUFF) \
321 $(MSWDIR)/fontdlg.$(OBJSUFF) \
322 $(MSWDIR)/fontenum.$(OBJSUFF) \
323 $(MSWDIR)/fontutil.$(OBJSUFF) \
324 $(MSWDIR)/frame.$(OBJSUFF) \
325 $(MSWDIR)/gauge95.$(OBJSUFF) \
326 $(MSWDIR)/gdiimage.$(OBJSUFF) \
327 $(MSWDIR)/gdiobj.$(OBJSUFF) \
328 $(MSWDIR)/glcanvas.$(OBJSUFF) \
329 $(MSWDIR)/helpbest.$(OBJSUFF) \
330 $(MSWDIR)/helpchm.$(OBJSUFF) \
331 $(MSWDIR)/helpwin.$(OBJSUFF) \
332 $(MSWDIR)/icon.$(OBJSUFF) \
333 $(MSWDIR)/imaglist.$(OBJSUFF) \
334 $(MSWDIR)/iniconf.$(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)/popupwin.$(OBJSUFF) \
352 $(MSWDIR)/printdlg.$(OBJSUFF) \
353 $(MSWDIR)/printwin.$(OBJSUFF) \
354 $(MSWDIR)/radiobox.$(OBJSUFF) \
355 $(MSWDIR)/radiobut.$(OBJSUFF) \
356 $(MSWDIR)/region.$(OBJSUFF) \
357 $(MSWDIR)/scrolbar.$(OBJSUFF) \
358 $(MSWDIR)/settings.$(OBJSUFF) \
359 $(MSWDIR)/slider95.$(OBJSUFF) \
360 $(MSWDIR)/spinbutt.$(OBJSUFF) \
361 $(MSWDIR)/spinctrl.$(OBJSUFF) \
362 $(MSWDIR)/statbmp.$(OBJSUFF) \
363 $(MSWDIR)/statbox.$(OBJSUFF) \
364 $(MSWDIR)/statbr95.$(OBJSUFF) \
365 $(MSWDIR)/statline.$(OBJSUFF) \
366 $(MSWDIR)/stattext.$(OBJSUFF) \
367 $(MSWDIR)/tabctrl.$(OBJSUFF) \
368 $(MSWDIR)/taskbar.$(OBJSUFF) \
369 $(MSWDIR)/tbar95.$(OBJSUFF) \
370 $(MSWDIR)/textctrl.$(OBJSUFF) \
371 $(MSWDIR)/tglbtn.$(OBJSUFF) \
372 $(MSWDIR)/timer.$(OBJSUFF) \
373 $(MSWDIR)/tooltip.$(OBJSUFF) \
374 $(MSWDIR)/toplevel.$(OBJSUFF) \
375 $(MSWDIR)/treectrl.$(OBJSUFF) \
376 $(MSWDIR)/uxtheme.$(OBJSUFF) \
377 $(MSWDIR)/wave.$(OBJSUFF) \
378 $(MSWDIR)/window.$(OBJSUFF)
379
380 ADVANCEDOBJS_BASE = \
381
382 ADVANCEDOBJS = \
383 $(ADVANCEDOBJS_BASE) \
384 $(MSWDIR)/ole/access.$(OBJSUFF) \
385 $(MSWDIR)/ole/automtn.$(OBJSUFF) \
386 $(MSWDIR)/ole/dataobj.$(OBJSUFF) \
387 $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \
388 $(MSWDIR)/ole/droptgt.$(OBJSUFF) \
389 $(MSWDIR)/ole/oleutils.$(OBJSUFF) \
390 $(MSWDIR)/ole/uuid.$(OBJSUFF)
391
392 ZLIBOBJS = \
393 $(ZLIBDIR)/adler32.$(OBJSUFF) \
394 $(ZLIBDIR)/compress.$(OBJSUFF) \
395 $(ZLIBDIR)/crc32.$(OBJSUFF) \
396 $(ZLIBDIR)/gzio.$(OBJSUFF) \
397 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
398 $(ZLIBDIR)/deflate.$(OBJSUFF) \
399 $(ZLIBDIR)/trees.$(OBJSUFF) \
400 $(ZLIBDIR)/zutil.$(OBJSUFF) \
401 $(ZLIBDIR)/inflate.$(OBJSUFF) \
402 $(ZLIBDIR)/infblock.$(OBJSUFF) \
403 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
404 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
405 $(ZLIBDIR)/infutil.$(OBJSUFF) \
406 $(ZLIBDIR)/inffast.$(OBJSUFF)
407
408 PNGOBJS = \
409 $(PNGDIR)/png.$(OBJSUFF) \
410 $(PNGDIR)/pngread.$(OBJSUFF) \
411 $(PNGDIR)/pngrtran.$(OBJSUFF) \
412 $(PNGDIR)/pngrutil.$(OBJSUFF) \
413 $(PNGDIR)/pngpread.$(OBJSUFF) \
414 $(PNGDIR)/pngtrans.$(OBJSUFF) \
415 $(PNGDIR)/pngwrite.$(OBJSUFF) \
416 $(PNGDIR)/pngwtran.$(OBJSUFF) \
417 $(PNGDIR)/pngwutil.$(OBJSUFF) \
418 $(PNGDIR)/pngerror.$(OBJSUFF) \
419 $(PNGDIR)/pngmem.$(OBJSUFF) \
420 $(PNGDIR)/pngwio.$(OBJSUFF) \
421 $(PNGDIR)/pngrio.$(OBJSUFF) \
422 $(PNGDIR)/pngget.$(OBJSUFF) \
423 $(PNGDIR)/pngset.$(OBJSUFF)
424
425
426 JPEGOBJS = \
427 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
428 $(JPEGDIR)/jutils.$(OBJSUFF) \
429 $(JPEGDIR)/jerror.$(OBJSUFF) \
430 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
431 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
432 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
433 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
434 $(JPEGDIR)/jctrans.$(OBJSUFF) \
435 $(JPEGDIR)/jcparam.$(OBJSUFF) \
436 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
437 $(JPEGDIR)/jcinit.$(OBJSUFF) \
438 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
439 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
440 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
441 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
442 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
443 $(JPEGDIR)/jccolor.$(OBJSUFF) \
444 $(JPEGDIR)/jcsample.$(OBJSUFF) \
445 $(JPEGDIR)/jchuff.$(OBJSUFF) \
446 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
447 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
448 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
449 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
450 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
451 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
452 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
453 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
454 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
455 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
456 $(JPEGDIR)/jdinput.$(OBJSUFF) \
457 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
458 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
459 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
460 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
461 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
462 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
463 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
464 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
465 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
466 $(JPEGDIR)/jidctint.$(OBJSUFF) \
467 $(JPEGDIR)/jidctred.$(OBJSUFF) \
468 $(JPEGDIR)/jdsample.$(OBJSUFF) \
469 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
470 $(JPEGDIR)/jquant1.$(OBJSUFF) \
471 $(JPEGDIR)/jquant2.$(OBJSUFF) \
472 $(JPEGDIR)/jdmerge.$(OBJSUFF)
473
474 TIFFOBJS = $(TIFFDIR)/tif_aux.o \
475 $(TIFFDIR)/tif_close.o \
476 $(TIFFDIR)/tif_codec.o \
477 $(TIFFDIR)/tif_compress.o \
478 $(TIFFDIR)/tif_dir.o \
479 $(TIFFDIR)/tif_dirinfo.o \
480 $(TIFFDIR)/tif_dirread.o \
481 $(TIFFDIR)/tif_dirwrite.o \
482 $(TIFFDIR)/tif_dumpmode.o \
483 $(TIFFDIR)/tif_error.o \
484 $(TIFFDIR)/tif_fax3.o \
485 $(TIFFDIR)/tif_fax3sm.o \
486 $(TIFFDIR)/tif_flush.o \
487 $(TIFFDIR)/tif_getimage.o \
488 $(TIFFDIR)/tif_jpeg.o \
489 $(TIFFDIR)/tif_luv.o \
490 $(TIFFDIR)/tif_lzw.o \
491 $(TIFFDIR)/tif_next.o \
492 $(TIFFDIR)/tif_open.o \
493 $(TIFFDIR)/tif_packbits.o \
494 $(TIFFDIR)/tif_pixarlog.o \
495 $(TIFFDIR)/tif_predict.o \
496 $(TIFFDIR)/tif_print.o \
497 $(TIFFDIR)/tif_read.o \
498 $(TIFFDIR)/tif_strip.o \
499 $(TIFFDIR)/tif_swab.o \
500 $(TIFFDIR)/tif_thunder.o \
501 $(TIFFDIR)/tif_tile.o \
502 $(TIFFDIR)/tif_version.o \
503 $(TIFFDIR)/tif_warning.o \
504 $(TIFFDIR)/tif_win32.o \
505 $(TIFFDIR)/tif_write.o \
506 $(TIFFDIR)/tif_zip.o
507
508 ifeq "$(strip $(RECENT_MINGW))" "yes"
509 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS)
510 else
511 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
512 endif
513 ifeq ($(wxUSE_GUI),0)
514 OBJECTS = $(MSWOBJS_BASE) $(COMMONOBJS_BASE) $(COMMONOBJS_BASEONLY) $(GENERICOBJS_BASE)
515 endif
516
517 # how do you do "VAR=\" ? BLEAGH!
518 BACKSLASH=$(subst a,\,a)
519 ifeq (,$(findstring $(OSTYPE),"cygwin!msys"))
520 PATH_SEPARATOR:=$(BACKSLASH)
521 PATH_SUBST=/
522 else
523 PATH_SEPARATOR=/
524 PATH_SUBST:=$(BACKSLASH)
525 endif
526
527 #ARCHINCDIR=$(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/lib/msw$(INCEXT))
528 ARCHINCDIR=$(WXDIR)/lib/$(TOOLKIT)$(INCEXT)
529
530 SETUP_H=$(ARCHINCDIR)/wx/setup.h
531
532 ifndef WXMAKINGDLL
533 all: $(SETUP_H) $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB)
534 else
535 all: $(SETUP_H) $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB) $(WXDLL)
536 endif
537
538 $(ARCHINCDIR)/wx:
539 mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR))
540 mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx)
541
542 # Copy ALWAYS uses forward slashes now.
543
544 $(SETUP_H): $(ARCHINCDIR)/wx $(WXDIR)/include/wx/msw/setup.h
545 $(COPY) $(WXDIR)/include/wx/msw/setup.h $(subst $(BACKSLASH),/,$@)
546
547 # $(COPY) $(WXDIR)/include/wx/msw/setup.h $@
548 # $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@)
549
550 ifndef WXMAKINGDLL
551
552 $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
553 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
554 $(RANLIB) $@
555
556 else
557
558 # The new linker is a few orders of magnitude faster than the old way
559 # of creating DLLs.
560 ifeq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
561
562 $(WXDLL): $(OBJECTS) $(EXTRAOBJS)
563 $(CXX) -shared -o $@ \
564 -Wl,--output-def,$(WXDEF) \
565 -Wl,--out-implib,$(WXLIB) \
566 $(OBJECTS) $(EXTRAOBJS) \
567 $(DLL_LDFLAGS) $(DLL_LDLIBS) \
568 $(ALL_LDFLAGS_DLL)
569 else
570
571 ifeq ($(MINGW32),1)
572 DLL_ENTRY = _DllMainCRTStartup@12
573 else
574 DLL_ENTRY = __cygwin_dll_entry@12
575 endif
576 LD_STUFF = $(OBJECTS) $(EXTRAOBJS) -Wl,-e,$(DLL_ENTRY) \
577 $(DLL_LDFLAGS) $(DLL_LDLIBS) #-Wl,--image-base=0x66000000
578
579 DLL_STUFF = --as=$(AS) --dllname $(notdir $(WXDLL)) \
580 --def $(WXDEF) \
581 --base-file wx.base --output-exp wx.exp
582
583 $(WXDEF) $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
584 $(DLLTOOL) --output-def $@ --output-lib $(WXLIB) \
585 --dllname $(notdir $(WXDLL)) \
586 $(OBJECTS) $(EXTRAOBJS) $(DLL_EXTRA_LIBS)
587
588 $(WXDLL): $(OBJECTS) $(EXTRAOBJS) $(WXDEF)
589 $(CC) -mdll -Wl,--base-file,wx.base -s -o $@ $(LD_STUFF) $(ALL_LDFLAGS_DLL)
590 $(DLLTOOL) $(DLL_STUFF)
591 $(CC) -mdll -Wl,--base-file,wx.base wx.exp -s -o $@ $(LD_STUFF) $(ALL_LDFLAGS_DLL)
592 $(DLLTOOL) $(DLL_STUFF)
593 $(CC) -mdll wx.exp -o $@ $(LD_STUFF) $(ALL_LDFLAGS_DLL)
594 -$(RM) wx.base
595 -$(RM) wx.exp
596
597 endif
598
599 endif
600
601
602 $(ZLIBLIB): $(ZLIBOBJS)
603 $(AR) $(AROPTIONS) $@ $(ZLIBOBJS)
604 $(RANLIB) $@
605
606 $(PNGLIB): $(PNGOBJS)
607 $(AR) $(AROPTIONS) $@ $(PNGOBJS)
608 $(RANLIB) $@
609
610 $(JPEGLIB): $(JPEGOBJS)
611 $(AR) $(AROPTIONS) $@ $(JPEGOBJS)
612 $(RANLIB) $@
613
614 $(TIFFLIB): $(TIFFOBJS)
615 $(AR) $(AROPTIONS) $@ $(TIFFOBJS)
616 $(RANLIB) $@
617
618 $(REGEXLIB):
619 $(MAKE) -C $(REGEXDIR) -f makefile.g95 MINGW32=$(MINGW32) WXDIR=$(WXDIR) WXWIN=$(WXDIR)
620
621 $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(ARCHINCDIR)/wx/setup.h
622
623 clean:
624 -$(RM) *.o
625 -$(RM) ole/*.o
626 -$(RM) *.bak
627 -$(RM) core
628 -$(RM) ../common/*.o
629 -$(RM) ../common/*.bak
630 -$(RM) ../generic/*.o
631 -$(RM) ../generic/*.bak
632 -$(RM) ../html/*.o
633 -$(RM) ../zlib/*.o
634 -$(RM) ../zlib/*.bak
635 -$(RM) ../png/*.o
636 -$(RM) ../png/*.bak
637 -$(RM) ../jpeg/*.o
638 -$(RM) ../jpeg/*.bak
639 -$(RM) ../tiff/*.o
640 -$(RM) ../tiff/*.bak
641 -$(RM) ../regex/*.o
642 -$(RM) ../regex/*.bak
643
644 cleanall: clean
645 -$(RM) $(WXLIB)
646 -$(RM) $(ZLIBLIB)
647 -$(RM) $(PNGLIB)
648 -$(RM) $(JPEGLIB)
649 -$(RM) $(TIFFLIB)
650 -$(RM) $(REGEXLIB)
651
652 ifdef WXMAKINGDLL
653 -$(RM) $(WXDLL)
654 -$(RM) $(WXDEF)
655 ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
656 -$(RM) wx.base
657 -$(RM) wx.exp
658 endif
659 endif
660