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