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