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