]>
Commit | Line | Data |
---|---|---|
01dba85a | 1 | # This file was automatically generated by tmake at 15:22, 1999/11/07 |
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) \ |
2662e49e RR |
121 | $(COMMDIR)/intl.$(OBJSUFF) \ |
122 | $(COMMDIR)/ipcbase.$(OBJSUFF) \ | |
123 | $(COMMDIR)/layout.$(OBJSUFF) \ | |
2ee3ee1b | 124 | $(COMMDIR)/lboxcmn.$(OBJSUFF) \ |
2662e49e RR |
125 | $(COMMDIR)/list.$(OBJSUFF) \ |
126 | $(COMMDIR)/log.$(OBJSUFF) \ | |
127 | $(COMMDIR)/memory.$(OBJSUFF) \ | |
ad9bb75f | 128 | $(COMMDIR)/menucmn.$(OBJSUFF) \ |
2662e49e RR |
129 | $(COMMDIR)/mimetype.$(OBJSUFF) \ |
130 | $(COMMDIR)/module.$(OBJSUFF) \ | |
131 | $(COMMDIR)/mstream.$(OBJSUFF) \ | |
132 | $(COMMDIR)/object.$(OBJSUFF) \ | |
133 | $(COMMDIR)/objstrm.$(OBJSUFF) \ | |
134 | $(COMMDIR)/paper.$(OBJSUFF) \ | |
135 | $(COMMDIR)/prntbase.$(OBJSUFF) \ | |
136 | $(COMMDIR)/process.$(OBJSUFF) \ | |
137 | $(COMMDIR)/protocol.$(OBJSUFF) \ | |
138 | $(COMMDIR)/resource.$(OBJSUFF) \ | |
139 | $(COMMDIR)/sckaddr.$(OBJSUFF) \ | |
140 | $(COMMDIR)/sckfile.$(OBJSUFF) \ | |
2662e49e RR |
141 | $(COMMDIR)/sckipc.$(OBJSUFF) \ |
142 | $(COMMDIR)/sckstrm.$(OBJSUFF) \ | |
ae8f5769 | 143 | $(COMMDIR)/serbase.$(OBJSUFF) \ |
0ae2df30 | 144 | $(COMMDIR)/sizer.$(OBJSUFF) \ |
2662e49e | 145 | $(COMMDIR)/socket.$(OBJSUFF) \ |
77671fd2 | 146 | $(COMMDIR)/strconv.$(OBJSUFF) \ |
2662e49e RR |
147 | $(COMMDIR)/stream.$(OBJSUFF) \ |
148 | $(COMMDIR)/string.$(OBJSUFF) \ | |
149 | $(COMMDIR)/tbarbase.$(OBJSUFF) \ | |
2bbf4618 | 150 | $(COMMDIR)/tbarsmpl.$(OBJSUFF) \ |
2662e49e RR |
151 | $(COMMDIR)/textcmn.$(OBJSUFF) \ |
152 | $(COMMDIR)/textfile.$(OBJSUFF) \ | |
153 | $(COMMDIR)/time.$(OBJSUFF) \ | |
154 | $(COMMDIR)/timercmn.$(OBJSUFF) \ | |
155 | $(COMMDIR)/tokenzr.$(OBJSUFF) \ | |
156 | $(COMMDIR)/txtstrm.$(OBJSUFF) \ | |
157 | $(COMMDIR)/unzip.$(OBJSUFF) \ | |
158 | $(COMMDIR)/url.$(OBJSUFF) \ | |
159 | $(COMMDIR)/utilscmn.$(OBJSUFF) \ | |
160 | $(COMMDIR)/valgen.$(OBJSUFF) \ | |
161 | $(COMMDIR)/validate.$(OBJSUFF) \ | |
162 | $(COMMDIR)/valtext.$(OBJSUFF) \ | |
163 | $(COMMDIR)/variant.$(OBJSUFF) \ | |
164 | $(COMMDIR)/wfstream.$(OBJSUFF) \ | |
165 | $(COMMDIR)/wincmn.$(OBJSUFF) \ | |
166 | $(COMMDIR)/wxchar.$(OBJSUFF) \ | |
167 | $(COMMDIR)/wxexpr.$(OBJSUFF) \ | |
77671fd2 | 168 | $(COMMDIR)/zipstrm.$(OBJSUFF) \ |
2662e49e | 169 | $(COMMDIR)/zstream.$(OBJSUFF) |
a1b82138 | 170 | |
a3015c54 | 171 | HTMLOBJS = \ |
8ec2b484 HH |
172 | $(HTMLDIR)/helpctrl.$(OBJSUFF) \ |
173 | $(HTMLDIR)/helpdata.$(OBJSUFF) \ | |
174 | $(HTMLDIR)/helpfrm.$(OBJSUFF) \ | |
175 | $(HTMLDIR)/htmlcell.$(OBJSUFF) \ | |
69941f05 VS |
176 | $(HTMLDIR)/htmlfilt.$(OBJSUFF) \ |
177 | $(HTMLDIR)/htmlpars.$(OBJSUFF) \ | |
8a4df159 RR |
178 | $(HTMLDIR)/htmltag.$(OBJSUFF) \ |
179 | $(HTMLDIR)/htmlwin.$(OBJSUFF) \ | |
3ce369e6 | 180 | $(HTMLDIR)/htmprint.$(OBJSUFF) \ |
69941f05 VS |
181 | $(HTMLDIR)/m_fonts.$(OBJSUFF) \ |
182 | $(HTMLDIR)/m_hline.$(OBJSUFF) \ | |
183 | $(HTMLDIR)/m_image.$(OBJSUFF) \ | |
184 | $(HTMLDIR)/m_layout.$(OBJSUFF) \ | |
185 | $(HTMLDIR)/m_links.$(OBJSUFF) \ | |
186 | $(HTMLDIR)/m_list.$(OBJSUFF) \ | |
187 | $(HTMLDIR)/m_pre.$(OBJSUFF) \ | |
188 | $(HTMLDIR)/m_tables.$(OBJSUFF) \ | |
69941f05 | 189 | $(HTMLDIR)/winpars.$(OBJSUFF) |
a3015c54 | 190 | |
c45a644e | 191 | MSWOBJS = \ |
a3015c54 RR |
192 | $(MSWDIR)/accel.$(OBJSUFF) \ |
193 | $(MSWDIR)/app.$(OBJSUFF) \ | |
194 | $(MSWDIR)/bitmap.$(OBJSUFF) \ | |
195 | $(MSWDIR)/bmpbuttn.$(OBJSUFF) \ | |
196 | $(MSWDIR)/brush.$(OBJSUFF) \ | |
197 | $(MSWDIR)/button.$(OBJSUFF) \ | |
198 | $(MSWDIR)/caret.$(OBJSUFF) \ | |
199 | $(MSWDIR)/checkbox.$(OBJSUFF) \ | |
200 | $(MSWDIR)/checklst.$(OBJSUFF) \ | |
201 | $(MSWDIR)/choice.$(OBJSUFF) \ | |
202 | $(MSWDIR)/clipbrd.$(OBJSUFF) \ | |
203 | $(MSWDIR)/colordlg.$(OBJSUFF) \ | |
204 | $(MSWDIR)/colour.$(OBJSUFF) \ | |
205 | $(MSWDIR)/combobox.$(OBJSUFF) \ | |
206 | $(MSWDIR)/control.$(OBJSUFF) \ | |
207 | $(MSWDIR)/curico.$(OBJSUFF) \ | |
208 | $(MSWDIR)/cursor.$(OBJSUFF) \ | |
209 | $(MSWDIR)/data.$(OBJSUFF) \ | |
210 | $(MSWDIR)/dc.$(OBJSUFF) \ | |
211 | $(MSWDIR)/dcclient.$(OBJSUFF) \ | |
212 | $(MSWDIR)/dcmemory.$(OBJSUFF) \ | |
213 | $(MSWDIR)/dcprint.$(OBJSUFF) \ | |
214 | $(MSWDIR)/dcscreen.$(OBJSUFF) \ | |
215 | $(MSWDIR)/dde.$(OBJSUFF) \ | |
216 | $(MSWDIR)/dialog.$(OBJSUFF) \ | |
217 | $(MSWDIR)/dib.$(OBJSUFF) \ | |
218 | $(MSWDIR)/dibutils.$(OBJSUFF) \ | |
219 | $(MSWDIR)/dragimag.$(OBJSUFF) \ | |
220 | $(MSWDIR)/filedlg.$(OBJSUFF) \ | |
221 | $(MSWDIR)/font.$(OBJSUFF) \ | |
222 | $(MSWDIR)/fontdlg.$(OBJSUFF) \ | |
01dba85a JS |
223 | $(MSWDIR)/fontenum.$(OBJSUFF) \ |
224 | $(MSWDIR)/fontutil.$(OBJSUFF) \ | |
a3015c54 RR |
225 | $(MSWDIR)/frame.$(OBJSUFF) \ |
226 | $(MSWDIR)/gauge95.$(OBJSUFF) \ | |
227 | $(MSWDIR)/gdiobj.$(OBJSUFF) \ | |
8ec2b484 | 228 | $(MSWDIR)/gsocket.$(OBJSUFF) \ |
a3015c54 RR |
229 | $(MSWDIR)/helpwin.$(OBJSUFF) \ |
230 | $(MSWDIR)/icon.$(OBJSUFF) \ | |
231 | $(MSWDIR)/imaglist.$(OBJSUFF) \ | |
232 | $(MSWDIR)/joystick.$(OBJSUFF) \ | |
233 | $(MSWDIR)/listbox.$(OBJSUFF) \ | |
234 | $(MSWDIR)/listctrl.$(OBJSUFF) \ | |
235 | $(MSWDIR)/main.$(OBJSUFF) \ | |
236 | $(MSWDIR)/mdi.$(OBJSUFF) \ | |
237 | $(MSWDIR)/menu.$(OBJSUFF) \ | |
238 | $(MSWDIR)/menuitem.$(OBJSUFF) \ | |
239 | $(MSWDIR)/metafile.$(OBJSUFF) \ | |
240 | $(MSWDIR)/minifram.$(OBJSUFF) \ | |
241 | $(MSWDIR)/msgdlg.$(OBJSUFF) \ | |
242 | $(MSWDIR)/nativdlg.$(OBJSUFF) \ | |
243 | $(MSWDIR)/notebook.$(OBJSUFF) \ | |
244 | $(MSWDIR)/ownerdrw.$(OBJSUFF) \ | |
245 | $(MSWDIR)/palette.$(OBJSUFF) \ | |
246 | $(MSWDIR)/pen.$(OBJSUFF) \ | |
247 | $(MSWDIR)/penwin.$(OBJSUFF) \ | |
248 | $(MSWDIR)/pnghand.$(OBJSUFF) \ | |
249 | $(MSWDIR)/printdlg.$(OBJSUFF) \ | |
250 | $(MSWDIR)/printwin.$(OBJSUFF) \ | |
251 | $(MSWDIR)/radiobox.$(OBJSUFF) \ | |
252 | $(MSWDIR)/radiobut.$(OBJSUFF) \ | |
253 | $(MSWDIR)/regconf.$(OBJSUFF) \ | |
254 | $(MSWDIR)/region.$(OBJSUFF) \ | |
255 | $(MSWDIR)/registry.$(OBJSUFF) \ | |
256 | $(MSWDIR)/scrolbar.$(OBJSUFF) \ | |
257 | $(MSWDIR)/settings.$(OBJSUFF) \ | |
258 | $(MSWDIR)/slider95.$(OBJSUFF) \ | |
259 | $(MSWDIR)/spinbutt.$(OBJSUFF) \ | |
791a2102 | 260 | $(MSWDIR)/spinctrl.$(OBJSUFF) \ |
a3015c54 RR |
261 | $(MSWDIR)/statbmp.$(OBJSUFF) \ |
262 | $(MSWDIR)/statbox.$(OBJSUFF) \ | |
263 | $(MSWDIR)/statbr95.$(OBJSUFF) \ | |
264 | $(MSWDIR)/statline.$(OBJSUFF) \ | |
265 | $(MSWDIR)/stattext.$(OBJSUFF) \ | |
266 | $(MSWDIR)/tabctrl.$(OBJSUFF) \ | |
267 | $(MSWDIR)/taskbar.$(OBJSUFF) \ | |
268 | $(MSWDIR)/tbar95.$(OBJSUFF) \ | |
269 | $(MSWDIR)/textctrl.$(OBJSUFF) \ | |
270 | $(MSWDIR)/thread.$(OBJSUFF) \ | |
271 | $(MSWDIR)/timer.$(OBJSUFF) \ | |
272 | $(MSWDIR)/tooltip.$(OBJSUFF) \ | |
273 | $(MSWDIR)/treectrl.$(OBJSUFF) \ | |
274 | $(MSWDIR)/utils.$(OBJSUFF) \ | |
275 | $(MSWDIR)/utilsexc.$(OBJSUFF) \ | |
276 | $(MSWDIR)/wave.$(OBJSUFF) \ | |
277 | $(MSWDIR)/window.$(OBJSUFF) \ | |
278 | $(MSWDIR)/xpmhand.$(OBJSUFF) | |
2bda0e17 | 279 | |
6c8a980f VZ |
280 | ADVANCEDOBJS = \ |
281 | $(COMMDIR)/odbc.$(OBJSUFF) \ | |
282 | $(MSWDIR)/ole/automtn.$(OBJSUFF) \ | |
283 | $(MSWDIR)/ole/dataobj.$(OBJSUFF) \ | |
284 | $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \ | |
285 | $(MSWDIR)/ole/droptgt.$(OBJSUFF) \ | |
286 | $(MSWDIR)/ole/oleutils.$(OBJSUFF) \ | |
287 | $(MSWDIR)/ole/uuid.$(OBJSUFF) | |
288 | ||
c45a644e RR |
289 | ZLIBOBJS = \ |
290 | $(ZLIBDIR)/adler32.$(OBJSUFF) \ | |
291 | $(ZLIBDIR)/compress.$(OBJSUFF) \ | |
292 | $(ZLIBDIR)/crc32.$(OBJSUFF) \ | |
293 | $(ZLIBDIR)/gzio.$(OBJSUFF) \ | |
294 | $(ZLIBDIR)/uncompr.$(OBJSUFF) \ | |
295 | $(ZLIBDIR)/deflate.$(OBJSUFF) \ | |
296 | $(ZLIBDIR)/trees.$(OBJSUFF) \ | |
297 | $(ZLIBDIR)/zutil.$(OBJSUFF) \ | |
298 | $(ZLIBDIR)/inflate.$(OBJSUFF) \ | |
299 | $(ZLIBDIR)/infblock.$(OBJSUFF) \ | |
300 | $(ZLIBDIR)/inftrees.$(OBJSUFF) \ | |
301 | $(ZLIBDIR)/infcodes.$(OBJSUFF) \ | |
302 | $(ZLIBDIR)/infutil.$(OBJSUFF) \ | |
303 | $(ZLIBDIR)/inffast.$(OBJSUFF) | |
304 | ||
305 | PNGOBJS = \ | |
306 | $(PNGDIR)/png.$(OBJSUFF) \ | |
307 | $(PNGDIR)/pngread.$(OBJSUFF) \ | |
308 | $(PNGDIR)/pngrtran.$(OBJSUFF) \ | |
309 | $(PNGDIR)/pngrutil.$(OBJSUFF) \ | |
310 | $(PNGDIR)/pngpread.$(OBJSUFF) \ | |
311 | $(PNGDIR)/pngtrans.$(OBJSUFF) \ | |
312 | $(PNGDIR)/pngwrite.$(OBJSUFF) \ | |
313 | $(PNGDIR)/pngwtran.$(OBJSUFF) \ | |
314 | $(PNGDIR)/pngwutil.$(OBJSUFF) \ | |
315 | $(PNGDIR)/pngerror.$(OBJSUFF) \ | |
316 | $(PNGDIR)/pngmem.$(OBJSUFF) \ | |
317 | $(PNGDIR)/pngwio.$(OBJSUFF) \ | |
318 | $(PNGDIR)/pngrio.$(OBJSUFF) \ | |
319 | $(PNGDIR)/pngget.$(OBJSUFF) \ | |
320 | $(PNGDIR)/pngset.$(OBJSUFF) | |
321 | ||
322 | ||
323 | JPEGOBJS = \ | |
324 | $(JPEGDIR)/jcomapi.$(OBJSUFF) \ | |
325 | $(JPEGDIR)/jutils.$(OBJSUFF) \ | |
326 | $(JPEGDIR)/jerror.$(OBJSUFF) \ | |
327 | $(JPEGDIR)/jmemmgr.$(OBJSUFF) \ | |
328 | $(JPEGDIR)/jmemnobs.$(OBJSUFF) \ | |
329 | $(JPEGDIR)/jcapimin.$(OBJSUFF) \ | |
330 | $(JPEGDIR)/jcapistd.$(OBJSUFF) \ | |
331 | $(JPEGDIR)/jctrans.$(OBJSUFF) \ | |
332 | $(JPEGDIR)/jcparam.$(OBJSUFF) \ | |
333 | $(JPEGDIR)/jdatadst.$(OBJSUFF) \ | |
334 | $(JPEGDIR)/jcinit.$(OBJSUFF) \ | |
335 | $(JPEGDIR)/jcmaster.$(OBJSUFF) \ | |
336 | $(JPEGDIR)/jcmarker.$(OBJSUFF) \ | |
337 | $(JPEGDIR)/jcmainct.$(OBJSUFF) \ | |
338 | $(JPEGDIR)/jcprepct.$(OBJSUFF) \ | |
339 | $(JPEGDIR)/jccoefct.$(OBJSUFF) \ | |
340 | $(JPEGDIR)/jccolor.$(OBJSUFF) \ | |
341 | $(JPEGDIR)/jcsample.$(OBJSUFF) \ | |
342 | $(JPEGDIR)/jchuff.$(OBJSUFF) \ | |
343 | $(JPEGDIR)/jcphuff.$(OBJSUFF) \ | |
344 | $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \ | |
345 | $(JPEGDIR)/jfdctfst.$(OBJSUFF) \ | |
346 | $(JPEGDIR)/jfdctflt.$(OBJSUFF) \ | |
347 | $(JPEGDIR)/jfdctint.$(OBJSUFF) \ | |
348 | $(JPEGDIR)/jdapimin.$(OBJSUFF) \ | |
349 | $(JPEGDIR)/jdapistd.$(OBJSUFF) \ | |
350 | $(JPEGDIR)/jdtrans.$(OBJSUFF) \ | |
351 | $(JPEGDIR)/jdatasrc.$(OBJSUFF) \ | |
352 | $(JPEGDIR)/jdmaster.$(OBJSUFF) \ | |
353 | $(JPEGDIR)/jdinput.$(OBJSUFF) \ | |
354 | $(JPEGDIR)/jdmarker.$(OBJSUFF) \ | |
355 | $(JPEGDIR)/jdhuff.$(OBJSUFF) \ | |
356 | $(JPEGDIR)/jdphuff.$(OBJSUFF) \ | |
357 | $(JPEGDIR)/jdmainct.$(OBJSUFF) \ | |
358 | $(JPEGDIR)/jdcoefct.$(OBJSUFF) \ | |
359 | $(JPEGDIR)/jdpostct.$(OBJSUFF) \ | |
360 | $(JPEGDIR)/jddctmgr.$(OBJSUFF) \ | |
361 | $(JPEGDIR)/jidctfst.$(OBJSUFF) \ | |
362 | $(JPEGDIR)/jidctflt.$(OBJSUFF) \ | |
363 | $(JPEGDIR)/jidctint.$(OBJSUFF) \ | |
364 | $(JPEGDIR)/jidctred.$(OBJSUFF) \ | |
365 | $(JPEGDIR)/jdsample.$(OBJSUFF) \ | |
366 | $(JPEGDIR)/jdcolor.$(OBJSUFF) \ | |
367 | $(JPEGDIR)/jquant1.$(OBJSUFF) \ | |
368 | $(JPEGDIR)/jquant2.$(OBJSUFF) \ | |
369 | $(JPEGDIR)/jdmerge.$(OBJSUFF) | |
370 | ||
4fabb575 JS |
371 | XPMOBJECTS = $(XPMDIR)/crbuffri.o\ |
372 | $(XPMDIR)/crdatfri.o\ | |
373 | $(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\ | |
374 | $(XPMDIR)/crifrdat.o\ | |
375 | $(XPMDIR)/data.o\ | |
376 | $(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\ | |
377 | $(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\ | |
378 | $(XPMDIR)/rdftoi.o\ | |
379 | $(XPMDIR)/rgb.o $(XPMDIR)/scan.o\ | |
380 | $(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\ | |
381 | $(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o | |
74e34480 | 382 | |
6c8a980f VZ |
383 | ifeq ($(MINGW32),1) |
384 | ifeq ($(MINGW32VERSION),2.95) | |
154f22b3 | 385 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS) # $(XPMOBJECTS) |
6c8a980f | 386 | else |
154f22b3 | 387 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) # $(XPMOBJECTS) |
6c8a980f VZ |
388 | endif |
389 | else | |
154f22b3 | 390 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) # $(XPMOBJECTS) |
6c8a980f | 391 | endif |
2bda0e17 | 392 | |
01dba85a | 393 | all: $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(JPEGLIB) $(PNGLIB) |
2bda0e17 | 394 | |
2bda0e17 KB |
395 | $(WXLIB): $(OBJECTS) $(EXTRAOBJS) |
396 | ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS) | |
397 | $(RANLIB) $@ | |
398 | ||
01dba85a JS |
399 | $(ZLIBLIB): $(ZLIBOBJS) |
400 | ar $(AROPTIONS) $@ $(ZLIBOBJS) | |
401 | $(RANLIB) $@ | |
402 | ||
403 | $(PNGLIB): $(PNGOBJS) | |
404 | ar $(AROPTIONS) $@ $(PNGOBJS) | |
405 | $(RANLIB) $@ | |
406 | ||
407 | $(JPEGLIB): $(JPEGOBJS) | |
408 | ar $(AROPTIONS) $@ $(JPEGOBJS) | |
409 | $(RANLIB) $@ | |
410 | ||
2bda0e17 KB |
411 | $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h |
412 | ||
413 | $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c | |
6a570331 RR |
414 | $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c |
415 | ||
416 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
01dba85a | 417 | $(COPY) ..\\common\\dosyacc.c ..\\common\\y_tab.c |
6a570331 RR |
418 | |
419 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
01dba85a | 420 | $(COPY) ..\\common\\doslex.c ..\\common\\lex_yy.c |
2bda0e17 KB |
421 | |
422 | # Replace lex with flex if you run into compilation | |
423 | # problems with lex_yy.c. See also note about LEX_SCANNER | |
424 | # above. | |
6a570331 RR |
425 | # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l |
426 | # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l | |
427 | # | |
8870c26e JS |
428 | # Try one of these if the above line doesn't work. |
429 | # Alternative syntax (1) | |
430 | # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c | |
431 | # Alternative syntax (2) | |
432 | # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l | |
6a570331 | 433 | # |
2bda0e17 KB |
434 | # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \ |
435 | # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \ | |
436 | # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c | |
437 | # rm -f lex.yy.c | |
6a570331 | 438 | # |
2bda0e17 KB |
439 | # Replace yacc with bison if you run into compilation |
440 | # problems with y_tab.c. | |
6a570331 RR |
441 | # |
442 | # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y | |
443 | # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y | |
444 | # | |
57c208c5 JS |
445 | # If you use e.g. gcc on Unix, uncomment these lines |
446 | # and comment out the above. | |
6a570331 | 447 | # |
a1b82138 | 448 | # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y |
57c208c5 JS |
449 | # $(YACC) $(COMMDIR)/parser.y |
450 | # mv y.tab.c $(COMMDIR)/y_tab.c | |
2bda0e17 | 451 | |
2bda0e17 | 452 | clean: |
6474416b | 453 | -$(RM) *.o |
01dba85a | 454 | -$(RM) ole/*.o |
6474416b JS |
455 | -$(RM) *.bak |
456 | -$(RM) core | |
01dba85a JS |
457 | -$(RM) ../common/y_tab.c |
458 | -$(RM) ../common/lex_yy.c | |
459 | -$(RM) ../common/*.o | |
460 | -$(RM) ../common/*.bak | |
461 | -$(RM) ../generic/*.o | |
462 | -$(RM) ../generic/*.bak | |
463 | -$(RM) ../html/*.o | |
464 | -$(RM) ../png/*.o | |
465 | -$(RM) ../png/*.bak | |
466 | -$(RM) ../zlib/*.o | |
467 | -$(RM) ../zlib/*.bak | |
468 | -$(RM) ../jpeg/*.o | |
469 | -$(RM) ../../lib/libwx.a | |
2bda0e17 KB |
470 | |
471 | cleanall: clean |