]>
Commit | Line | Data |
---|---|---|
f4cc15cd | 1 | # This file was automatically generated by tmake at 17:26, 1999/12/12 |
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 | ||
2bda0e17 KB |
22 | # Subordinate library possibilities |
23 | ||
24 | EXTRAOBJS= | |
25 | ||
c45a644e RR |
26 | GENDIR = $(WXDIR)/src/generic |
27 | COMMDIR = $(WXDIR)/src/common | |
a3015c54 | 28 | HTMLDIR = $(WXDIR)/src/html |
c45a644e RR |
29 | XPMDIR = $(WXDIR)/src/xpm |
30 | PNGDIR = $(WXDIR)/src/png | |
31 | JPEGDIR = $(WXDIR)/src/jpeg | |
32 | ZLIBDIR = $(WXDIR)/src/zlib | |
33 | OLEDIR = $(WXDIR)/src/msw/ole | |
34 | MSWDIR = $(WXDIR)/src/msw | |
2bda0e17 | 35 | |
01dba85a JS |
36 | PNGLIB = $(WXDIR)/lib/libpng.a |
37 | ZLIBLIB = $(WXDIR)/lib/libzlib.a | |
38 | JPEGLIB = $(WXDIR)/lib/libjpeg.a | |
39 | ||
2bda0e17 KB |
40 | DOCDIR = $(WXDIR)\docs |
41 | ||
154f22b3 JS |
42 | # Only use the WIN32 wxDirDialog if we have a recent |
43 | # version of Mingw32 | |
44 | ifeq ($(MINGW32),1) | |
45 | ifeq ($(MINGW32VERSION),2.95) | |
46 | DIRDLGOBJ = $(MSWDIR)/dirdlg.$(OBJSUFF) | |
47 | else | |
48 | DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF) | |
49 | endif | |
50 | else | |
51 | DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF) | |
52 | endif | |
53 | ||
c45a644e RR |
54 | GENERICOBJS = \ |
55 | $(GENDIR)/busyinfo.$(OBJSUFF) \ | |
2662e49e | 56 | $(GENDIR)/choicdgg.$(OBJSUFF) \ |
f85afd4e | 57 | $(GENDIR)/grid.$(OBJSUFF) \ |
2662e49e | 58 | $(GENDIR)/laywin.$(OBJSUFF) \ |
dd85fc6b | 59 | $(GENDIR)/logg.$(OBJSUFF) \ |
9be9b974 | 60 | $(GENDIR)/numdlgg.$(OBJSUFF) \ |
2662e49e RR |
61 | $(GENDIR)/panelg.$(OBJSUFF) \ |
62 | $(GENDIR)/progdlgg.$(OBJSUFF) \ | |
63 | $(GENDIR)/prop.$(OBJSUFF) \ | |
64 | $(GENDIR)/propform.$(OBJSUFF) \ | |
65 | $(GENDIR)/proplist.$(OBJSUFF) \ | |
66 | $(GENDIR)/sashwin.$(OBJSUFF) \ | |
67 | $(GENDIR)/scrolwin.$(OBJSUFF) \ | |
68 | $(GENDIR)/splitter.$(OBJSUFF) \ | |
69 | $(GENDIR)/statusbr.$(OBJSUFF) \ | |
70 | $(GENDIR)/tabg.$(OBJSUFF) \ | |
71 | $(GENDIR)/textdlgg.$(OBJSUFF) \ | |
e8ac7bf2 RD |
72 | $(GENDIR)/tipdlg.$(OBJSUFF) \ |
73 | $(GENDIR)/wizard.$(OBJSUFF) | |
8baa0e61 | 74 | |
c45a644e | 75 | COMMONOBJS = \ |
a1b82138 | 76 | $(COMMDIR)/y_tab.$(OBJSUFF) \ |
72cdf4c9 | 77 | $(COMMDIR)/appcmn.$(OBJSUFF) \ |
8d99be5f | 78 | $(COMMDIR)/choiccmn.$(OBJSUFF) \ |
08794f69 | 79 | $(COMMDIR)/clipcmn.$(OBJSUFF) \ |
2662e49e RR |
80 | $(COMMDIR)/cmndata.$(OBJSUFF) \ |
81 | $(COMMDIR)/config.$(OBJSUFF) \ | |
8d99be5f | 82 | $(COMMDIR)/ctrlcmn.$(OBJSUFF) \ |
6c8a980f | 83 | $(COMMDIR)/ctrlsub.$(OBJSUFF) \ |
2662e49e RR |
84 | $(COMMDIR)/date.$(OBJSUFF) \ |
85 | $(COMMDIR)/datstrm.$(OBJSUFF) \ | |
86 | $(COMMDIR)/db.$(OBJSUFF) \ | |
87 | $(COMMDIR)/dbtable.$(OBJSUFF) \ | |
88 | $(COMMDIR)/dcbase.$(OBJSUFF) \ | |
89 | $(COMMDIR)/dlgcmn.$(OBJSUFF) \ | |
c4933157 | 90 | $(COMMDIR)/dobjcmn.$(OBJSUFF) \ |
2662e49e RR |
91 | $(COMMDIR)/docmdi.$(OBJSUFF) \ |
92 | $(COMMDIR)/docview.$(OBJSUFF) \ | |
93 | $(COMMDIR)/dynarray.$(OBJSUFF) \ | |
94 | $(COMMDIR)/dynlib.$(OBJSUFF) \ | |
95 | $(COMMDIR)/event.$(OBJSUFF) \ | |
a1b82138 | 96 | $(COMMDIR)/extended.$(OBJSUFF) \ |
2662e49e RR |
97 | $(COMMDIR)/ffile.$(OBJSUFF) \ |
98 | $(COMMDIR)/file.$(OBJSUFF) \ | |
99 | $(COMMDIR)/fileconf.$(OBJSUFF) \ | |
100 | $(COMMDIR)/filefn.$(OBJSUFF) \ | |
101 | $(COMMDIR)/filesys.$(OBJSUFF) \ | |
0c5d3e1c | 102 | $(COMMDIR)/fontcmn.$(OBJSUFF) \ |
01dba85a | 103 | $(COMMDIR)/fontmap.$(OBJSUFF) \ |
2662e49e RR |
104 | $(COMMDIR)/framecmn.$(OBJSUFF) \ |
105 | $(COMMDIR)/fs_inet.$(OBJSUFF) \ | |
106 | $(COMMDIR)/fs_zip.$(OBJSUFF) \ | |
107 | $(COMMDIR)/ftp.$(OBJSUFF) \ | |
108 | $(COMMDIR)/gdicmn.$(OBJSUFF) \ | |
e8ac7bf2 | 109 | $(COMMDIR)/gifdecod.$(OBJSUFF) \ |
2662e49e RR |
110 | $(COMMDIR)/hash.$(OBJSUFF) \ |
111 | $(COMMDIR)/helpbase.$(OBJSUFF) \ | |
112 | $(COMMDIR)/http.$(OBJSUFF) \ | |
93ccaed8 | 113 | $(COMMDIR)/imagall.$(OBJSUFF) \ |
2662e49e RR |
114 | $(COMMDIR)/imagbmp.$(OBJSUFF) \ |
115 | $(COMMDIR)/image.$(OBJSUFF) \ | |
116 | $(COMMDIR)/imaggif.$(OBJSUFF) \ | |
117 | $(COMMDIR)/imagjpeg.$(OBJSUFF) \ | |
dfdc56a3 | 118 | $(COMMDIR)/imagpcx.$(OBJSUFF) \ |
2662e49e | 119 | $(COMMDIR)/imagpng.$(OBJSUFF) \ |
e8ac7bf2 | 120 | $(COMMDIR)/imagpnm.$(OBJSUFF) \ |
e694c22c | 121 | $(COMMDIR)/imagtiff.$(OBJSUFF) \ |
2662e49e RR |
122 | $(COMMDIR)/intl.$(OBJSUFF) \ |
123 | $(COMMDIR)/ipcbase.$(OBJSUFF) \ | |
124 | $(COMMDIR)/layout.$(OBJSUFF) \ | |
2ee3ee1b | 125 | $(COMMDIR)/lboxcmn.$(OBJSUFF) \ |
2662e49e RR |
126 | $(COMMDIR)/list.$(OBJSUFF) \ |
127 | $(COMMDIR)/log.$(OBJSUFF) \ | |
128 | $(COMMDIR)/memory.$(OBJSUFF) \ | |
ad9bb75f | 129 | $(COMMDIR)/menucmn.$(OBJSUFF) \ |
2662e49e RR |
130 | $(COMMDIR)/mimetype.$(OBJSUFF) \ |
131 | $(COMMDIR)/module.$(OBJSUFF) \ | |
132 | $(COMMDIR)/mstream.$(OBJSUFF) \ | |
133 | $(COMMDIR)/object.$(OBJSUFF) \ | |
134 | $(COMMDIR)/objstrm.$(OBJSUFF) \ | |
135 | $(COMMDIR)/paper.$(OBJSUFF) \ | |
136 | $(COMMDIR)/prntbase.$(OBJSUFF) \ | |
137 | $(COMMDIR)/process.$(OBJSUFF) \ | |
138 | $(COMMDIR)/protocol.$(OBJSUFF) \ | |
139 | $(COMMDIR)/resource.$(OBJSUFF) \ | |
140 | $(COMMDIR)/sckaddr.$(OBJSUFF) \ | |
141 | $(COMMDIR)/sckfile.$(OBJSUFF) \ | |
2662e49e RR |
142 | $(COMMDIR)/sckipc.$(OBJSUFF) \ |
143 | $(COMMDIR)/sckstrm.$(OBJSUFF) \ | |
ae8f5769 | 144 | $(COMMDIR)/serbase.$(OBJSUFF) \ |
0ae2df30 | 145 | $(COMMDIR)/sizer.$(OBJSUFF) \ |
2662e49e | 146 | $(COMMDIR)/socket.$(OBJSUFF) \ |
77671fd2 | 147 | $(COMMDIR)/strconv.$(OBJSUFF) \ |
2662e49e RR |
148 | $(COMMDIR)/stream.$(OBJSUFF) \ |
149 | $(COMMDIR)/string.$(OBJSUFF) \ | |
150 | $(COMMDIR)/tbarbase.$(OBJSUFF) \ | |
2bbf4618 | 151 | $(COMMDIR)/tbarsmpl.$(OBJSUFF) \ |
2662e49e RR |
152 | $(COMMDIR)/textcmn.$(OBJSUFF) \ |
153 | $(COMMDIR)/textfile.$(OBJSUFF) \ | |
154 | $(COMMDIR)/time.$(OBJSUFF) \ | |
155 | $(COMMDIR)/timercmn.$(OBJSUFF) \ | |
156 | $(COMMDIR)/tokenzr.$(OBJSUFF) \ | |
157 | $(COMMDIR)/txtstrm.$(OBJSUFF) \ | |
158 | $(COMMDIR)/unzip.$(OBJSUFF) \ | |
159 | $(COMMDIR)/url.$(OBJSUFF) \ | |
160 | $(COMMDIR)/utilscmn.$(OBJSUFF) \ | |
161 | $(COMMDIR)/valgen.$(OBJSUFF) \ | |
162 | $(COMMDIR)/validate.$(OBJSUFF) \ | |
163 | $(COMMDIR)/valtext.$(OBJSUFF) \ | |
164 | $(COMMDIR)/variant.$(OBJSUFF) \ | |
165 | $(COMMDIR)/wfstream.$(OBJSUFF) \ | |
166 | $(COMMDIR)/wincmn.$(OBJSUFF) \ | |
167 | $(COMMDIR)/wxchar.$(OBJSUFF) \ | |
168 | $(COMMDIR)/wxexpr.$(OBJSUFF) \ | |
77671fd2 | 169 | $(COMMDIR)/zipstrm.$(OBJSUFF) \ |
2662e49e | 170 | $(COMMDIR)/zstream.$(OBJSUFF) |
a1b82138 | 171 | |
a3015c54 | 172 | HTMLOBJS = \ |
8ec2b484 HH |
173 | $(HTMLDIR)/helpctrl.$(OBJSUFF) \ |
174 | $(HTMLDIR)/helpdata.$(OBJSUFF) \ | |
175 | $(HTMLDIR)/helpfrm.$(OBJSUFF) \ | |
176 | $(HTMLDIR)/htmlcell.$(OBJSUFF) \ | |
69941f05 VS |
177 | $(HTMLDIR)/htmlfilt.$(OBJSUFF) \ |
178 | $(HTMLDIR)/htmlpars.$(OBJSUFF) \ | |
8a4df159 RR |
179 | $(HTMLDIR)/htmltag.$(OBJSUFF) \ |
180 | $(HTMLDIR)/htmlwin.$(OBJSUFF) \ | |
3ce369e6 | 181 | $(HTMLDIR)/htmprint.$(OBJSUFF) \ |
69941f05 VS |
182 | $(HTMLDIR)/m_fonts.$(OBJSUFF) \ |
183 | $(HTMLDIR)/m_hline.$(OBJSUFF) \ | |
184 | $(HTMLDIR)/m_image.$(OBJSUFF) \ | |
185 | $(HTMLDIR)/m_layout.$(OBJSUFF) \ | |
186 | $(HTMLDIR)/m_links.$(OBJSUFF) \ | |
187 | $(HTMLDIR)/m_list.$(OBJSUFF) \ | |
188 | $(HTMLDIR)/m_pre.$(OBJSUFF) \ | |
189 | $(HTMLDIR)/m_tables.$(OBJSUFF) \ | |
69941f05 | 190 | $(HTMLDIR)/winpars.$(OBJSUFF) |
a3015c54 | 191 | |
c45a644e | 192 | MSWOBJS = \ |
a3015c54 RR |
193 | $(MSWDIR)/accel.$(OBJSUFF) \ |
194 | $(MSWDIR)/app.$(OBJSUFF) \ | |
195 | $(MSWDIR)/bitmap.$(OBJSUFF) \ | |
196 | $(MSWDIR)/bmpbuttn.$(OBJSUFF) \ | |
197 | $(MSWDIR)/brush.$(OBJSUFF) \ | |
198 | $(MSWDIR)/button.$(OBJSUFF) \ | |
199 | $(MSWDIR)/caret.$(OBJSUFF) \ | |
200 | $(MSWDIR)/checkbox.$(OBJSUFF) \ | |
201 | $(MSWDIR)/checklst.$(OBJSUFF) \ | |
202 | $(MSWDIR)/choice.$(OBJSUFF) \ | |
203 | $(MSWDIR)/clipbrd.$(OBJSUFF) \ | |
204 | $(MSWDIR)/colordlg.$(OBJSUFF) \ | |
205 | $(MSWDIR)/colour.$(OBJSUFF) \ | |
206 | $(MSWDIR)/combobox.$(OBJSUFF) \ | |
207 | $(MSWDIR)/control.$(OBJSUFF) \ | |
208 | $(MSWDIR)/curico.$(OBJSUFF) \ | |
209 | $(MSWDIR)/cursor.$(OBJSUFF) \ | |
210 | $(MSWDIR)/data.$(OBJSUFF) \ | |
211 | $(MSWDIR)/dc.$(OBJSUFF) \ | |
212 | $(MSWDIR)/dcclient.$(OBJSUFF) \ | |
213 | $(MSWDIR)/dcmemory.$(OBJSUFF) \ | |
214 | $(MSWDIR)/dcprint.$(OBJSUFF) \ | |
215 | $(MSWDIR)/dcscreen.$(OBJSUFF) \ | |
216 | $(MSWDIR)/dde.$(OBJSUFF) \ | |
217 | $(MSWDIR)/dialog.$(OBJSUFF) \ | |
e694c22c | 218 | $(MSWDIR)/dialup.$(OBJSUFF) \ |
a3015c54 RR |
219 | $(MSWDIR)/dib.$(OBJSUFF) \ |
220 | $(MSWDIR)/dibutils.$(OBJSUFF) \ | |
e694c22c | 221 | $(MSWDIR)/dir.$(OBJSUFF) \ |
a3015c54 RR |
222 | $(MSWDIR)/dragimag.$(OBJSUFF) \ |
223 | $(MSWDIR)/filedlg.$(OBJSUFF) \ | |
224 | $(MSWDIR)/font.$(OBJSUFF) \ | |
225 | $(MSWDIR)/fontdlg.$(OBJSUFF) \ | |
01dba85a JS |
226 | $(MSWDIR)/fontenum.$(OBJSUFF) \ |
227 | $(MSWDIR)/fontutil.$(OBJSUFF) \ | |
a3015c54 RR |
228 | $(MSWDIR)/frame.$(OBJSUFF) \ |
229 | $(MSWDIR)/gauge95.$(OBJSUFF) \ | |
0d0512bd | 230 | $(MSWDIR)/gdiimage.$(OBJSUFF) \ |
a3015c54 | 231 | $(MSWDIR)/gdiobj.$(OBJSUFF) \ |
8ec2b484 | 232 | $(MSWDIR)/gsocket.$(OBJSUFF) \ |
a3015c54 RR |
233 | $(MSWDIR)/helpwin.$(OBJSUFF) \ |
234 | $(MSWDIR)/icon.$(OBJSUFF) \ | |
235 | $(MSWDIR)/imaglist.$(OBJSUFF) \ | |
236 | $(MSWDIR)/joystick.$(OBJSUFF) \ | |
237 | $(MSWDIR)/listbox.$(OBJSUFF) \ | |
238 | $(MSWDIR)/listctrl.$(OBJSUFF) \ | |
239 | $(MSWDIR)/main.$(OBJSUFF) \ | |
240 | $(MSWDIR)/mdi.$(OBJSUFF) \ | |
241 | $(MSWDIR)/menu.$(OBJSUFF) \ | |
242 | $(MSWDIR)/menuitem.$(OBJSUFF) \ | |
243 | $(MSWDIR)/metafile.$(OBJSUFF) \ | |
244 | $(MSWDIR)/minifram.$(OBJSUFF) \ | |
245 | $(MSWDIR)/msgdlg.$(OBJSUFF) \ | |
246 | $(MSWDIR)/nativdlg.$(OBJSUFF) \ | |
247 | $(MSWDIR)/notebook.$(OBJSUFF) \ | |
248 | $(MSWDIR)/ownerdrw.$(OBJSUFF) \ | |
249 | $(MSWDIR)/palette.$(OBJSUFF) \ | |
250 | $(MSWDIR)/pen.$(OBJSUFF) \ | |
251 | $(MSWDIR)/penwin.$(OBJSUFF) \ | |
a3015c54 RR |
252 | $(MSWDIR)/printdlg.$(OBJSUFF) \ |
253 | $(MSWDIR)/printwin.$(OBJSUFF) \ | |
254 | $(MSWDIR)/radiobox.$(OBJSUFF) \ | |
255 | $(MSWDIR)/radiobut.$(OBJSUFF) \ | |
256 | $(MSWDIR)/regconf.$(OBJSUFF) \ | |
257 | $(MSWDIR)/region.$(OBJSUFF) \ | |
258 | $(MSWDIR)/registry.$(OBJSUFF) \ | |
259 | $(MSWDIR)/scrolbar.$(OBJSUFF) \ | |
260 | $(MSWDIR)/settings.$(OBJSUFF) \ | |
261 | $(MSWDIR)/slider95.$(OBJSUFF) \ | |
262 | $(MSWDIR)/spinbutt.$(OBJSUFF) \ | |
791a2102 | 263 | $(MSWDIR)/spinctrl.$(OBJSUFF) \ |
a3015c54 RR |
264 | $(MSWDIR)/statbmp.$(OBJSUFF) \ |
265 | $(MSWDIR)/statbox.$(OBJSUFF) \ | |
266 | $(MSWDIR)/statbr95.$(OBJSUFF) \ | |
267 | $(MSWDIR)/statline.$(OBJSUFF) \ | |
268 | $(MSWDIR)/stattext.$(OBJSUFF) \ | |
269 | $(MSWDIR)/tabctrl.$(OBJSUFF) \ | |
270 | $(MSWDIR)/taskbar.$(OBJSUFF) \ | |
271 | $(MSWDIR)/tbar95.$(OBJSUFF) \ | |
272 | $(MSWDIR)/textctrl.$(OBJSUFF) \ | |
273 | $(MSWDIR)/thread.$(OBJSUFF) \ | |
274 | $(MSWDIR)/timer.$(OBJSUFF) \ | |
275 | $(MSWDIR)/tooltip.$(OBJSUFF) \ | |
276 | $(MSWDIR)/treectrl.$(OBJSUFF) \ | |
277 | $(MSWDIR)/utils.$(OBJSUFF) \ | |
278 | $(MSWDIR)/utilsexc.$(OBJSUFF) \ | |
279 | $(MSWDIR)/wave.$(OBJSUFF) \ | |
280 | $(MSWDIR)/window.$(OBJSUFF) \ | |
281 | $(MSWDIR)/xpmhand.$(OBJSUFF) | |
2bda0e17 | 282 | |
6c8a980f VZ |
283 | ADVANCEDOBJS = \ |
284 | $(COMMDIR)/odbc.$(OBJSUFF) \ | |
285 | $(MSWDIR)/ole/automtn.$(OBJSUFF) \ | |
286 | $(MSWDIR)/ole/dataobj.$(OBJSUFF) \ | |
287 | $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \ | |
288 | $(MSWDIR)/ole/droptgt.$(OBJSUFF) \ | |
289 | $(MSWDIR)/ole/oleutils.$(OBJSUFF) \ | |
290 | $(MSWDIR)/ole/uuid.$(OBJSUFF) | |
291 | ||
c45a644e RR |
292 | ZLIBOBJS = \ |
293 | $(ZLIBDIR)/adler32.$(OBJSUFF) \ | |
294 | $(ZLIBDIR)/compress.$(OBJSUFF) \ | |
295 | $(ZLIBDIR)/crc32.$(OBJSUFF) \ | |
296 | $(ZLIBDIR)/gzio.$(OBJSUFF) \ | |
297 | $(ZLIBDIR)/uncompr.$(OBJSUFF) \ | |
298 | $(ZLIBDIR)/deflate.$(OBJSUFF) \ | |
299 | $(ZLIBDIR)/trees.$(OBJSUFF) \ | |
300 | $(ZLIBDIR)/zutil.$(OBJSUFF) \ | |
301 | $(ZLIBDIR)/inflate.$(OBJSUFF) \ | |
302 | $(ZLIBDIR)/infblock.$(OBJSUFF) \ | |
303 | $(ZLIBDIR)/inftrees.$(OBJSUFF) \ | |
304 | $(ZLIBDIR)/infcodes.$(OBJSUFF) \ | |
305 | $(ZLIBDIR)/infutil.$(OBJSUFF) \ | |
306 | $(ZLIBDIR)/inffast.$(OBJSUFF) | |
307 | ||
308 | PNGOBJS = \ | |
309 | $(PNGDIR)/png.$(OBJSUFF) \ | |
310 | $(PNGDIR)/pngread.$(OBJSUFF) \ | |
311 | $(PNGDIR)/pngrtran.$(OBJSUFF) \ | |
312 | $(PNGDIR)/pngrutil.$(OBJSUFF) \ | |
313 | $(PNGDIR)/pngpread.$(OBJSUFF) \ | |
314 | $(PNGDIR)/pngtrans.$(OBJSUFF) \ | |
315 | $(PNGDIR)/pngwrite.$(OBJSUFF) \ | |
316 | $(PNGDIR)/pngwtran.$(OBJSUFF) \ | |
317 | $(PNGDIR)/pngwutil.$(OBJSUFF) \ | |
318 | $(PNGDIR)/pngerror.$(OBJSUFF) \ | |
319 | $(PNGDIR)/pngmem.$(OBJSUFF) \ | |
320 | $(PNGDIR)/pngwio.$(OBJSUFF) \ | |
321 | $(PNGDIR)/pngrio.$(OBJSUFF) \ | |
322 | $(PNGDIR)/pngget.$(OBJSUFF) \ | |
323 | $(PNGDIR)/pngset.$(OBJSUFF) | |
324 | ||
325 | ||
326 | JPEGOBJS = \ | |
327 | $(JPEGDIR)/jcomapi.$(OBJSUFF) \ | |
328 | $(JPEGDIR)/jutils.$(OBJSUFF) \ | |
329 | $(JPEGDIR)/jerror.$(OBJSUFF) \ | |
330 | $(JPEGDIR)/jmemmgr.$(OBJSUFF) \ | |
331 | $(JPEGDIR)/jmemnobs.$(OBJSUFF) \ | |
332 | $(JPEGDIR)/jcapimin.$(OBJSUFF) \ | |
333 | $(JPEGDIR)/jcapistd.$(OBJSUFF) \ | |
334 | $(JPEGDIR)/jctrans.$(OBJSUFF) \ | |
335 | $(JPEGDIR)/jcparam.$(OBJSUFF) \ | |
336 | $(JPEGDIR)/jdatadst.$(OBJSUFF) \ | |
337 | $(JPEGDIR)/jcinit.$(OBJSUFF) \ | |
338 | $(JPEGDIR)/jcmaster.$(OBJSUFF) \ | |
339 | $(JPEGDIR)/jcmarker.$(OBJSUFF) \ | |
340 | $(JPEGDIR)/jcmainct.$(OBJSUFF) \ | |
341 | $(JPEGDIR)/jcprepct.$(OBJSUFF) \ | |
342 | $(JPEGDIR)/jccoefct.$(OBJSUFF) \ | |
343 | $(JPEGDIR)/jccolor.$(OBJSUFF) \ | |
344 | $(JPEGDIR)/jcsample.$(OBJSUFF) \ | |
345 | $(JPEGDIR)/jchuff.$(OBJSUFF) \ | |
346 | $(JPEGDIR)/jcphuff.$(OBJSUFF) \ | |
347 | $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \ | |
348 | $(JPEGDIR)/jfdctfst.$(OBJSUFF) \ | |
349 | $(JPEGDIR)/jfdctflt.$(OBJSUFF) \ | |
350 | $(JPEGDIR)/jfdctint.$(OBJSUFF) \ | |
351 | $(JPEGDIR)/jdapimin.$(OBJSUFF) \ | |
352 | $(JPEGDIR)/jdapistd.$(OBJSUFF) \ | |
353 | $(JPEGDIR)/jdtrans.$(OBJSUFF) \ | |
354 | $(JPEGDIR)/jdatasrc.$(OBJSUFF) \ | |
355 | $(JPEGDIR)/jdmaster.$(OBJSUFF) \ | |
356 | $(JPEGDIR)/jdinput.$(OBJSUFF) \ | |
357 | $(JPEGDIR)/jdmarker.$(OBJSUFF) \ | |
358 | $(JPEGDIR)/jdhuff.$(OBJSUFF) \ | |
359 | $(JPEGDIR)/jdphuff.$(OBJSUFF) \ | |
360 | $(JPEGDIR)/jdmainct.$(OBJSUFF) \ | |
361 | $(JPEGDIR)/jdcoefct.$(OBJSUFF) \ | |
362 | $(JPEGDIR)/jdpostct.$(OBJSUFF) \ | |
363 | $(JPEGDIR)/jddctmgr.$(OBJSUFF) \ | |
364 | $(JPEGDIR)/jidctfst.$(OBJSUFF) \ | |
365 | $(JPEGDIR)/jidctflt.$(OBJSUFF) \ | |
366 | $(JPEGDIR)/jidctint.$(OBJSUFF) \ | |
367 | $(JPEGDIR)/jidctred.$(OBJSUFF) \ | |
368 | $(JPEGDIR)/jdsample.$(OBJSUFF) \ | |
369 | $(JPEGDIR)/jdcolor.$(OBJSUFF) \ | |
370 | $(JPEGDIR)/jquant1.$(OBJSUFF) \ | |
371 | $(JPEGDIR)/jquant2.$(OBJSUFF) \ | |
372 | $(JPEGDIR)/jdmerge.$(OBJSUFF) | |
373 | ||
4fabb575 JS |
374 | XPMOBJECTS = $(XPMDIR)/crbuffri.o\ |
375 | $(XPMDIR)/crdatfri.o\ | |
376 | $(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\ | |
377 | $(XPMDIR)/crifrdat.o\ | |
378 | $(XPMDIR)/data.o\ | |
379 | $(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\ | |
380 | $(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\ | |
381 | $(XPMDIR)/rdftoi.o\ | |
382 | $(XPMDIR)/rgb.o $(XPMDIR)/scan.o\ | |
383 | $(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\ | |
384 | $(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o | |
74e34480 | 385 | |
6c8a980f VZ |
386 | ifeq ($(MINGW32),1) |
387 | ifeq ($(MINGW32VERSION),2.95) | |
154f22b3 | 388 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS) # $(XPMOBJECTS) |
6c8a980f | 389 | else |
154f22b3 | 390 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) # $(XPMOBJECTS) |
6c8a980f VZ |
391 | endif |
392 | else | |
154f22b3 | 393 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) # $(XPMOBJECTS) |
6c8a980f | 394 | endif |
2bda0e17 | 395 | |
01dba85a | 396 | all: $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(JPEGLIB) $(PNGLIB) |
2bda0e17 | 397 | |
2bda0e17 KB |
398 | $(WXLIB): $(OBJECTS) $(EXTRAOBJS) |
399 | ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS) | |
400 | $(RANLIB) $@ | |
401 | ||
01dba85a JS |
402 | $(ZLIBLIB): $(ZLIBOBJS) |
403 | ar $(AROPTIONS) $@ $(ZLIBOBJS) | |
404 | $(RANLIB) $@ | |
405 | ||
406 | $(PNGLIB): $(PNGOBJS) | |
407 | ar $(AROPTIONS) $@ $(PNGOBJS) | |
408 | $(RANLIB) $@ | |
409 | ||
410 | $(JPEGLIB): $(JPEGOBJS) | |
411 | ar $(AROPTIONS) $@ $(JPEGOBJS) | |
412 | $(RANLIB) $@ | |
413 | ||
2bda0e17 KB |
414 | $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h |
415 | ||
416 | $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c | |
6a570331 RR |
417 | $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c |
418 | ||
419 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
01dba85a | 420 | $(COPY) ..\\common\\dosyacc.c ..\\common\\y_tab.c |
6a570331 RR |
421 | |
422 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
01dba85a | 423 | $(COPY) ..\\common\\doslex.c ..\\common\\lex_yy.c |
2bda0e17 KB |
424 | |
425 | # Replace lex with flex if you run into compilation | |
426 | # problems with lex_yy.c. See also note about LEX_SCANNER | |
427 | # above. | |
6a570331 RR |
428 | # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l |
429 | # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l | |
430 | # | |
8870c26e JS |
431 | # Try one of these if the above line doesn't work. |
432 | # Alternative syntax (1) | |
433 | # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c | |
434 | # Alternative syntax (2) | |
435 | # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l | |
6a570331 | 436 | # |
2bda0e17 KB |
437 | # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \ |
438 | # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \ | |
439 | # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c | |
440 | # rm -f lex.yy.c | |
6a570331 | 441 | # |
2bda0e17 KB |
442 | # Replace yacc with bison if you run into compilation |
443 | # problems with y_tab.c. | |
6a570331 RR |
444 | # |
445 | # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y | |
446 | # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y | |
447 | # | |
57c208c5 JS |
448 | # If you use e.g. gcc on Unix, uncomment these lines |
449 | # and comment out the above. | |
6a570331 | 450 | # |
a1b82138 | 451 | # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y |
57c208c5 JS |
452 | # $(YACC) $(COMMDIR)/parser.y |
453 | # mv y.tab.c $(COMMDIR)/y_tab.c | |
2bda0e17 | 454 | |
2bda0e17 | 455 | clean: |
6474416b | 456 | -$(RM) *.o |
01dba85a | 457 | -$(RM) ole/*.o |
6474416b JS |
458 | -$(RM) *.bak |
459 | -$(RM) core | |
01dba85a JS |
460 | -$(RM) ../common/y_tab.c |
461 | -$(RM) ../common/lex_yy.c | |
462 | -$(RM) ../common/*.o | |
463 | -$(RM) ../common/*.bak | |
464 | -$(RM) ../generic/*.o | |
465 | -$(RM) ../generic/*.bak | |
466 | -$(RM) ../html/*.o | |
467 | -$(RM) ../png/*.o | |
468 | -$(RM) ../png/*.bak | |
469 | -$(RM) ../zlib/*.o | |
470 | -$(RM) ../zlib/*.bak | |
471 | -$(RM) ../jpeg/*.o | |
472 | -$(RM) ../../lib/libwx.a | |
2bda0e17 KB |
473 | |
474 | cleanall: clean |