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