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