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