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