]>
Commit | Line | Data |
---|---|---|
1 | # This file was automatically generated by tmake at 18:13, 2000/09/12 | |
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 -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 | 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)/dirctrlg.$(OBJSUFF) \ | |
76 | $(GENDIR)/dragimgg.$(OBJSUFF) \ | |
77 | $(GENDIR)/grid.$(OBJSUFF) \ | |
78 | $(GENDIR)/gridsel.$(OBJSUFF) \ | |
79 | $(GENDIR)/laywin.$(OBJSUFF) \ | |
80 | $(GENDIR)/logg.$(OBJSUFF) \ | |
81 | $(GENDIR)/numdlgg.$(OBJSUFF) \ | |
82 | $(GENDIR)/panelg.$(OBJSUFF) \ | |
83 | $(GENDIR)/plot.$(OBJSUFF) \ | |
84 | $(GENDIR)/progdlgg.$(OBJSUFF) \ | |
85 | $(GENDIR)/prop.$(OBJSUFF) \ | |
86 | $(GENDIR)/propform.$(OBJSUFF) \ | |
87 | $(GENDIR)/proplist.$(OBJSUFF) \ | |
88 | $(GENDIR)/sashwin.$(OBJSUFF) \ | |
89 | $(GENDIR)/scrolwin.$(OBJSUFF) \ | |
90 | $(GENDIR)/splash.$(OBJSUFF) \ | |
91 | $(GENDIR)/splitter.$(OBJSUFF) \ | |
92 | $(GENDIR)/statusbr.$(OBJSUFF) \ | |
93 | $(GENDIR)/tbarsmpl.$(OBJSUFF) \ | |
94 | $(GENDIR)/textdlgg.$(OBJSUFF) \ | |
95 | $(GENDIR)/tipdlg.$(OBJSUFF) \ | |
96 | $(GENDIR)/tipwin.$(OBJSUFF) \ | |
97 | $(GENDIR)/treectlg.$(OBJSUFF) \ | |
98 | $(GENDIR)/treelay.$(OBJSUFF) \ | |
99 | $(GENDIR)/wizard.$(OBJSUFF) | |
100 | ||
101 | COMMONOBJS = \ | |
102 | $(COMMDIR)/y_tab.$(OBJSUFF) \ | |
103 | $(COMMDIR)/appcmn.$(OBJSUFF) \ | |
104 | $(COMMDIR)/choiccmn.$(OBJSUFF) \ | |
105 | $(COMMDIR)/clipcmn.$(OBJSUFF) \ | |
106 | $(COMMDIR)/cmdline.$(OBJSUFF) \ | |
107 | $(COMMDIR)/cmndata.$(OBJSUFF) \ | |
108 | $(COMMDIR)/config.$(OBJSUFF) \ | |
109 | $(COMMDIR)/cshelp.$(OBJSUFF) \ | |
110 | $(COMMDIR)/ctrlcmn.$(OBJSUFF) \ | |
111 | $(COMMDIR)/ctrlsub.$(OBJSUFF) \ | |
112 | $(COMMDIR)/datetime.$(OBJSUFF) \ | |
113 | $(COMMDIR)/datstrm.$(OBJSUFF) \ | |
114 | $(COMMDIR)/db.$(OBJSUFF) \ | |
115 | $(COMMDIR)/dbtable.$(OBJSUFF) \ | |
116 | $(COMMDIR)/dcbase.$(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)/filesys.$(OBJSUFF) \ | |
133 | $(COMMDIR)/fontcmn.$(OBJSUFF) \ | |
134 | $(COMMDIR)/fontmap.$(OBJSUFF) \ | |
135 | $(COMMDIR)/framecmn.$(OBJSUFF) \ | |
136 | $(COMMDIR)/fs_inet.$(OBJSUFF) \ | |
137 | $(COMMDIR)/fs_mem.$(OBJSUFF) \ | |
138 | $(COMMDIR)/fs_zip.$(OBJSUFF) \ | |
139 | $(COMMDIR)/ftp.$(OBJSUFF) \ | |
140 | $(COMMDIR)/gdicmn.$(OBJSUFF) \ | |
141 | $(COMMDIR)/geometry.$(OBJSUFF) \ | |
142 | $(COMMDIR)/gifdecod.$(OBJSUFF) \ | |
143 | $(COMMDIR)/hash.$(OBJSUFF) \ | |
144 | $(COMMDIR)/helpbase.$(OBJSUFF) \ | |
145 | $(COMMDIR)/http.$(OBJSUFF) \ | |
146 | $(COMMDIR)/imagall.$(OBJSUFF) \ | |
147 | $(COMMDIR)/imagbmp.$(OBJSUFF) \ | |
148 | $(COMMDIR)/image.$(OBJSUFF) \ | |
149 | $(COMMDIR)/imaggif.$(OBJSUFF) \ | |
150 | $(COMMDIR)/imagjpeg.$(OBJSUFF) \ | |
151 | $(COMMDIR)/imagpcx.$(OBJSUFF) \ | |
152 | $(COMMDIR)/imagpng.$(OBJSUFF) \ | |
153 | $(COMMDIR)/imagpnm.$(OBJSUFF) \ | |
154 | $(COMMDIR)/imagtiff.$(OBJSUFF) \ | |
155 | $(COMMDIR)/intl.$(OBJSUFF) \ | |
156 | $(COMMDIR)/ipcbase.$(OBJSUFF) \ | |
157 | $(COMMDIR)/layout.$(OBJSUFF) \ | |
158 | $(COMMDIR)/lboxcmn.$(OBJSUFF) \ | |
159 | $(COMMDIR)/list.$(OBJSUFF) \ | |
160 | $(COMMDIR)/log.$(OBJSUFF) \ | |
161 | $(COMMDIR)/longlong.$(OBJSUFF) \ | |
162 | $(COMMDIR)/memory.$(OBJSUFF) \ | |
163 | $(COMMDIR)/menucmn.$(OBJSUFF) \ | |
164 | $(COMMDIR)/mimecmn.$(OBJSUFF) \ | |
165 | $(COMMDIR)/module.$(OBJSUFF) \ | |
166 | $(COMMDIR)/mstream.$(OBJSUFF) \ | |
167 | $(COMMDIR)/object.$(OBJSUFF) \ | |
168 | $(COMMDIR)/objstrm.$(OBJSUFF) \ | |
169 | $(COMMDIR)/paper.$(OBJSUFF) \ | |
170 | $(COMMDIR)/prntbase.$(OBJSUFF) \ | |
171 | $(COMMDIR)/process.$(OBJSUFF) \ | |
172 | $(COMMDIR)/protocol.$(OBJSUFF) \ | |
173 | $(COMMDIR)/quantize.$(OBJSUFF) \ | |
174 | $(COMMDIR)/resource.$(OBJSUFF) \ | |
175 | $(COMMDIR)/sckaddr.$(OBJSUFF) \ | |
176 | $(COMMDIR)/sckfile.$(OBJSUFF) \ | |
177 | $(COMMDIR)/sckipc.$(OBJSUFF) \ | |
178 | $(COMMDIR)/sckstrm.$(OBJSUFF) \ | |
179 | $(COMMDIR)/serbase.$(OBJSUFF) \ | |
180 | $(COMMDIR)/sizer.$(OBJSUFF) \ | |
181 | $(COMMDIR)/socket.$(OBJSUFF) \ | |
182 | $(COMMDIR)/strconv.$(OBJSUFF) \ | |
183 | $(COMMDIR)/stream.$(OBJSUFF) \ | |
184 | $(COMMDIR)/string.$(OBJSUFF) \ | |
185 | $(COMMDIR)/tbarbase.$(OBJSUFF) \ | |
186 | $(COMMDIR)/textcmn.$(OBJSUFF) \ | |
187 | $(COMMDIR)/textfile.$(OBJSUFF) \ | |
188 | $(COMMDIR)/timercmn.$(OBJSUFF) \ | |
189 | $(COMMDIR)/tokenzr.$(OBJSUFF) \ | |
190 | $(COMMDIR)/treebase.$(OBJSUFF) \ | |
191 | $(COMMDIR)/txtstrm.$(OBJSUFF) \ | |
192 | $(COMMDIR)/unzip.$(OBJSUFF) \ | |
193 | $(COMMDIR)/url.$(OBJSUFF) \ | |
194 | $(COMMDIR)/utilscmn.$(OBJSUFF) \ | |
195 | $(COMMDIR)/valgen.$(OBJSUFF) \ | |
196 | $(COMMDIR)/validate.$(OBJSUFF) \ | |
197 | $(COMMDIR)/valtext.$(OBJSUFF) \ | |
198 | $(COMMDIR)/variant.$(OBJSUFF) \ | |
199 | $(COMMDIR)/wfstream.$(OBJSUFF) \ | |
200 | $(COMMDIR)/wincmn.$(OBJSUFF) \ | |
201 | $(COMMDIR)/wxchar.$(OBJSUFF) \ | |
202 | $(COMMDIR)/wxexpr.$(OBJSUFF) \ | |
203 | $(COMMDIR)/zipstrm.$(OBJSUFF) \ | |
204 | $(COMMDIR)/zstream.$(OBJSUFF) | |
205 | ||
206 | HTMLOBJS = \ | |
207 | $(HTMLDIR)/helpctrl.$(OBJSUFF) \ | |
208 | $(HTMLDIR)/helpdata.$(OBJSUFF) \ | |
209 | $(HTMLDIR)/helpfrm.$(OBJSUFF) \ | |
210 | $(HTMLDIR)/htmlcell.$(OBJSUFF) \ | |
211 | $(HTMLDIR)/htmlfilt.$(OBJSUFF) \ | |
212 | $(HTMLDIR)/htmlpars.$(OBJSUFF) \ | |
213 | $(HTMLDIR)/htmltag.$(OBJSUFF) \ | |
214 | $(HTMLDIR)/htmlwin.$(OBJSUFF) \ | |
215 | $(HTMLDIR)/htmprint.$(OBJSUFF) \ | |
216 | $(HTMLDIR)/m_dflist.$(OBJSUFF) \ | |
217 | $(HTMLDIR)/m_fonts.$(OBJSUFF) \ | |
218 | $(HTMLDIR)/m_hline.$(OBJSUFF) \ | |
219 | $(HTMLDIR)/m_image.$(OBJSUFF) \ | |
220 | $(HTMLDIR)/m_layout.$(OBJSUFF) \ | |
221 | $(HTMLDIR)/m_links.$(OBJSUFF) \ | |
222 | $(HTMLDIR)/m_list.$(OBJSUFF) \ | |
223 | $(HTMLDIR)/m_meta.$(OBJSUFF) \ | |
224 | $(HTMLDIR)/m_pre.$(OBJSUFF) \ | |
225 | $(HTMLDIR)/m_tables.$(OBJSUFF) \ | |
226 | $(HTMLDIR)/winpars.$(OBJSUFF) | |
227 | ||
228 | MSWOBJS = \ | |
229 | $(MSWDIR)/accel.$(OBJSUFF) \ | |
230 | $(MSWDIR)/app.$(OBJSUFF) \ | |
231 | $(MSWDIR)/bitmap.$(OBJSUFF) \ | |
232 | $(MSWDIR)/bmpbuttn.$(OBJSUFF) \ | |
233 | $(MSWDIR)/brush.$(OBJSUFF) \ | |
234 | $(MSWDIR)/button.$(OBJSUFF) \ | |
235 | $(MSWDIR)/caret.$(OBJSUFF) \ | |
236 | $(MSWDIR)/checkbox.$(OBJSUFF) \ | |
237 | $(MSWDIR)/checklst.$(OBJSUFF) \ | |
238 | $(MSWDIR)/choice.$(OBJSUFF) \ | |
239 | $(MSWDIR)/clipbrd.$(OBJSUFF) \ | |
240 | $(MSWDIR)/colordlg.$(OBJSUFF) \ | |
241 | $(MSWDIR)/colour.$(OBJSUFF) \ | |
242 | $(MSWDIR)/combobox.$(OBJSUFF) \ | |
243 | $(MSWDIR)/control.$(OBJSUFF) \ | |
244 | $(MSWDIR)/curico.$(OBJSUFF) \ | |
245 | $(MSWDIR)/cursor.$(OBJSUFF) \ | |
246 | $(MSWDIR)/data.$(OBJSUFF) \ | |
247 | $(MSWDIR)/dc.$(OBJSUFF) \ | |
248 | $(MSWDIR)/dcclient.$(OBJSUFF) \ | |
249 | $(MSWDIR)/dcmemory.$(OBJSUFF) \ | |
250 | $(MSWDIR)/dcprint.$(OBJSUFF) \ | |
251 | $(MSWDIR)/dcscreen.$(OBJSUFF) \ | |
252 | $(MSWDIR)/dde.$(OBJSUFF) \ | |
253 | $(MSWDIR)/dialog.$(OBJSUFF) \ | |
254 | $(MSWDIR)/dialup.$(OBJSUFF) \ | |
255 | $(MSWDIR)/dib.$(OBJSUFF) \ | |
256 | $(MSWDIR)/dibutils.$(OBJSUFF) \ | |
257 | $(MSWDIR)/dir.$(OBJSUFF) \ | |
258 | $(MSWDIR)/dragimag.$(OBJSUFF) \ | |
259 | $(MSWDIR)/enhmeta.$(OBJSUFF) \ | |
260 | $(MSWDIR)/filedlg.$(OBJSUFF) \ | |
261 | $(MSWDIR)/font.$(OBJSUFF) \ | |
262 | $(MSWDIR)/fontdlg.$(OBJSUFF) \ | |
263 | $(MSWDIR)/fontenum.$(OBJSUFF) \ | |
264 | $(MSWDIR)/fontutil.$(OBJSUFF) \ | |
265 | $(MSWDIR)/frame.$(OBJSUFF) \ | |
266 | $(MSWDIR)/gauge95.$(OBJSUFF) \ | |
267 | $(MSWDIR)/gdiimage.$(OBJSUFF) \ | |
268 | $(MSWDIR)/gdiobj.$(OBJSUFF) \ | |
269 | $(MSWDIR)/glcanvas.$(OBJSUFF) \ | |
270 | $(MSWDIR)/gsocket.$(OBJSUFF) \ | |
271 | $(MSWDIR)/gsockmsw.$(OBJSUFF) \ | |
272 | $(MSWDIR)/helpchm.$(OBJSUFF) \ | |
273 | $(MSWDIR)/helpwin.$(OBJSUFF) \ | |
274 | $(MSWDIR)/icon.$(OBJSUFF) \ | |
275 | $(MSWDIR)/imaglist.$(OBJSUFF) \ | |
276 | $(MSWDIR)/joystick.$(OBJSUFF) \ | |
277 | $(MSWDIR)/listbox.$(OBJSUFF) \ | |
278 | $(MSWDIR)/listctrl.$(OBJSUFF) \ | |
279 | $(MSWDIR)/main.$(OBJSUFF) \ | |
280 | $(MSWDIR)/mdi.$(OBJSUFF) \ | |
281 | $(MSWDIR)/menu.$(OBJSUFF) \ | |
282 | $(MSWDIR)/menuitem.$(OBJSUFF) \ | |
283 | $(MSWDIR)/metafile.$(OBJSUFF) \ | |
284 | $(MSWDIR)/mimetype.$(OBJSUFF) \ | |
285 | $(MSWDIR)/minifram.$(OBJSUFF) \ | |
286 | $(MSWDIR)/msgdlg.$(OBJSUFF) \ | |
287 | $(MSWDIR)/nativdlg.$(OBJSUFF) \ | |
288 | $(MSWDIR)/notebook.$(OBJSUFF) \ | |
289 | $(MSWDIR)/ownerdrw.$(OBJSUFF) \ | |
290 | $(MSWDIR)/palette.$(OBJSUFF) \ | |
291 | $(MSWDIR)/pen.$(OBJSUFF) \ | |
292 | $(MSWDIR)/penwin.$(OBJSUFF) \ | |
293 | $(MSWDIR)/printdlg.$(OBJSUFF) \ | |
294 | $(MSWDIR)/printwin.$(OBJSUFF) \ | |
295 | $(MSWDIR)/radiobox.$(OBJSUFF) \ | |
296 | $(MSWDIR)/radiobut.$(OBJSUFF) \ | |
297 | $(MSWDIR)/regconf.$(OBJSUFF) \ | |
298 | $(MSWDIR)/region.$(OBJSUFF) \ | |
299 | $(MSWDIR)/registry.$(OBJSUFF) \ | |
300 | $(MSWDIR)/scrolbar.$(OBJSUFF) \ | |
301 | $(MSWDIR)/settings.$(OBJSUFF) \ | |
302 | $(MSWDIR)/slider95.$(OBJSUFF) \ | |
303 | $(MSWDIR)/spinbutt.$(OBJSUFF) \ | |
304 | $(MSWDIR)/spinctrl.$(OBJSUFF) \ | |
305 | $(MSWDIR)/statbmp.$(OBJSUFF) \ | |
306 | $(MSWDIR)/statbox.$(OBJSUFF) \ | |
307 | $(MSWDIR)/statbr95.$(OBJSUFF) \ | |
308 | $(MSWDIR)/statline.$(OBJSUFF) \ | |
309 | $(MSWDIR)/stattext.$(OBJSUFF) \ | |
310 | $(MSWDIR)/tabctrl.$(OBJSUFF) \ | |
311 | $(MSWDIR)/taskbar.$(OBJSUFF) \ | |
312 | $(MSWDIR)/tbar95.$(OBJSUFF) \ | |
313 | $(MSWDIR)/textctrl.$(OBJSUFF) \ | |
314 | $(MSWDIR)/thread.$(OBJSUFF) \ | |
315 | $(MSWDIR)/timer.$(OBJSUFF) \ | |
316 | $(MSWDIR)/tooltip.$(OBJSUFF) \ | |
317 | $(MSWDIR)/treectrl.$(OBJSUFF) \ | |
318 | $(MSWDIR)/utils.$(OBJSUFF) \ | |
319 | $(MSWDIR)/utilsexc.$(OBJSUFF) \ | |
320 | $(MSWDIR)/wave.$(OBJSUFF) \ | |
321 | $(MSWDIR)/window.$(OBJSUFF) \ | |
322 | $(MSWDIR)/xpmhand.$(OBJSUFF) | |
323 | ||
324 | ADVANCEDOBJS = \ | |
325 | $(COMMDIR)/odbc.$(OBJSUFF) \ | |
326 | $(MSWDIR)/ole/automtn.$(OBJSUFF) \ | |
327 | $(MSWDIR)/ole/dataobj.$(OBJSUFF) \ | |
328 | $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \ | |
329 | $(MSWDIR)/ole/droptgt.$(OBJSUFF) \ | |
330 | $(MSWDIR)/ole/oleutils.$(OBJSUFF) \ | |
331 | $(MSWDIR)/ole/uuid.$(OBJSUFF) | |
332 | ||
333 | ZLIBOBJS = \ | |
334 | $(ZLIBDIR)/adler32.$(OBJSUFF) \ | |
335 | $(ZLIBDIR)/compress.$(OBJSUFF) \ | |
336 | $(ZLIBDIR)/crc32.$(OBJSUFF) \ | |
337 | $(ZLIBDIR)/gzio.$(OBJSUFF) \ | |
338 | $(ZLIBDIR)/uncompr.$(OBJSUFF) \ | |
339 | $(ZLIBDIR)/deflate.$(OBJSUFF) \ | |
340 | $(ZLIBDIR)/trees.$(OBJSUFF) \ | |
341 | $(ZLIBDIR)/zutil.$(OBJSUFF) \ | |
342 | $(ZLIBDIR)/inflate.$(OBJSUFF) \ | |
343 | $(ZLIBDIR)/infblock.$(OBJSUFF) \ | |
344 | $(ZLIBDIR)/inftrees.$(OBJSUFF) \ | |
345 | $(ZLIBDIR)/infcodes.$(OBJSUFF) \ | |
346 | $(ZLIBDIR)/infutil.$(OBJSUFF) \ | |
347 | $(ZLIBDIR)/inffast.$(OBJSUFF) | |
348 | ||
349 | PNGOBJS = \ | |
350 | $(PNGDIR)/png.$(OBJSUFF) \ | |
351 | $(PNGDIR)/pngread.$(OBJSUFF) \ | |
352 | $(PNGDIR)/pngrtran.$(OBJSUFF) \ | |
353 | $(PNGDIR)/pngrutil.$(OBJSUFF) \ | |
354 | $(PNGDIR)/pngpread.$(OBJSUFF) \ | |
355 | $(PNGDIR)/pngtrans.$(OBJSUFF) \ | |
356 | $(PNGDIR)/pngwrite.$(OBJSUFF) \ | |
357 | $(PNGDIR)/pngwtran.$(OBJSUFF) \ | |
358 | $(PNGDIR)/pngwutil.$(OBJSUFF) \ | |
359 | $(PNGDIR)/pngerror.$(OBJSUFF) \ | |
360 | $(PNGDIR)/pngmem.$(OBJSUFF) \ | |
361 | $(PNGDIR)/pngwio.$(OBJSUFF) \ | |
362 | $(PNGDIR)/pngrio.$(OBJSUFF) \ | |
363 | $(PNGDIR)/pngget.$(OBJSUFF) \ | |
364 | $(PNGDIR)/pngset.$(OBJSUFF) | |
365 | ||
366 | ||
367 | JPEGOBJS = \ | |
368 | $(JPEGDIR)/jcomapi.$(OBJSUFF) \ | |
369 | $(JPEGDIR)/jutils.$(OBJSUFF) \ | |
370 | $(JPEGDIR)/jerror.$(OBJSUFF) \ | |
371 | $(JPEGDIR)/jmemmgr.$(OBJSUFF) \ | |
372 | $(JPEGDIR)/jmemnobs.$(OBJSUFF) \ | |
373 | $(JPEGDIR)/jcapimin.$(OBJSUFF) \ | |
374 | $(JPEGDIR)/jcapistd.$(OBJSUFF) \ | |
375 | $(JPEGDIR)/jctrans.$(OBJSUFF) \ | |
376 | $(JPEGDIR)/jcparam.$(OBJSUFF) \ | |
377 | $(JPEGDIR)/jdatadst.$(OBJSUFF) \ | |
378 | $(JPEGDIR)/jcinit.$(OBJSUFF) \ | |
379 | $(JPEGDIR)/jcmaster.$(OBJSUFF) \ | |
380 | $(JPEGDIR)/jcmarker.$(OBJSUFF) \ | |
381 | $(JPEGDIR)/jcmainct.$(OBJSUFF) \ | |
382 | $(JPEGDIR)/jcprepct.$(OBJSUFF) \ | |
383 | $(JPEGDIR)/jccoefct.$(OBJSUFF) \ | |
384 | $(JPEGDIR)/jccolor.$(OBJSUFF) \ | |
385 | $(JPEGDIR)/jcsample.$(OBJSUFF) \ | |
386 | $(JPEGDIR)/jchuff.$(OBJSUFF) \ | |
387 | $(JPEGDIR)/jcphuff.$(OBJSUFF) \ | |
388 | $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \ | |
389 | $(JPEGDIR)/jfdctfst.$(OBJSUFF) \ | |
390 | $(JPEGDIR)/jfdctflt.$(OBJSUFF) \ | |
391 | $(JPEGDIR)/jfdctint.$(OBJSUFF) \ | |
392 | $(JPEGDIR)/jdapimin.$(OBJSUFF) \ | |
393 | $(JPEGDIR)/jdapistd.$(OBJSUFF) \ | |
394 | $(JPEGDIR)/jdtrans.$(OBJSUFF) \ | |
395 | $(JPEGDIR)/jdatasrc.$(OBJSUFF) \ | |
396 | $(JPEGDIR)/jdmaster.$(OBJSUFF) \ | |
397 | $(JPEGDIR)/jdinput.$(OBJSUFF) \ | |
398 | $(JPEGDIR)/jdmarker.$(OBJSUFF) \ | |
399 | $(JPEGDIR)/jdhuff.$(OBJSUFF) \ | |
400 | $(JPEGDIR)/jdphuff.$(OBJSUFF) \ | |
401 | $(JPEGDIR)/jdmainct.$(OBJSUFF) \ | |
402 | $(JPEGDIR)/jdcoefct.$(OBJSUFF) \ | |
403 | $(JPEGDIR)/jdpostct.$(OBJSUFF) \ | |
404 | $(JPEGDIR)/jddctmgr.$(OBJSUFF) \ | |
405 | $(JPEGDIR)/jidctfst.$(OBJSUFF) \ | |
406 | $(JPEGDIR)/jidctflt.$(OBJSUFF) \ | |
407 | $(JPEGDIR)/jidctint.$(OBJSUFF) \ | |
408 | $(JPEGDIR)/jidctred.$(OBJSUFF) \ | |
409 | $(JPEGDIR)/jdsample.$(OBJSUFF) \ | |
410 | $(JPEGDIR)/jdcolor.$(OBJSUFF) \ | |
411 | $(JPEGDIR)/jquant1.$(OBJSUFF) \ | |
412 | $(JPEGDIR)/jquant2.$(OBJSUFF) \ | |
413 | $(JPEGDIR)/jdmerge.$(OBJSUFF) | |
414 | ||
415 | # NOTE: these filenames are case sensitive! | |
416 | XPMOBJS = $(XPMDIR)/Attrib.o\ | |
417 | $(XPMDIR)/CrBufFrI.o\ | |
418 | $(XPMDIR)/CrDatFrI.o\ | |
419 | $(XPMDIR)/create.o\ | |
420 | $(XPMDIR)/CrIFrBuf.o\ | |
421 | $(XPMDIR)/CrIFrDat.o\ | |
422 | $(XPMDIR)/data.o\ | |
423 | $(XPMDIR)/Image.o\ | |
424 | $(XPMDIR)/Info.o\ | |
425 | $(XPMDIR)/hashtab.o\ | |
426 | $(XPMDIR)/misc.o\ | |
427 | $(XPMDIR)/parse.o\ | |
428 | $(XPMDIR)/RdFToDat.o\ | |
429 | $(XPMDIR)/RdFToI.o\ | |
430 | $(XPMDIR)/rgb.o\ | |
431 | $(XPMDIR)/scan.o\ | |
432 | $(XPMDIR)/simx.o\ | |
433 | $(XPMDIR)/WrFFrDat.o\ | |
434 | $(XPMDIR)/WrFFrI.o | |
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) $(XPMLIB) $(TIFFLIB) | |
482 | else | |
483 | all: $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(XPMLIB) $(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 | $(XPMLIB): $(XPMOBJS) | |
550 | $(AR) $(AROPTIONS) $@ $(XPMOBJS) | |
551 | $(RANLIB) $@ | |
552 | ||
553 | $(TIFFLIB): $(TIFFOBJS) | |
554 | $(AR) $(AROPTIONS) $@ $(TIFFOBJS) | |
555 | $(RANLIB) $@ | |
556 | ||
557 | ||
558 | $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h | |
559 | ||
560 | $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c | |
561 | $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c | |
562 | ||
563 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
564 | $(COPY) ../common/dosyacc.c ../common/y_tab.c | |
565 | ||
566 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
567 | $(COPY) ../common/doslex.c ../common/lex_yy.c | |
568 | ||
569 | # Replace lex with flex if you run into compilation | |
570 | # problems with lex_yy.c. See also note about LEX_SCANNER | |
571 | # above. | |
572 | # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l | |
573 | # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l | |
574 | # | |
575 | # Try one of these if the above line doesn't work. | |
576 | # Alternative syntax (1) | |
577 | # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c | |
578 | # Alternative syntax (2) | |
579 | # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l | |
580 | # | |
581 | # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \ | |
582 | # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \ | |
583 | # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c | |
584 | # rm -f lex.yy.c | |
585 | # | |
586 | # Replace yacc with bison if you run into compilation | |
587 | # problems with y_tab.c. | |
588 | # | |
589 | # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y | |
590 | # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y | |
591 | # | |
592 | # If you use e.g. gcc on Unix, uncomment these lines | |
593 | # and comment out the above. | |
594 | # | |
595 | # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y | |
596 | # $(YACC) $(COMMDIR)/parser.y | |
597 | # mv y.tab.c $(COMMDIR)/y_tab.c | |
598 | ||
599 | clean: | |
600 | -$(RM) *.o | |
601 | -$(RM) ole/*.o | |
602 | -$(RM) *.bak | |
603 | -$(RM) core | |
604 | -$(RM) ../common/y_tab.c | |
605 | -$(RM) ../common/lex_yy.c | |
606 | -$(RM) ../common/*.o | |
607 | -$(RM) ../common/*.bak | |
608 | -$(RM) ../generic/*.o | |
609 | -$(RM) ../generic/*.bak | |
610 | -$(RM) ../html/*.o | |
611 | -$(RM) ../zlib/*.o | |
612 | -$(RM) ../zlib/*.bak | |
613 | -$(RM) ../png/*.o | |
614 | -$(RM) ../png/*.bak | |
615 | -$(RM) ../jpeg/*.o | |
616 | -$(RM) ../jpeg/*.bak | |
617 | -$(RM) ../xpm/*.o | |
618 | -$(RM) ../xpm/*.bak | |
619 | -$(RM) ../tiff/*.o | |
620 | -$(RM) ../tiff/*.bak | |
621 | -$(RM) $(WXLIB) | |
622 | -$(RM) $(ZLIBLIB) | |
623 | -$(RM) $(PNGLIB) | |
624 | -$(RM) $(JPEGLIB) | |
625 | -$(RM) $(XPMLIB) | |
626 | -$(RM) $(TIFFLIB) | |
627 | ||
628 | ifdef WXMAKINGDLL | |
629 | -$(RM) $(WXDLL) | |
630 | -$(RM) $(WXDEF) | |
631 | ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes" | |
632 | -$(RM) wx.base | |
633 | -$(RM) wx.exp | |
634 | endif | |
635 | endif | |
636 | ||
637 | ||
638 | cleanall: clean | |
639 | ||
640 |