]> git.saurik.com Git - wxWidgets.git/blob - src/gtk1/Makefile
no more assert failure in GetSelection() if there is no selection
[wxWidgets.git] / src / gtk1 / Makefile
1
2 # This file was automatically generated by tmake at 21:49, 1999/07/29
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)/stream.$(OBJSUFF) \
115 $(COMMDIR)/string.$(OBJSUFF) \
116 $(COMMDIR)/tbarbase.$(OBJSUFF) \
117 $(COMMDIR)/tbarsmpl.$(OBJSUFF) \
118 $(COMMDIR)/textcmn.$(OBJSUFF) \
119 $(COMMDIR)/textfile.$(OBJSUFF) \
120 $(COMMDIR)/time.$(OBJSUFF) \
121 $(COMMDIR)/timercmn.$(OBJSUFF) \
122 $(COMMDIR)/tokenzr.$(OBJSUFF) \
123 $(COMMDIR)/txtstrm.$(OBJSUFF) \
124 $(COMMDIR)/unzip.$(OBJSUFF) \
125 $(COMMDIR)/url.$(OBJSUFF) \
126 $(COMMDIR)/utilscmn.$(OBJSUFF) \
127 $(COMMDIR)/valgen.$(OBJSUFF) \
128 $(COMMDIR)/validate.$(OBJSUFF) \
129 $(COMMDIR)/valtext.$(OBJSUFF) \
130 $(COMMDIR)/variant.$(OBJSUFF) \
131 $(COMMDIR)/wfstream.$(OBJSUFF) \
132 $(COMMDIR)/wincmn.$(OBJSUFF) \
133 $(COMMDIR)/wxchar.$(OBJSUFF) \
134 $(COMMDIR)/wxexpr.$(OBJSUFF) \
135 $(COMMDIR)/zipstream.$(OBJSUFF) \
136 $(COMMDIR)/zstream.$(OBJSUFF)
137
138 HTMLOBJS = \
139 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
140 $(HTMLDIR)/htmlfilter.$(OBJSUFF) \
141 $(HTMLDIR)/htmlhelp.$(OBJSUFF) \
142 $(HTMLDIR)/htmlhelp_io.$(OBJSUFF) \
143 $(HTMLDIR)/htmlparser.$(OBJSUFF) \
144 $(HTMLDIR)/htmltag.$(OBJSUFF) \
145 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
146 $(HTMLDIR)/htmlwinparser.$(OBJSUFF) \
147 $(HTMLDIR)/mod_fonts.$(OBJSUFF) \
148 $(HTMLDIR)/mod_hline.$(OBJSUFF) \
149 $(HTMLDIR)/mod_image.$(OBJSUFF) \
150 $(HTMLDIR)/mod_layout.$(OBJSUFF) \
151 $(HTMLDIR)/mod_links.$(OBJSUFF) \
152 $(HTMLDIR)/mod_list.$(OBJSUFF) \
153 $(HTMLDIR)/mod_pre.$(OBJSUFF) \
154 $(HTMLDIR)/mod_tables.$(OBJSUFF) \
155 $(HTMLDIR)/search.$(OBJSUFF)
156
157 GTKOBJS = \
158 $(GTKDIR)/accel.$(OBJSUFF) \
159 $(GTKDIR)/app.$(OBJSUFF) \
160 $(GTKDIR)/bitmap.$(OBJSUFF) \
161 $(GTKDIR)/bmpbuttn.$(OBJSUFF) \
162 $(GTKDIR)/brush.$(OBJSUFF) \
163 $(GTKDIR)/button.$(OBJSUFF) \
164 $(GTKDIR)/checkbox.$(OBJSUFF) \
165 $(GTKDIR)/checklst.$(OBJSUFF) \
166 $(GTKDIR)/choicdlg.$(OBJSUFF) \
167 $(GTKDIR)/choice.$(OBJSUFF) \
168 $(GTKDIR)/clipbrd.$(OBJSUFF) \
169 $(GTKDIR)/colour.$(OBJSUFF) \
170 $(GTKDIR)/combobox.$(OBJSUFF) \
171 $(GTKDIR)/control.$(OBJSUFF) \
172 $(GTKDIR)/cursor.$(OBJSUFF) \
173 $(GTKDIR)/data.$(OBJSUFF) \
174 $(GTKDIR)/dataobj.$(OBJSUFF) \
175 $(GTKDIR)/dc.$(OBJSUFF) \
176 $(GTKDIR)/dcclient.$(OBJSUFF) \
177 $(GTKDIR)/dcmemory.cpp \
178 $(GTKDIR)/dcscreen.$(OBJSUFF) \
179 $(GTKDIR)/dialog.$(OBJSUFF) \
180 $(GTKDIR)/dnd.$(OBJSUFF) \
181 $(GTKDIR)/filedlg.$(OBJSUFF) \
182 $(GTKDIR)/font.$(OBJSUFF) \
183 $(GTKDIR)/frame.$(OBJSUFF) \
184 $(GTKDIR)/gauge.$(OBJSUFF) \
185 $(GTKDIR)/gdiobj.$(OBJSUFF) \
186 $(GTKDIR)/gsockgtk.$(OBJSUFF) \
187 $(GTKDIR)/icon.$(OBJSUFF) \
188 $(GTKDIR)/listbox.$(OBJSUFF) \
189 $(GTKDIR)/main.$(OBJSUFF) \
190 $(GTKDIR)/mdi.$(OBJSUFF) \
191 $(GTKDIR)/menu.$(OBJSUFF) \
192 $(GTKDIR)/minifram.$(OBJSUFF) \
193 $(GTKDIR)/msgdlg.$(OBJSUFF) \
194 $(GTKDIR)/notebook.$(OBJSUFF) \
195 $(GTKDIR)/palette.$(OBJSUFF) \
196 $(GTKDIR)/pen.$(OBJSUFF) \
197 $(GTKDIR)/radiobox.$(OBJSUFF) \
198 $(GTKDIR)/radiobut.$(OBJSUFF) \
199 $(GTKDIR)/region.$(OBJSUFF) \
200 $(GTKDIR)/scrolbar.$(OBJSUFF) \
201 $(GTKDIR)/settings.$(OBJSUFF) \
202 $(GTKDIR)/slider.$(OBJSUFF) \
203 $(GTKDIR)/spinbutt.$(OBJSUFF) \
204 $(GTKDIR)/statbmp.$(OBJSUFF) \
205 $(GTKDIR)/statbox.$(OBJSUFF) \
206 $(GTKDIR)/statline.$(OBJSUFF) \
207 $(GTKDIR)/stattext.$(OBJSUFF) \
208 $(GTKDIR)/tbargtk.$(OBJSUFF) \
209 $(GTKDIR)/textctrl.$(OBJSUFF) \
210 $(GTKDIR)/textdlg.$(OBJSUFF) \
211 $(GTKDIR)/timer.$(OBJSUFF) \
212 $(GTKDIR)/tooltip.$(OBJSUFF) \
213 $(GTKDIR)/utilsgtk.$(OBJSUFF) \
214 $(GTKDIR)/utilsres.$(OBJSUFF) \
215 $(GTKDIR)/wave.$(OBJSUFF) \
216 $(GTKDIR)/win_gtk.$(OBJSUFF) \
217 $(GTKDIR)/window.$(OBJSUFF)
218
219 UNIXOBJS = \
220 $(UNIXDIR)/gsocket.$(OBJSUFF) \
221 $(UNIXDIR)/threadpsx.$(OBJSUFF) \
222 $(UNIXDIR)/utilsunx.$(OBJSUFF)
223
224 ZLIBOBJS = \
225 $(ZLIBDIR)/adler32.$(OBJSUFF) \
226 $(ZLIBDIR)/compress.$(OBJSUFF) \
227 $(ZLIBDIR)/crc32.$(OBJSUFF) \
228 $(ZLIBDIR)/gzio.$(OBJSUFF) \
229 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
230 $(ZLIBDIR)/deflate.$(OBJSUFF) \
231 $(ZLIBDIR)/trees.$(OBJSUFF) \
232 $(ZLIBDIR)/zutil.$(OBJSUFF) \
233 $(ZLIBDIR)/inflate.$(OBJSUFF) \
234 $(ZLIBDIR)/infblock.$(OBJSUFF) \
235 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
236 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
237 $(ZLIBDIR)/infutil.$(OBJSUFF) \
238 $(ZLIBDIR)/inffast.$(OBJSUFF)
239
240 PNGOBJS = \
241 $(PNGDIR)/png.$(OBJSUFF) \
242 $(PNGDIR)/pngread.$(OBJSUFF) \
243 $(PNGDIR)/pngrtran.$(OBJSUFF) \
244 $(PNGDIR)/pngrutil.$(OBJSUFF) \
245 $(PNGDIR)/pngpread.$(OBJSUFF) \
246 $(PNGDIR)/pngtrans.$(OBJSUFF) \
247 $(PNGDIR)/pngwrite.$(OBJSUFF) \
248 $(PNGDIR)/pngwtran.$(OBJSUFF) \
249 $(PNGDIR)/pngwutil.$(OBJSUFF) \
250 $(PNGDIR)/pngerror.$(OBJSUFF) \
251 $(PNGDIR)/pngmem.$(OBJSUFF) \
252 $(PNGDIR)/pngwio.$(OBJSUFF) \
253 $(PNGDIR)/pngrio.$(OBJSUFF) \
254 $(PNGDIR)/pngget.$(OBJSUFF) \
255 $(PNGDIR)/pngset.$(OBJSUFF)
256
257
258 JPEGOBJS = \
259 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
260 $(JPEGDIR)/jutils.$(OBJSUFF) \
261 $(JPEGDIR)/jerror.$(OBJSUFF) \
262 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
263 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
264 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
265 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
266 $(JPEGDIR)/jctrans.$(OBJSUFF) \
267 $(JPEGDIR)/jcparam.$(OBJSUFF) \
268 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
269 $(JPEGDIR)/jcinit.$(OBJSUFF) \
270 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
271 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
272 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
273 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
274 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
275 $(JPEGDIR)/jccolor.$(OBJSUFF) \
276 $(JPEGDIR)/jcsample.$(OBJSUFF) \
277 $(JPEGDIR)/jchuff.$(OBJSUFF) \
278 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
279 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
280 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
281 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
282 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
283 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
284 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
285 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
286 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
287 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
288 $(JPEGDIR)/jdinput.$(OBJSUFF) \
289 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
290 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
291 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
292 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
293 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
294 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
295 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
296 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
297 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
298 $(JPEGDIR)/jidctint.$(OBJSUFF) \
299 $(JPEGDIR)/jidctred.$(OBJSUFF) \
300 $(JPEGDIR)/jdsample.$(OBJSUFF) \
301 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
302 $(JPEGDIR)/jquant1.$(OBJSUFF) \
303 $(JPEGDIR)/jquant2.$(OBJSUFF) \
304 $(JPEGDIR)/jdmerge.$(OBJSUFF)
305
306 OBJECTS = $(GTKOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJ) $(UNIXOBJS) \
307 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
308
309 all: $(OBJECTS) $(WXLIB)
310
311 $(WXLIB): $(OBJECTS)
312 ar $(AROPTIONS) $@ $(OBJECTS)
313 $(RANLIB) $@
314
315 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
316
317 $(COMMDIR)/parser.$(OBJSUFF): $(COMMDIR)/parser.c $(COMMDIR)/lexer.c
318 $(CCLEX) -c $(CFLAGS) -o $@ $(COMMDIR)/parser.c
319
320 $(COMMDIR)/parser.c: $(COMMDIR)/parser.y $(COMMDIR)/lexer.c
321 $(YACC) $(COMMDIR)/parser.y
322 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
323 sed -e "s/BUFSIZ/5000/g" | \
324 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
325 sed -e "s/yy/PROIO_yy/g" | \
326 sed -e "s/input/PROIO_input/g" | \
327 sed -e "s/unput/PROIO_unput/g" > $(COMMDIR)/parser.c
328 @$(RM) y.tab.c
329
330 $(COMMDIR)/lexer.c: $(COMMDIR)/lexer.l
331 $(LEX) $(COMMDIR)/lexer.l
332 @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
333 sed -e "s/yy/PROIO_yy/g" | \
334 sed -e "s/input/PROIO_input/g" | \
335 sed -e "s/unput/PROIO_unput/g" > $(COMMDIR)/lexer.c
336 @$(RM) lex.yy.c
337
338 clean:
339 rm -f $(GTKDIR)/*.$(OBJSUFF)
340 rm -f $(COMMDIR)/parser.c
341 rm -f $(COMMDIR)/lexer.c
342 rm -f $(COMMDIR)/*.$(OBJSUFF)
343 rm -f $(GENDIR)/*.$(OBJSUFF)
344 rm -f $(PNGDIR)/*.$(OBJSUFF)
345 rm -f $(ZLIBDIR)/*.$(OBJSUFF)
346 rm -f $(JPEGDIR)/*.$(OBJSUFF)
347 rm -f $(UNIXDIR)/*.$(OBJSUFF)
348 rm -f $(HTMLDIR)/*.$(OBJSUFF)
349 rm -f $(WXWIN)/lib/libwx_$(GUI).a
350
351 cleanall: clean