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