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