]> git.saurik.com Git - wxWidgets.git/blob - src/msw/makefile.g95
Put dialog in more sensible place in Forty, got a bit further
[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)/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)
113
114 COMMONOBJS_BASE = \
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)
179
180 COMMONOBJS_BASEONLY = \
181 $(COMMDIR)/init.$(OBJSUFF)
182
183 COMMONOBJS = \
184 $(COMMONOBJS_BASE) \
185 $(COMMDIR)/y_tab.$(OBJSUFF) \
186 $(COMMDIR)/choiccmn.$(OBJSUFF) \
187 $(COMMDIR)/clipcmn.$(OBJSUFF) \
188 $(COMMDIR)/cmdproc.$(OBJSUFF) \
189 $(COMMDIR)/cmndata.$(OBJSUFF) \
190 $(COMMDIR)/containr.$(OBJSUFF) \
191 $(COMMDIR)/cshelp.$(OBJSUFF) \
192 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
193 $(COMMDIR)/ctrlsub.$(OBJSUFF) \
194 $(COMMDIR)/dbgrid.$(OBJSUFF) \
195 $(COMMDIR)/dcbase.$(OBJSUFF) \
196 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
197 $(COMMDIR)/dndcmn.$(OBJSUFF) \
198 $(COMMDIR)/dobjcmn.$(OBJSUFF) \
199 $(COMMDIR)/docmdi.$(OBJSUFF) \
200 $(COMMDIR)/docview.$(OBJSUFF) \
201 $(COMMDIR)/dseldlg.$(OBJSUFF) \
202 $(COMMDIR)/effects.$(OBJSUFF) \
203 $(COMMDIR)/fddlgcmn.$(OBJSUFF) \
204 $(COMMDIR)/fontcmn.$(OBJSUFF) \
205 $(COMMDIR)/framecmn.$(OBJSUFF) \
206 $(COMMDIR)/gaugecmn.$(OBJSUFF) \
207 $(COMMDIR)/gdicmn.$(OBJSUFF) \
208 $(COMMDIR)/geometry.$(OBJSUFF) \
209 $(COMMDIR)/gifdecod.$(OBJSUFF) \
210 $(COMMDIR)/helpbase.$(OBJSUFF) \
211 $(COMMDIR)/imagall.$(OBJSUFF) \
212 $(COMMDIR)/imagbmp.$(OBJSUFF) \
213 $(COMMDIR)/image.$(OBJSUFF) \
214 $(COMMDIR)/imaggif.$(OBJSUFF) \
215 $(COMMDIR)/imagiff.$(OBJSUFF) \
216 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
217 $(COMMDIR)/imagpcx.$(OBJSUFF) \
218 $(COMMDIR)/imagpng.$(OBJSUFF) \
219 $(COMMDIR)/imagpnm.$(OBJSUFF) \
220 $(COMMDIR)/imagtiff.$(OBJSUFF) \
221 $(COMMDIR)/imagxpm.$(OBJSUFF) \
222 $(COMMDIR)/layout.$(OBJSUFF) \
223 $(COMMDIR)/lboxcmn.$(OBJSUFF) \
224 $(COMMDIR)/matrix.$(OBJSUFF) \
225 $(COMMDIR)/menucmn.$(OBJSUFF) \
226 $(COMMDIR)/nbkbase.$(OBJSUFF) \
227 $(COMMDIR)/paper.$(OBJSUFF) \
228 $(COMMDIR)/popupcmn.$(OBJSUFF) \
229 $(COMMDIR)/prntbase.$(OBJSUFF) \
230 $(COMMDIR)/quantize.$(OBJSUFF) \
231 $(COMMDIR)/radiocmn.$(OBJSUFF) \
232 $(COMMDIR)/resource.$(OBJSUFF) \
233 $(COMMDIR)/sizer.$(OBJSUFF) \
234 $(COMMDIR)/statbar.$(OBJSUFF) \
235 $(COMMDIR)/tbarbase.$(OBJSUFF) \
236 $(COMMDIR)/textcmn.$(OBJSUFF) \
237 $(COMMDIR)/toplvcmn.$(OBJSUFF) \
238 $(COMMDIR)/treebase.$(OBJSUFF) \
239 $(COMMDIR)/valgen.$(OBJSUFF) \
240 $(COMMDIR)/validate.$(OBJSUFF) \
241 $(COMMDIR)/valtext.$(OBJSUFF) \
242 $(COMMDIR)/wincmn.$(OBJSUFF) \
243 $(COMMDIR)/wxexpr.$(OBJSUFF) \
244 $(COMMDIR)/xpmdecod.$(OBJSUFF)
245
246 HTMLOBJS = \
247 $(HTMLDIR)/helpctrl.$(OBJSUFF) \
248 $(HTMLDIR)/helpdata.$(OBJSUFF) \
249 $(HTMLDIR)/helpfrm.$(OBJSUFF) \
250 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
251 $(HTMLDIR)/htmlfilt.$(OBJSUFF) \
252 $(HTMLDIR)/htmlpars.$(OBJSUFF) \
253 $(HTMLDIR)/htmltag.$(OBJSUFF) \
254 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
255 $(HTMLDIR)/htmprint.$(OBJSUFF) \
256 $(HTMLDIR)/m_dflist.$(OBJSUFF) \
257 $(HTMLDIR)/m_fonts.$(OBJSUFF) \
258 $(HTMLDIR)/m_hline.$(OBJSUFF) \
259 $(HTMLDIR)/m_image.$(OBJSUFF) \
260 $(HTMLDIR)/m_layout.$(OBJSUFF) \
261 $(HTMLDIR)/m_links.$(OBJSUFF) \
262 $(HTMLDIR)/m_list.$(OBJSUFF) \
263 $(HTMLDIR)/m_meta.$(OBJSUFF) \
264 $(HTMLDIR)/m_pre.$(OBJSUFF) \
265 $(HTMLDIR)/m_style.$(OBJSUFF) \
266 $(HTMLDIR)/m_tables.$(OBJSUFF) \
267 $(HTMLDIR)/winpars.$(OBJSUFF)
268
269 MSWOBJS_BASE = \
270 $(MSWDIR)/dde.$(OBJSUFF) \
271 $(MSWDIR)/dir.$(OBJSUFF) \
272 $(MSWDIR)/gsocket.$(OBJSUFF) \
273 $(MSWDIR)/gsockmsw.$(OBJSUFF) \
274 $(MSWDIR)/main.$(OBJSUFF) \
275 $(MSWDIR)/mimetype.$(OBJSUFF) \
276 $(MSWDIR)/regconf.$(OBJSUFF) \
277 $(MSWDIR)/registry.$(OBJSUFF) \
278 $(MSWDIR)/snglinst.$(OBJSUFF) \
279 $(MSWDIR)/thread.$(OBJSUFF) \
280 $(MSWDIR)/utils.$(OBJSUFF) \
281 $(MSWDIR)/utilsexc.$(OBJSUFF) \
282 $(MSWDIR)/volume.$(OBJSUFF)
283
284 MSWOBJS = \
285 $(MSWOBJS_BASE) \
286 $(MSWDIR)/accel.$(OBJSUFF) \
287 $(MSWDIR)/app.$(OBJSUFF) \
288 $(MSWDIR)/bitmap.$(OBJSUFF) \
289 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
290 $(MSWDIR)/brush.$(OBJSUFF) \
291 $(MSWDIR)/button.$(OBJSUFF) \
292 $(MSWDIR)/caret.$(OBJSUFF) \
293 $(MSWDIR)/checkbox.$(OBJSUFF) \
294 $(MSWDIR)/checklst.$(OBJSUFF) \
295 $(MSWDIR)/choice.$(OBJSUFF) \
296 $(MSWDIR)/clipbrd.$(OBJSUFF) \
297 $(MSWDIR)/colordlg.$(OBJSUFF) \
298 $(MSWDIR)/colour.$(OBJSUFF) \
299 $(MSWDIR)/combobox.$(OBJSUFF) \
300 $(MSWDIR)/control.$(OBJSUFF) \
301 $(MSWDIR)/curico.$(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)/dibutils.$(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)/joystick.$(OBJSUFF) \
333 $(MSWDIR)/listbox.$(OBJSUFF) \
334 $(MSWDIR)/listctrl.$(OBJSUFF) \
335 $(MSWDIR)/mdi.$(OBJSUFF) \
336 $(MSWDIR)/menu.$(OBJSUFF) \
337 $(MSWDIR)/menuitem.$(OBJSUFF) \
338 $(MSWDIR)/metafile.$(OBJSUFF) \
339 $(MSWDIR)/minifram.$(OBJSUFF) \
340 $(MSWDIR)/msgdlg.$(OBJSUFF) \
341 $(MSWDIR)/mslu.$(OBJSUFF) \
342 $(MSWDIR)/nativdlg.$(OBJSUFF) \
343 $(MSWDIR)/notebook.$(OBJSUFF) \
344 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
345 $(MSWDIR)/palette.$(OBJSUFF) \
346 $(MSWDIR)/pen.$(OBJSUFF) \
347 $(MSWDIR)/penwin.$(OBJSUFF) \
348 $(MSWDIR)/printdlg.$(OBJSUFF) \
349 $(MSWDIR)/printwin.$(OBJSUFF) \
350 $(MSWDIR)/radiobox.$(OBJSUFF) \
351 $(MSWDIR)/radiobut.$(OBJSUFF) \
352 $(MSWDIR)/region.$(OBJSUFF) \
353 $(MSWDIR)/scrolbar.$(OBJSUFF) \
354 $(MSWDIR)/settings.$(OBJSUFF) \
355 $(MSWDIR)/slider95.$(OBJSUFF) \
356 $(MSWDIR)/spinbutt.$(OBJSUFF) \
357 $(MSWDIR)/spinctrl.$(OBJSUFF) \
358 $(MSWDIR)/statbmp.$(OBJSUFF) \
359 $(MSWDIR)/statbox.$(OBJSUFF) \
360 $(MSWDIR)/statbr95.$(OBJSUFF) \
361 $(MSWDIR)/statline.$(OBJSUFF) \
362 $(MSWDIR)/stattext.$(OBJSUFF) \
363 $(MSWDIR)/tabctrl.$(OBJSUFF) \
364 $(MSWDIR)/taskbar.$(OBJSUFF) \
365 $(MSWDIR)/tbar95.$(OBJSUFF) \
366 $(MSWDIR)/textctrl.$(OBJSUFF) \
367 $(MSWDIR)/tglbtn.$(OBJSUFF) \
368 $(MSWDIR)/timer.$(OBJSUFF) \
369 $(MSWDIR)/tooltip.$(OBJSUFF) \
370 $(MSWDIR)/toplevel.$(OBJSUFF) \
371 $(MSWDIR)/treectrl.$(OBJSUFF) \
372 $(MSWDIR)/wave.$(OBJSUFF) \
373 $(MSWDIR)/window.$(OBJSUFF)
374
375 ADVANCEDOBJS_BASE = \
376
377 ADVANCEDOBJS = \
378 $(ADVANCEDOBJS_BASE) \
379 $(COMMDIR)/odbc.$(OBJSUFF) \
380 $(MSWDIR)/ole/automtn.$(OBJSUFF) \
381 $(MSWDIR)/ole/dataobj.$(OBJSUFF) \
382 $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \
383 $(MSWDIR)/ole/droptgt.$(OBJSUFF) \
384 $(MSWDIR)/ole/oleutils.$(OBJSUFF) \
385 $(MSWDIR)/ole/uuid.$(OBJSUFF)
386
387 ZLIBOBJS = \
388 $(ZLIBDIR)/adler32.$(OBJSUFF) \
389 $(ZLIBDIR)/compress.$(OBJSUFF) \
390 $(ZLIBDIR)/crc32.$(OBJSUFF) \
391 $(ZLIBDIR)/gzio.$(OBJSUFF) \
392 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
393 $(ZLIBDIR)/deflate.$(OBJSUFF) \
394 $(ZLIBDIR)/trees.$(OBJSUFF) \
395 $(ZLIBDIR)/zutil.$(OBJSUFF) \
396 $(ZLIBDIR)/inflate.$(OBJSUFF) \
397 $(ZLIBDIR)/infblock.$(OBJSUFF) \
398 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
399 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
400 $(ZLIBDIR)/infutil.$(OBJSUFF) \
401 $(ZLIBDIR)/inffast.$(OBJSUFF)
402
403 PNGOBJS = \
404 $(PNGDIR)/png.$(OBJSUFF) \
405 $(PNGDIR)/pngread.$(OBJSUFF) \
406 $(PNGDIR)/pngrtran.$(OBJSUFF) \
407 $(PNGDIR)/pngrutil.$(OBJSUFF) \
408 $(PNGDIR)/pngpread.$(OBJSUFF) \
409 $(PNGDIR)/pngtrans.$(OBJSUFF) \
410 $(PNGDIR)/pngwrite.$(OBJSUFF) \
411 $(PNGDIR)/pngwtran.$(OBJSUFF) \
412 $(PNGDIR)/pngwutil.$(OBJSUFF) \
413 $(PNGDIR)/pngerror.$(OBJSUFF) \
414 $(PNGDIR)/pngmem.$(OBJSUFF) \
415 $(PNGDIR)/pngwio.$(OBJSUFF) \
416 $(PNGDIR)/pngrio.$(OBJSUFF) \
417 $(PNGDIR)/pngget.$(OBJSUFF) \
418 $(PNGDIR)/pngset.$(OBJSUFF)
419
420
421 JPEGOBJS = \
422 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
423 $(JPEGDIR)/jutils.$(OBJSUFF) \
424 $(JPEGDIR)/jerror.$(OBJSUFF) \
425 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
426 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
427 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
428 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
429 $(JPEGDIR)/jctrans.$(OBJSUFF) \
430 $(JPEGDIR)/jcparam.$(OBJSUFF) \
431 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
432 $(JPEGDIR)/jcinit.$(OBJSUFF) \
433 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
434 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
435 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
436 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
437 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
438 $(JPEGDIR)/jccolor.$(OBJSUFF) \
439 $(JPEGDIR)/jcsample.$(OBJSUFF) \
440 $(JPEGDIR)/jchuff.$(OBJSUFF) \
441 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
442 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
443 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
444 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
445 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
446 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
447 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
448 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
449 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
450 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
451 $(JPEGDIR)/jdinput.$(OBJSUFF) \
452 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
453 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
454 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
455 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
456 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
457 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
458 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
459 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
460 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
461 $(JPEGDIR)/jidctint.$(OBJSUFF) \
462 $(JPEGDIR)/jidctred.$(OBJSUFF) \
463 $(JPEGDIR)/jdsample.$(OBJSUFF) \
464 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
465 $(JPEGDIR)/jquant1.$(OBJSUFF) \
466 $(JPEGDIR)/jquant2.$(OBJSUFF) \
467 $(JPEGDIR)/jdmerge.$(OBJSUFF)
468
469 TIFFOBJS = $(TIFFDIR)/tif_aux.o \
470 $(TIFFDIR)/tif_close.o \
471 $(TIFFDIR)/tif_codec.o \
472 $(TIFFDIR)/tif_compress.o \
473 $(TIFFDIR)/tif_dir.o \
474 $(TIFFDIR)/tif_dirinfo.o \
475 $(TIFFDIR)/tif_dirread.o \
476 $(TIFFDIR)/tif_dirwrite.o \
477 $(TIFFDIR)/tif_dumpmode.o \
478 $(TIFFDIR)/tif_error.o \
479 $(TIFFDIR)/tif_fax3.o \
480 $(TIFFDIR)/tif_fax3sm.o \
481 $(TIFFDIR)/tif_flush.o \
482 $(TIFFDIR)/tif_getimage.o \
483 $(TIFFDIR)/tif_jpeg.o \
484 $(TIFFDIR)/tif_luv.o \
485 $(TIFFDIR)/tif_lzw.o \
486 $(TIFFDIR)/tif_next.o \
487 $(TIFFDIR)/tif_open.o \
488 $(TIFFDIR)/tif_packbits.o \
489 $(TIFFDIR)/tif_pixarlog.o \
490 $(TIFFDIR)/tif_predict.o \
491 $(TIFFDIR)/tif_print.o \
492 $(TIFFDIR)/tif_read.o \
493 $(TIFFDIR)/tif_strip.o \
494 $(TIFFDIR)/tif_swab.o \
495 $(TIFFDIR)/tif_thunder.o \
496 $(TIFFDIR)/tif_tile.o \
497 $(TIFFDIR)/tif_version.o \
498 $(TIFFDIR)/tif_warning.o \
499 $(TIFFDIR)/tif_win32.o \
500 $(TIFFDIR)/tif_write.o \
501 $(TIFFDIR)/tif_zip.o
502
503 ifeq ($(MINGW32),1)
504 ifneq "$(findstring 2.95, $(MINGW32VERSION))" ""
505 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS)
506 else
507 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
508 endif
509 else
510 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
511 endif
512 ifeq ($(wxUSE_GUI),0)
513 OBJECTS = $(MSWOBJS_BASE) $(COMMONOBJS_BASE) $(COMMONOBJS_BASEONLY) $(GENERICOBJS_BASE)
514 endif
515
516 # MBN: if anyone has a better solution for this kludge, step
517 # forward, *please*
518 # this tests is we are on cygwin or not ( will _not_ work if you are using
519 # ZSH on plain Win32, tought ); it uses the presence of "/"
520 # in the PATH variable
521
522 # how do you do "VAR=\" ? BLEAGH!
523 BACKSLASH=$(subst a,\,a)
524 ifeq (,$(findstring /,$(PATH)))
525 IS_CYGWIN=0
526 PATH_SEPARATOR:=$(BACKSLASH)
527 PATH_SUBST=/
528 else
529 IS_CYGWIN=1
530 PATH_SEPARATOR=/
531 PATH_SUBST:=$(BACKSLASH)
532 endif
533
534 #ARCHINCDIR=$(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/lib/msw$(INCEXT))
535 ARCHINCDIR=$(WXDIR)/lib/$(TOOLKIT)$(INCEXT)
536
537 SETUP_H=$(ARCHINCDIR)/wx/setup.h
538
539 ifndef WXMAKINGDLL
540 all: $(SETUP_H) $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB)
541 else
542 all: $(SETUP_H) $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB) $(WXDLL)
543 endif
544
545 $(ARCHINCDIR)/wx:
546 mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR))
547 mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx)
548
549 $(SETUP_H): $(ARCHINCDIR)/wx
550 $(COPY) $(WXDIR)/include/wx/msw/setup.h $@
551
552 # $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@)
553
554 ifndef WXMAKINGDLL
555
556 $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
557 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
558 $(RANLIB) $@
559
560 else
561
562 # The new linker is a few orders of magnitude faster than the old way
563 # of creating DLLs.
564 ifeq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
565
566 $(WXDLL): $(OBJECTS) $(EXTRAOBJS)
567 $(CC) -shared -o $@ \
568 -Wl,--output-def,$(WXDEF) \
569 -Wl,--out-implib,$(WXLIB) \
570 $(OBJECTS) $(EXTRAOBJS) \
571 $(DLL_LDFLAGS) $(DLL_LDLIBS)
572 else
573
574 ifeq ($(MINGW32),1)
575 DLL_ENTRY = _DllMainCRTStartup@12
576 else
577 DLL_ENTRY = __cygwin_dll_entry@12
578 endif
579 LD_STUFF = $(OBJECTS) $(EXTRAOBJS) -Wl,-e,$(DLL_ENTRY) \
580 $(DLL_LDFLAGS) $(DLL_LDLIBS) #-Wl,--image-base=0x66000000
581
582 DLL_STUFF = --as=$(AS) --dllname $(notdir $(WXDLL)) \
583 --def $(WXDEF) \
584 --base-file wx.base --output-exp wx.exp
585
586 $(WXDEF) $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
587 $(DLLTOOL) --output-def $@ --output-lib $(WXLIB) \
588 --dllname $(notdir $(WXDLL)) \
589 $(OBJECTS) $(EXTRAOBJS) $(DLL_EXTRA_LIBS)
590
591 $(WXDLL): $(OBJECTS) $(EXTRAOBJS) $(WXDEF)
592 $(CC) -mdll -Wl,--base-file,wx.base -s -o $@ $(LD_STUFF)
593 $(DLLTOOL) $(DLL_STUFF)
594 $(CC) -mdll -Wl,--base-file,wx.base wx.exp -s -o $@ $(LD_STUFF)
595 $(DLLTOOL) $(DLL_STUFF)
596 $(CC) -mdll wx.exp -o $@ $(LD_STUFF)
597 -$(RM) wx.base
598 -$(RM) wx.exp
599
600 endif
601
602 endif
603
604
605 $(ZLIBLIB): $(ZLIBOBJS)
606 $(AR) $(AROPTIONS) $@ $(ZLIBOBJS)
607 $(RANLIB) $@
608
609 $(PNGLIB): $(PNGOBJS)
610 $(AR) $(AROPTIONS) $@ $(PNGOBJS)
611 $(RANLIB) $@
612
613 $(JPEGLIB): $(JPEGOBJS)
614 $(AR) $(AROPTIONS) $@ $(JPEGOBJS)
615 $(RANLIB) $@
616
617 $(TIFFLIB): $(TIFFOBJS)
618 $(AR) $(AROPTIONS) $@ $(TIFFOBJS)
619 $(RANLIB) $@
620
621 $(REGEXLIB):
622 $(MAKE) -C $(REGEXDIR) -f makefile.g95 WXDIR=$(WXDIR)
623
624 $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(ARCHINCDIR)/wx/setup.h
625
626 $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
627 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
628
629 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
630 $(COPY) ../common/dosyacc.c ../common/y_tab.c
631
632 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
633 $(COPY) ../common/doslex.c ../common/lex_yy.c
634
635 # Replace lex with flex if you run into compilation
636 # problems with lex_yy.c. See also note about LEX_SCANNER
637 # above.
638 # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
639 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
640 #
641 # Try one of these if the above line doesn't work.
642 # Alternative syntax (1)
643 # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
644 # Alternative syntax (2)
645 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
646 #
647 # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
648 # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
649 # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
650 # rm -f lex.yy.c
651 #
652 # Replace yacc with bison if you run into compilation
653 # problems with y_tab.c.
654 #
655 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
656 # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
657 #
658 # If you use e.g. gcc on Unix, uncomment these lines
659 # and comment out the above.
660 #
661 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
662 # $(YACC) $(COMMDIR)/parser.y
663 # mv y.tab.c $(COMMDIR)/y_tab.c
664
665 clean:
666 -$(RM) *.o
667 -$(RM) ole/*.o
668 -$(RM) *.bak
669 -$(RM) core
670 -$(RM) ../common/y_tab.c
671 -$(RM) ../common/lex_yy.c
672 -$(RM) ../common/*.o
673 -$(RM) ../common/*.bak
674 -$(RM) ../generic/*.o
675 -$(RM) ../generic/*.bak
676 -$(RM) ../html/*.o
677 -$(RM) ../zlib/*.o
678 -$(RM) ../zlib/*.bak
679 -$(RM) ../png/*.o
680 -$(RM) ../png/*.bak
681 -$(RM) ../jpeg/*.o
682 -$(RM) ../jpeg/*.bak
683 -$(RM) ../tiff/*.o
684 -$(RM) ../tiff/*.bak
685 -$(RM) ../regex/*.o
686 -$(RM) ../regex/*.bak
687
688 cleanall: clean
689 -$(RM) $(WXLIB)
690 -$(RM) $(ZLIBLIB)
691 -$(RM) $(PNGLIB)
692 -$(RM) $(JPEGLIB)
693 -$(RM) $(TIFFLIB)
694 -$(RM) $(REGEXLIB)
695
696 ifdef WXMAKINGDLL
697 -$(RM) $(WXDLL)
698 -$(RM) $(WXDEF)
699 ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
700 -$(RM) wx.base
701 -$(RM) wx.exp
702 endif
703 endif
704