]> git.saurik.com Git - wxWidgets.git/blob - src/gtk1/Makefile
Replaced old wxSizer,
[wxWidgets.git] / src / gtk1 / Makefile
1
2 # This file was automatically generated by tmake at 23:37, 1999/08/08
3 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
4
5 #
6 # File: Makefile
7 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
8 # Created: 1993
9 # Updated: 1999
10 # Copyright:(c) 1993, AIAI, University of Edinburgh,
11 # Copyright:(c) 1999, Vadim Zeitlin
12 # Copyright:(c) 1999, Robert Roebling
13 #
14 # Makefile for libwx_gtk.a
15
16 WXDIR = ../..
17
18 include $(WXDIR)/src/gtk.env
19
20 # Subordinate library possibilities
21
22 GENDIR = $(WXDIR)/src/generic
23 COMMDIR = $(WXDIR)/src/common
24 HTMLDIR = $(WXDIR)/src/html
25 UNIXDIR = $(WXDIR)/src/unix
26 PNGDIR = $(WXDIR)/src/png
27 JPEGDIR = $(WXDIR)/src/jpeg
28 ZLIBDIR = $(WXDIR)/src/zlib
29 GTKDIR = $(WXDIR)/src/gtk
30
31 DOCDIR = $(WXDIR)\docs
32
33 GENERICOBJS = \
34 $(GENDIR)/busyinfo.$(OBJSUFF) \
35 $(GENDIR)/caret.$(OBJSUFF) \
36 $(GENDIR)/colrdlgg.$(OBJSUFF) \
37 $(GENDIR)/dirdlgg.$(OBJSUFF) \
38 $(GENDIR)/extdlgg.$(OBJSUFF) \
39 $(GENDIR)/fontdlgg.$(OBJSUFF) \
40 $(GENDIR)/gridg.$(OBJSUFF) \
41 $(GENDIR)/imaglist.$(OBJSUFF) \
42 $(GENDIR)/laywin.$(OBJSUFF) \
43 $(GENDIR)/listctrl.$(OBJSUFF) \
44 $(GENDIR)/numdlgg.$(OBJSUFF) \
45 $(GENDIR)/panelg.$(OBJSUFF) \
46 $(GENDIR)/printps.$(OBJSUFF) \
47 $(GENDIR)/prntdlgg.$(OBJSUFF) \
48 $(GENDIR)/progdlgg.$(OBJSUFF) \
49 $(GENDIR)/prop.$(OBJSUFF) \
50 $(GENDIR)/propform.$(OBJSUFF) \
51 $(GENDIR)/proplist.$(OBJSUFF) \
52 $(GENDIR)/sashwin.$(OBJSUFF) \
53 $(GENDIR)/scrolwin.$(OBJSUFF) \
54 $(GENDIR)/splitter.$(OBJSUFF) \
55 $(GENDIR)/statusbr.$(OBJSUFF) \
56 $(GENDIR)/tipdlg.$(OBJSUFF) \
57 $(GENDIR)/treectrl.$(OBJSUFF)
58
59 COMMONOBJS = \
60 $(COMMDIR)/parser.$(OBJSUFF) \
61 $(COMMDIR)/cmndata.$(OBJSUFF) \
62 $(COMMDIR)/config.$(OBJSUFF) \
63 $(COMMDIR)/date.$(OBJSUFF) \
64 $(COMMDIR)/datstrm.$(OBJSUFF) \
65 $(COMMDIR)/db.$(OBJSUFF) \
66 $(COMMDIR)/dbtable.$(OBJSUFF) \
67 $(COMMDIR)/dcbase.$(OBJSUFF) \
68 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
69 $(COMMDIR)/docmdi.$(OBJSUFF) \
70 $(COMMDIR)/docview.$(OBJSUFF) \
71 $(COMMDIR)/dynarray.$(OBJSUFF) \
72 $(COMMDIR)/dynlib.$(OBJSUFF) \
73 $(COMMDIR)/event.$(OBJSUFF) \
74 $(COMMDIR)/extended.$(OBJSUFF) \
75 $(COMMDIR)/ffile.$(OBJSUFF) \
76 $(COMMDIR)/file.$(OBJSUFF) \
77 $(COMMDIR)/fileconf.$(OBJSUFF) \
78 $(COMMDIR)/filefn.$(OBJSUFF) \
79 $(COMMDIR)/filesys.$(OBJSUFF) \
80 $(COMMDIR)/framecmn.$(OBJSUFF) \
81 $(COMMDIR)/fs_inet.$(OBJSUFF) \
82 $(COMMDIR)/fs_zip.$(OBJSUFF) \
83 $(COMMDIR)/ftp.$(OBJSUFF) \
84 $(COMMDIR)/gdicmn.$(OBJSUFF) \
85 $(COMMDIR)/hash.$(OBJSUFF) \
86 $(COMMDIR)/helpbase.$(OBJSUFF) \
87 $(COMMDIR)/http.$(OBJSUFF) \
88 $(COMMDIR)/imagbmp.$(OBJSUFF) \
89 $(COMMDIR)/image.$(OBJSUFF) \
90 $(COMMDIR)/imaggif.$(OBJSUFF) \
91 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
92 $(COMMDIR)/imagpng.$(OBJSUFF) \
93 $(COMMDIR)/intl.$(OBJSUFF) \
94 $(COMMDIR)/ipcbase.$(OBJSUFF) \
95 $(COMMDIR)/layout.$(OBJSUFF) \
96 $(COMMDIR)/list.$(OBJSUFF) \
97 $(COMMDIR)/log.$(OBJSUFF) \
98 $(COMMDIR)/memory.$(OBJSUFF) \
99 $(COMMDIR)/mimetype.$(OBJSUFF) \
100 $(COMMDIR)/module.$(OBJSUFF) \
101 $(COMMDIR)/mstream.$(OBJSUFF) \
102 $(COMMDIR)/object.$(OBJSUFF) \
103 $(COMMDIR)/objstrm.$(OBJSUFF) \
104 $(COMMDIR)/paper.$(OBJSUFF) \
105 $(COMMDIR)/prntbase.$(OBJSUFF) \
106 $(COMMDIR)/process.$(OBJSUFF) \
107 $(COMMDIR)/protocol.$(OBJSUFF) \
108 $(COMMDIR)/resource.$(OBJSUFF) \
109 $(COMMDIR)/sckaddr.$(OBJSUFF) \
110 $(COMMDIR)/sckfile.$(OBJSUFF) \
111 $(COMMDIR)/sckipc.$(OBJSUFF) \
112 $(COMMDIR)/sckstrm.$(OBJSUFF) \
113 $(COMMDIR)/socket.$(OBJSUFF) \
114 $(COMMDIR)/strconv.$(OBJSUFF) \
115 $(COMMDIR)/stream.$(OBJSUFF) \
116 $(COMMDIR)/string.$(OBJSUFF) \
117 $(COMMDIR)/tbarbase.$(OBJSUFF) \
118 $(COMMDIR)/tbarsmpl.$(OBJSUFF) \
119 $(COMMDIR)/textcmn.$(OBJSUFF) \
120 $(COMMDIR)/textfile.$(OBJSUFF) \
121 $(COMMDIR)/time.$(OBJSUFF) \
122 $(COMMDIR)/timercmn.$(OBJSUFF) \
123 $(COMMDIR)/tokenzr.$(OBJSUFF) \
124 $(COMMDIR)/txtstrm.$(OBJSUFF) \
125 $(COMMDIR)/unzip.$(OBJSUFF) \
126 $(COMMDIR)/url.$(OBJSUFF) \
127 $(COMMDIR)/utilscmn.$(OBJSUFF) \
128 $(COMMDIR)/valgen.$(OBJSUFF) \
129 $(COMMDIR)/validate.$(OBJSUFF) \
130 $(COMMDIR)/valtext.$(OBJSUFF) \
131 $(COMMDIR)/variant.$(OBJSUFF) \
132 $(COMMDIR)/wfstream.$(OBJSUFF) \
133 $(COMMDIR)/wincmn.$(OBJSUFF) \
134 $(COMMDIR)/wxchar.$(OBJSUFF) \
135 $(COMMDIR)/wxexpr.$(OBJSUFF) \
136 $(COMMDIR)/zipstrm.$(OBJSUFF) \
137 $(COMMDIR)/zstream.$(OBJSUFF)
138
139 HTMLOBJS = \
140 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
141 $(HTMLDIR)/htmlfilter.$(OBJSUFF) \
142 $(HTMLDIR)/htmlhelp.$(OBJSUFF) \
143 $(HTMLDIR)/htmlhelp_io.$(OBJSUFF) \
144 $(HTMLDIR)/htmlparser.$(OBJSUFF) \
145 $(HTMLDIR)/htmltag.$(OBJSUFF) \
146 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
147 $(HTMLDIR)/htmlwinparser.$(OBJSUFF) \
148 $(HTMLDIR)/mod_fonts.$(OBJSUFF) \
149 $(HTMLDIR)/mod_hline.$(OBJSUFF) \
150 $(HTMLDIR)/mod_image.$(OBJSUFF) \
151 $(HTMLDIR)/mod_layout.$(OBJSUFF) \
152 $(HTMLDIR)/mod_links.$(OBJSUFF) \
153 $(HTMLDIR)/mod_list.$(OBJSUFF) \
154 $(HTMLDIR)/mod_pre.$(OBJSUFF) \
155 $(HTMLDIR)/mod_tables.$(OBJSUFF) \
156 $(HTMLDIR)/search.$(OBJSUFF)
157
158 GTKOBJS = \
159 $(GTKDIR)/accel.$(OBJSUFF) \
160 $(GTKDIR)/app.$(OBJSUFF) \
161 $(GTKDIR)/bitmap.$(OBJSUFF) \
162 $(GTKDIR)/bmpbuttn.$(OBJSUFF) \
163 $(GTKDIR)/brush.$(OBJSUFF) \
164 $(GTKDIR)/button.$(OBJSUFF) \
165 $(GTKDIR)/checkbox.$(OBJSUFF) \
166 $(GTKDIR)/checklst.$(OBJSUFF) \
167 $(GTKDIR)/choicdlg.$(OBJSUFF) \
168 $(GTKDIR)/choice.$(OBJSUFF) \
169 $(GTKDIR)/clipbrd.$(OBJSUFF) \
170 $(GTKDIR)/colour.$(OBJSUFF) \
171 $(GTKDIR)/combobox.$(OBJSUFF) \
172 $(GTKDIR)/control.$(OBJSUFF) \
173 $(GTKDIR)/cursor.$(OBJSUFF) \
174 $(GTKDIR)/data.$(OBJSUFF) \
175 $(GTKDIR)/dataobj.$(OBJSUFF) \
176 $(GTKDIR)/dc.$(OBJSUFF) \
177 $(GTKDIR)/dcclient.$(OBJSUFF) \
178 $(GTKDIR)/dcmemory.cpp \
179 $(GTKDIR)/dcscreen.$(OBJSUFF) \
180 $(GTKDIR)/dialog.$(OBJSUFF) \
181 $(GTKDIR)/dnd.$(OBJSUFF) \
182 $(GTKDIR)/filedlg.$(OBJSUFF) \
183 $(GTKDIR)/font.$(OBJSUFF) \
184 $(GTKDIR)/frame.$(OBJSUFF) \
185 $(GTKDIR)/gauge.$(OBJSUFF) \
186 $(GTKDIR)/gdiobj.$(OBJSUFF) \
187 $(GTKDIR)/gsockgtk.$(OBJSUFF) \
188 $(GTKDIR)/icon.$(OBJSUFF) \
189 $(GTKDIR)/listbox.$(OBJSUFF) \
190 $(GTKDIR)/main.$(OBJSUFF) \
191 $(GTKDIR)/mdi.$(OBJSUFF) \
192 $(GTKDIR)/menu.$(OBJSUFF) \
193 $(GTKDIR)/minifram.$(OBJSUFF) \
194 $(GTKDIR)/msgdlg.$(OBJSUFF) \
195 $(GTKDIR)/notebook.$(OBJSUFF) \
196 $(GTKDIR)/palette.$(OBJSUFF) \
197 $(GTKDIR)/pen.$(OBJSUFF) \
198 $(GTKDIR)/radiobox.$(OBJSUFF) \
199 $(GTKDIR)/radiobut.$(OBJSUFF) \
200 $(GTKDIR)/region.$(OBJSUFF) \
201 $(GTKDIR)/scrolbar.$(OBJSUFF) \
202 $(GTKDIR)/settings.$(OBJSUFF) \
203 $(GTKDIR)/slider.$(OBJSUFF) \
204 $(GTKDIR)/spinbutt.$(OBJSUFF) \
205 $(GTKDIR)/statbmp.$(OBJSUFF) \
206 $(GTKDIR)/statbox.$(OBJSUFF) \
207 $(GTKDIR)/statline.$(OBJSUFF) \
208 $(GTKDIR)/stattext.$(OBJSUFF) \
209 $(GTKDIR)/tbargtk.$(OBJSUFF) \
210 $(GTKDIR)/textctrl.$(OBJSUFF) \
211 $(GTKDIR)/textdlg.$(OBJSUFF) \
212 $(GTKDIR)/timer.$(OBJSUFF) \
213 $(GTKDIR)/tooltip.$(OBJSUFF) \
214 $(GTKDIR)/utilsgtk.$(OBJSUFF) \
215 $(GTKDIR)/utilsres.$(OBJSUFF) \
216 $(GTKDIR)/wave.$(OBJSUFF) \
217 $(GTKDIR)/win_gtk.$(OBJSUFF) \
218 $(GTKDIR)/window.$(OBJSUFF)
219
220 UNIXOBJS = \
221 $(UNIXDIR)/gsocket.$(OBJSUFF) \
222 $(UNIXDIR)/threadpsx.$(OBJSUFF) \
223 $(UNIXDIR)/utilsunx.$(OBJSUFF)
224
225 ZLIBOBJS = \
226 $(ZLIBDIR)/adler32.$(OBJSUFF) \
227 $(ZLIBDIR)/compress.$(OBJSUFF) \
228 $(ZLIBDIR)/crc32.$(OBJSUFF) \
229 $(ZLIBDIR)/gzio.$(OBJSUFF) \
230 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
231 $(ZLIBDIR)/deflate.$(OBJSUFF) \
232 $(ZLIBDIR)/trees.$(OBJSUFF) \
233 $(ZLIBDIR)/zutil.$(OBJSUFF) \
234 $(ZLIBDIR)/inflate.$(OBJSUFF) \
235 $(ZLIBDIR)/infblock.$(OBJSUFF) \
236 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
237 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
238 $(ZLIBDIR)/infutil.$(OBJSUFF) \
239 $(ZLIBDIR)/inffast.$(OBJSUFF)
240
241 PNGOBJS = \
242 $(PNGDIR)/png.$(OBJSUFF) \
243 $(PNGDIR)/pngread.$(OBJSUFF) \
244 $(PNGDIR)/pngrtran.$(OBJSUFF) \
245 $(PNGDIR)/pngrutil.$(OBJSUFF) \
246 $(PNGDIR)/pngpread.$(OBJSUFF) \
247 $(PNGDIR)/pngtrans.$(OBJSUFF) \
248 $(PNGDIR)/pngwrite.$(OBJSUFF) \
249 $(PNGDIR)/pngwtran.$(OBJSUFF) \
250 $(PNGDIR)/pngwutil.$(OBJSUFF) \
251 $(PNGDIR)/pngerror.$(OBJSUFF) \
252 $(PNGDIR)/pngmem.$(OBJSUFF) \
253 $(PNGDIR)/pngwio.$(OBJSUFF) \
254 $(PNGDIR)/pngrio.$(OBJSUFF) \
255 $(PNGDIR)/pngget.$(OBJSUFF) \
256 $(PNGDIR)/pngset.$(OBJSUFF)
257
258
259 JPEGOBJS = \
260 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
261 $(JPEGDIR)/jutils.$(OBJSUFF) \
262 $(JPEGDIR)/jerror.$(OBJSUFF) \
263 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
264 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
265 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
266 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
267 $(JPEGDIR)/jctrans.$(OBJSUFF) \
268 $(JPEGDIR)/jcparam.$(OBJSUFF) \
269 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
270 $(JPEGDIR)/jcinit.$(OBJSUFF) \
271 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
272 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
273 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
274 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
275 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
276 $(JPEGDIR)/jccolor.$(OBJSUFF) \
277 $(JPEGDIR)/jcsample.$(OBJSUFF) \
278 $(JPEGDIR)/jchuff.$(OBJSUFF) \
279 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
280 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
281 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
282 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
283 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
284 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
285 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
286 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
287 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
288 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
289 $(JPEGDIR)/jdinput.$(OBJSUFF) \
290 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
291 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
292 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
293 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
294 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
295 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
296 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
297 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
298 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
299 $(JPEGDIR)/jidctint.$(OBJSUFF) \
300 $(JPEGDIR)/jidctred.$(OBJSUFF) \
301 $(JPEGDIR)/jdsample.$(OBJSUFF) \
302 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
303 $(JPEGDIR)/jquant1.$(OBJSUFF) \
304 $(JPEGDIR)/jquant2.$(OBJSUFF) \
305 $(JPEGDIR)/jdmerge.$(OBJSUFF)
306
307 OBJECTS = $(GTKOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJ) $(UNIXOBJS) \
308 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
309
310 all: $(OBJECTS) $(WXLIB)
311
312 $(WXLIB): $(OBJECTS)
313 ar $(AROPTIONS) $@ $(OBJECTS)
314 $(RANLIB) $@
315
316 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
317
318 $(COMMDIR)/parser.$(OBJSUFF): $(COMMDIR)/parser.c $(COMMDIR)/lexer.c
319 $(CCLEX) -c $(CFLAGS) -o $@ $(COMMDIR)/parser.c
320
321 $(COMMDIR)/parser.c: $(COMMDIR)/parser.y $(COMMDIR)/lexer.c
322 $(YACC) $(COMMDIR)/parser.y
323 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
324 sed -e "s/BUFSIZ/5000/g" | \
325 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
326 sed -e "s/yy/PROIO_yy/g" | \
327 sed -e "s/input/PROIO_input/g" | \
328 sed -e "s/unput/PROIO_unput/g" > $(COMMDIR)/parser.c
329 @$(RM) y.tab.c
330
331 $(COMMDIR)/lexer.c: $(COMMDIR)/lexer.l
332 $(LEX) $(COMMDIR)/lexer.l
333 @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
334 sed -e "s/yy/PROIO_yy/g" | \
335 sed -e "s/input/PROIO_input/g" | \
336 sed -e "s/unput/PROIO_unput/g" > $(COMMDIR)/lexer.c
337 @$(RM) lex.yy.c
338
339 clean:
340 rm -f $(GTKDIR)/*.$(OBJSUFF)
341 rm -f $(COMMDIR)/parser.c
342 rm -f $(COMMDIR)/lexer.c
343 rm -f $(COMMDIR)/*.$(OBJSUFF)
344 rm -f $(GENDIR)/*.$(OBJSUFF)
345 rm -f $(PNGDIR)/*.$(OBJSUFF)
346 rm -f $(ZLIBDIR)/*.$(OBJSUFF)
347 rm -f $(JPEGDIR)/*.$(OBJSUFF)
348 rm -f $(UNIXDIR)/*.$(OBJSUFF)
349 rm -f $(HTMLDIR)/*.$(OBJSUFF)
350 rm -f $(WXWIN)/lib/libwx_$(GUI).a
351
352 cleanall: clean