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