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