]>
Commit | Line | Data |
---|---|---|
1 | # This file was automatically generated by tmake at 14:24, 1999/11/15 | |
2 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T! | |
3 | ||
4 | # | |
5 | # File: makefile.g95 | |
6 | # Author: Julian Smart, Robert Roebling, Vadim Zeitlin | |
7 | # Created: 1993 | |
8 | # Updated: 1999 | |
9 | # Copyright:(c) 1993, AIAI, University of Edinburgh, | |
10 | # Copyright:(c) 1999, Vadim Zeitlin | |
11 | # Copyright:(c) 1999, Robert Roebling | |
12 | # | |
13 | # Makefile for libwx.a | |
14 | ||
15 | # Replace this with your own path if necessary | |
16 | WXDIR = ../.. | |
17 | ||
18 | # All common compiler flags and options are now in | |
19 | # this central makefile. | |
20 | include $(WXDIR)/src/makeg95.env | |
21 | ||
22 | # Subordinate library possibilities | |
23 | ||
24 | EXTRAOBJS= | |
25 | ||
26 | GENDIR = $(WXDIR)/src/generic | |
27 | COMMDIR = $(WXDIR)/src/common | |
28 | HTMLDIR = $(WXDIR)/src/html | |
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 | |
35 | ||
36 | PNGLIB = $(WXDIR)/lib/libpng.a | |
37 | ZLIBLIB = $(WXDIR)/lib/libzlib.a | |
38 | JPEGLIB = $(WXDIR)/lib/libjpeg.a | |
39 | ||
40 | DOCDIR = $(WXDIR)\docs | |
41 | ||
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 | ||
54 | GENERICOBJS = \ | |
55 | $(GENDIR)/busyinfo.$(OBJSUFF) \ | |
56 | $(GENDIR)/choicdgg.$(OBJSUFF) \ | |
57 | $(GENDIR)/grid.$(OBJSUFF) \ | |
58 | $(GENDIR)/laywin.$(OBJSUFF) \ | |
59 | $(GENDIR)/logg.$(OBJSUFF) \ | |
60 | $(GENDIR)/numdlgg.$(OBJSUFF) \ | |
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) \ | |
72 | $(GENDIR)/tipdlg.$(OBJSUFF) \ | |
73 | $(GENDIR)/wizard.$(OBJSUFF) | |
74 | ||
75 | COMMONOBJS = \ | |
76 | $(COMMDIR)/y_tab.$(OBJSUFF) \ | |
77 | $(COMMDIR)/appcmn.$(OBJSUFF) \ | |
78 | $(COMMDIR)/choiccmn.$(OBJSUFF) \ | |
79 | $(COMMDIR)/clipcmn.$(OBJSUFF) \ | |
80 | $(COMMDIR)/cmndata.$(OBJSUFF) \ | |
81 | $(COMMDIR)/config.$(OBJSUFF) \ | |
82 | $(COMMDIR)/ctrlcmn.$(OBJSUFF) \ | |
83 | $(COMMDIR)/ctrlsub.$(OBJSUFF) \ | |
84 | $(COMMDIR)/date.$(OBJSUFF) \ | |
85 | $(COMMDIR)/datstrm.$(OBJSUFF) \ | |
86 | $(COMMDIR)/db.$(OBJSUFF) \ | |
87 | $(COMMDIR)/dbtable.$(OBJSUFF) \ | |
88 | $(COMMDIR)/dcbase.$(OBJSUFF) \ | |
89 | $(COMMDIR)/dlgcmn.$(OBJSUFF) \ | |
90 | $(COMMDIR)/dobjcmn.$(OBJSUFF) \ | |
91 | $(COMMDIR)/docmdi.$(OBJSUFF) \ | |
92 | $(COMMDIR)/docview.$(OBJSUFF) \ | |
93 | $(COMMDIR)/dynarray.$(OBJSUFF) \ | |
94 | $(COMMDIR)/dynlib.$(OBJSUFF) \ | |
95 | $(COMMDIR)/event.$(OBJSUFF) \ | |
96 | $(COMMDIR)/extended.$(OBJSUFF) \ | |
97 | $(COMMDIR)/ffile.$(OBJSUFF) \ | |
98 | $(COMMDIR)/file.$(OBJSUFF) \ | |
99 | $(COMMDIR)/fileconf.$(OBJSUFF) \ | |
100 | $(COMMDIR)/filefn.$(OBJSUFF) \ | |
101 | $(COMMDIR)/filesys.$(OBJSUFF) \ | |
102 | $(COMMDIR)/fontcmn.$(OBJSUFF) \ | |
103 | $(COMMDIR)/fontmap.$(OBJSUFF) \ | |
104 | $(COMMDIR)/framecmn.$(OBJSUFF) \ | |
105 | $(COMMDIR)/fs_inet.$(OBJSUFF) \ | |
106 | $(COMMDIR)/fs_zip.$(OBJSUFF) \ | |
107 | $(COMMDIR)/ftp.$(OBJSUFF) \ | |
108 | $(COMMDIR)/gdicmn.$(OBJSUFF) \ | |
109 | $(COMMDIR)/gifdecod.$(OBJSUFF) \ | |
110 | $(COMMDIR)/hash.$(OBJSUFF) \ | |
111 | $(COMMDIR)/helpbase.$(OBJSUFF) \ | |
112 | $(COMMDIR)/http.$(OBJSUFF) \ | |
113 | $(COMMDIR)/imagall.$(OBJSUFF) \ | |
114 | $(COMMDIR)/imagbmp.$(OBJSUFF) \ | |
115 | $(COMMDIR)/image.$(OBJSUFF) \ | |
116 | $(COMMDIR)/imaggif.$(OBJSUFF) \ | |
117 | $(COMMDIR)/imagjpeg.$(OBJSUFF) \ | |
118 | $(COMMDIR)/imagpcx.$(OBJSUFF) \ | |
119 | $(COMMDIR)/imagpng.$(OBJSUFF) \ | |
120 | $(COMMDIR)/imagpnm.$(OBJSUFF) \ | |
121 | $(COMMDIR)/intl.$(OBJSUFF) \ | |
122 | $(COMMDIR)/ipcbase.$(OBJSUFF) \ | |
123 | $(COMMDIR)/layout.$(OBJSUFF) \ | |
124 | $(COMMDIR)/lboxcmn.$(OBJSUFF) \ | |
125 | $(COMMDIR)/list.$(OBJSUFF) \ | |
126 | $(COMMDIR)/log.$(OBJSUFF) \ | |
127 | $(COMMDIR)/memory.$(OBJSUFF) \ | |
128 | $(COMMDIR)/menucmn.$(OBJSUFF) \ | |
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) \ | |
141 | $(COMMDIR)/sckipc.$(OBJSUFF) \ | |
142 | $(COMMDIR)/sckstrm.$(OBJSUFF) \ | |
143 | $(COMMDIR)/serbase.$(OBJSUFF) \ | |
144 | $(COMMDIR)/sizer.$(OBJSUFF) \ | |
145 | $(COMMDIR)/socket.$(OBJSUFF) \ | |
146 | $(COMMDIR)/strconv.$(OBJSUFF) \ | |
147 | $(COMMDIR)/stream.$(OBJSUFF) \ | |
148 | $(COMMDIR)/string.$(OBJSUFF) \ | |
149 | $(COMMDIR)/tbarbase.$(OBJSUFF) \ | |
150 | $(COMMDIR)/tbarsmpl.$(OBJSUFF) \ | |
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) \ | |
168 | $(COMMDIR)/zipstrm.$(OBJSUFF) \ | |
169 | $(COMMDIR)/zstream.$(OBJSUFF) | |
170 | ||
171 | HTMLOBJS = \ | |
172 | $(HTMLDIR)/helpctrl.$(OBJSUFF) \ | |
173 | $(HTMLDIR)/helpdata.$(OBJSUFF) \ | |
174 | $(HTMLDIR)/helpfrm.$(OBJSUFF) \ | |
175 | $(HTMLDIR)/htmlcell.$(OBJSUFF) \ | |
176 | $(HTMLDIR)/htmlfilt.$(OBJSUFF) \ | |
177 | $(HTMLDIR)/htmlpars.$(OBJSUFF) \ | |
178 | $(HTMLDIR)/htmltag.$(OBJSUFF) \ | |
179 | $(HTMLDIR)/htmlwin.$(OBJSUFF) \ | |
180 | $(HTMLDIR)/htmprint.$(OBJSUFF) \ | |
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) \ | |
189 | $(HTMLDIR)/winpars.$(OBJSUFF) | |
190 | ||
191 | MSWOBJS = \ | |
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) \ | |
223 | $(MSWDIR)/fontenum.$(OBJSUFF) \ | |
224 | $(MSWDIR)/fontutil.$(OBJSUFF) \ | |
225 | $(MSWDIR)/frame.$(OBJSUFF) \ | |
226 | $(MSWDIR)/gauge95.$(OBJSUFF) \ | |
227 | $(MSWDIR)/gdiobj.$(OBJSUFF) \ | |
228 | $(MSWDIR)/gsocket.$(OBJSUFF) \ | |
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) \ | |
260 | $(MSWDIR)/spinctrl.$(OBJSUFF) \ | |
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) | |
279 | ||
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 | ||
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 | ||
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 | |
382 | ||
383 | ifeq ($(MINGW32),1) | |
384 | ifeq ($(MINGW32VERSION),2.95) | |
385 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS) # $(XPMOBJECTS) | |
386 | else | |
387 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) # $(XPMOBJECTS) | |
388 | endif | |
389 | else | |
390 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) # $(XPMOBJECTS) | |
391 | endif | |
392 | ||
393 | all: $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(JPEGLIB) $(PNGLIB) | |
394 | ||
395 | $(WXLIB): $(OBJECTS) $(EXTRAOBJS) | |
396 | ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS) | |
397 | $(RANLIB) $@ | |
398 | ||
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 | ||
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 | |
414 | $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c | |
415 | ||
416 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
417 | $(COPY) ..\\common\\dosyacc.c ..\\common\\y_tab.c | |
418 | ||
419 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
420 | $(COPY) ..\\common\\doslex.c ..\\common\\lex_yy.c | |
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. | |
425 | # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l | |
426 | # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l | |
427 | # | |
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 | |
433 | # | |
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 | |
438 | # | |
439 | # Replace yacc with bison if you run into compilation | |
440 | # problems with y_tab.c. | |
441 | # | |
442 | # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y | |
443 | # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y | |
444 | # | |
445 | # If you use e.g. gcc on Unix, uncomment these lines | |
446 | # and comment out the above. | |
447 | # | |
448 | # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y | |
449 | # $(YACC) $(COMMDIR)/parser.y | |
450 | # mv y.tab.c $(COMMDIR)/y_tab.c | |
451 | ||
452 | clean: | |
453 | -$(RM) *.o | |
454 | -$(RM) ole/*.o | |
455 | -$(RM) *.bak | |
456 | -$(RM) core | |
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 | |
470 | ||
471 | cleanall: clean |