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