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