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