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