]>
Commit | Line | Data |
---|---|---|
143121c5 | 1 | ## Purpose: The automake makefile for wxWindows (src/gtk subdirectory) |
a622c152 | 2 | ## Author: Phil Blecker, Vadim Zeitlin, Robert Roebling |
09fbacf7 RR |
3 | ## Version: $Id$ |
4 | ## | |
5 | ## Process this file with automake to produce Makefile.in | |
6 | ||
faeaeff9 RR |
7 | AUTOMAKE_OPTIONS = 1.3 |
8 | # no-dependencies | |
8bedcdce | 9 | |
09fbacf7 RR |
10 | SUFFIXES = .cpp .c |
11 | ||
12 | DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE) | |
13 | LIBS = $(GUILIBS) | |
14 | ||
5526e819 | 15 | VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${srcdir}/../html:${EXTRA_VPATH} |
09fbacf7 | 16 | |
09fbacf7 | 17 | lib_LTLIBRARIES = @WX_LIBRARY_NAME@ |
5a92d200 | 18 | EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la |
09fbacf7 | 19 | |
a622c152 RR |
20 | # empty Motif library |
21 | libwx_motif_la_SOURCES = | |
22 | ||
23 | # empty MSW/WINE library | |
24 | libwx_msw_la_SOURCES = | |
25 | ||
09fbacf7 | 26 | # these are the common files which always make part of the library |
2b6f061f | 27 | libwx_gtk_la_SOURCES = \ |
09fbacf7 RR |
28 | \ |
29 | win_gtk.c \ | |
30 | extended.c \ | |
47b61a78 | 31 | parser.c \ |
a324a7bc GL |
32 | gsocket.c \ |
33 | gsockgtk.c \ | |
09fbacf7 RR |
34 | \ |
35 | cmndata.cpp \ | |
09fbacf7 RR |
36 | config.cpp \ |
37 | date.cpp \ | |
38 | datstrm.cpp \ | |
09fbacf7 | 39 | dcbase.cpp \ |
c50f1fb9 | 40 | dlgcmn.cpp \ |
09fbacf7 RR |
41 | docmdi.cpp \ |
42 | docview.cpp \ | |
7b280524 | 43 | dynarray.cpp \ |
09fbacf7 RR |
44 | dynlib.cpp \ |
45 | event.cpp \ | |
0efe5ba7 | 46 | ffile.cpp \ |
09fbacf7 RR |
47 | file.cpp \ |
48 | fileconf.cpp \ | |
7b280524 | 49 | filefn.cpp \ |
5526e819 | 50 | filesys.cpp \ |
09fbacf7 | 51 | framecmn.cpp \ |
5526e819 VS |
52 | fs_inet.cpp \ |
53 | fs_zip.cpp \ | |
09fbacf7 RR |
54 | ftp.cpp \ |
55 | gdicmn.cpp \ | |
7b280524 | 56 | hash.cpp \ |
09fbacf7 RR |
57 | helpbase.cpp \ |
58 | http.cpp \ | |
59 | image.cpp \ | |
ce4169a4 | 60 | imagbmp.cpp \ |
09fbacf7 RR |
61 | imaggif.cpp \ |
62 | imagjpeg.cpp \ | |
63 | imagpng.cpp \ | |
64 | intl.cpp \ | |
65 | ipcbase.cpp \ | |
66 | layout.cpp \ | |
7b280524 | 67 | list.cpp \ |
09fbacf7 RR |
68 | log.cpp \ |
69 | longlong.cpp \ | |
7b280524 RR |
70 | matrix.cpp \ |
71 | memory.cpp \ | |
09fbacf7 | 72 | mimetype.cpp \ |
7b280524 | 73 | module.cpp \ |
09fbacf7 | 74 | mstream.cpp \ |
7b280524 | 75 | object.cpp \ |
09fbacf7 RR |
76 | objstrm.cpp \ |
77 | odbc.cpp \ | |
78 | paper.cpp \ | |
79 | prntbase.cpp \ | |
80 | process.cpp \ | |
81 | protocol.cpp \ | |
09fbacf7 RR |
82 | resource.cpp \ |
83 | sckaddr.cpp \ | |
84 | sckfile.cpp \ | |
09fbacf7 RR |
85 | sckipc.cpp \ |
86 | sckstrm.cpp \ | |
87 | serbase.cpp \ | |
88 | socket.cpp \ | |
89 | stream.cpp \ | |
7b280524 | 90 | string.cpp \ |
09fbacf7 RR |
91 | tbarbase.cpp \ |
92 | tbarsmpl.cpp \ | |
0efe5ba7 | 93 | textcmn.cpp \ |
09fbacf7 | 94 | textfile.cpp \ |
fae05df5 | 95 | txtstrm.cpp \ |
09fbacf7 | 96 | time.cpp \ |
7b280524 | 97 | timercmn.cpp \ |
7b280524 | 98 | tokenzr.cpp \ |
5526e819 | 99 | unzip.c \ |
09fbacf7 | 100 | url.cpp \ |
a533f5c1 | 101 | utilscmn.cpp \ |
09fbacf7 RR |
102 | valgen.cpp \ |
103 | validate.cpp \ | |
104 | valtext.cpp \ | |
7b280524 | 105 | variant.cpp \ |
09fbacf7 RR |
106 | wfstream.cpp \ |
107 | wincmn.cpp \ | |
7b280524 | 108 | wxchar.cpp \ |
09fbacf7 RR |
109 | wxexpr.cpp \ |
110 | zstream.cpp \ | |
5526e819 | 111 | zipstream.cpp \ |
7b280524 RR |
112 | \ |
113 | db.cpp \ | |
114 | dbtable.cpp \ | |
09fbacf7 | 115 | \ |
5526e819 | 116 | busyinfo.cpp \ |
09fbacf7 | 117 | caret.cpp \ |
09fbacf7 RR |
118 | colrdlgg.cpp \ |
119 | dcpsg.cpp \ | |
120 | dirdlgg.cpp \ | |
329e86bf | 121 | extdlgg.cpp \ |
09fbacf7 RR |
122 | fontdlgg.cpp \ |
123 | gridg.cpp \ | |
124 | helpext.cpp \ | |
29ea4a29 | 125 | helpwxht.cpp \ |
09fbacf7 RR |
126 | helphtml.cpp \ |
127 | imaglist.cpp \ | |
128 | laywin.cpp \ | |
129 | listctrl.cpp \ | |
09fbacf7 RR |
130 | panelg.cpp \ |
131 | printps.cpp \ | |
132 | prntdlgg.cpp \ | |
133 | progdlgg.cpp \ | |
134 | prop.cpp \ | |
135 | propform.cpp \ | |
136 | proplist.cpp \ | |
137 | sashwin.cpp \ | |
138 | scrolwin.cpp \ | |
139 | splitter.cpp \ | |
140 | statusbr.cpp \ | |
141 | tabg.cpp \ | |
a533f5c1 | 142 | tipdlg.cpp \ |
09fbacf7 RR |
143 | treectrl.cpp \ |
144 | \ | |
145 | threadpsx.cpp \ | |
146 | utilsunx.cpp \ | |
147 | \ | |
148 | accel.cpp \ | |
149 | app.cpp \ | |
150 | bitmap.cpp \ | |
151 | bmpbuttn.cpp \ | |
152 | brush.cpp \ | |
153 | button.cpp \ | |
154 | checkbox.cpp \ | |
155 | checklst.cpp \ | |
156 | choice.cpp \ | |
57dde4bd | 157 | choicdlg.cpp \ |
09fbacf7 RR |
158 | clipbrd.cpp \ |
159 | colour.cpp \ | |
160 | combobox.cpp \ | |
161 | control.cpp \ | |
162 | cursor.cpp \ | |
163 | data.cpp \ | |
164 | dataobj.cpp \ | |
165 | dc.cpp \ | |
166 | dcclient.cpp \ | |
167 | dcmemory.cpp \ | |
168 | dcscreen.cpp \ | |
169 | dialog.cpp \ | |
170 | dnd.cpp \ | |
171 | filedlg.cpp \ | |
172 | font.cpp \ | |
173 | frame.cpp \ | |
174 | gauge.cpp \ | |
175 | gdiobj.cpp \ | |
176 | icon.cpp \ | |
09fbacf7 RR |
177 | listbox.cpp \ |
178 | main.cpp \ | |
179 | mdi.cpp \ | |
180 | menu.cpp \ | |
181 | minifram.cpp \ | |
57dde4bd | 182 | msgdlg.cpp \ |
09fbacf7 RR |
183 | notebook.cpp \ |
184 | palette.cpp \ | |
185 | pen.cpp \ | |
186 | radiobox.cpp \ | |
187 | radiobut.cpp \ | |
188 | region.cpp \ | |
189 | scrolbar.cpp \ | |
190 | settings.cpp \ | |
191 | slider.cpp \ | |
192 | spinbutt.cpp \ | |
193 | statbmp.cpp \ | |
194 | statbox.cpp \ | |
195 | statline.cpp \ | |
196 | stattext.cpp \ | |
197 | tbargtk.cpp \ | |
198 | textctrl.cpp \ | |
57dde4bd | 199 | textdlg.cpp \ |
09fbacf7 RR |
200 | timer.cpp \ |
201 | tooltip.cpp \ | |
09fbacf7 RR |
202 | utilsgtk.cpp \ |
203 | utilsres.cpp \ | |
204 | wave.cpp \ | |
5526e819 VS |
205 | window.cpp \ |
206 | \ | |
207 | htmlcell.cpp \ | |
208 | htmlfilter.cpp \ | |
209 | htmlhelp.cpp \ | |
210 | htmlhelp_io.cpp \ | |
211 | htmlparser.cpp \ | |
212 | htmltag.cpp \ | |
213 | htmlwin.cpp \ | |
214 | htmlwinparser.cpp \ | |
215 | mod_fonts.cpp \ | |
216 | mod_hline.cpp \ | |
217 | mod_image.cpp \ | |
218 | mod_layout.cpp \ | |
219 | mod_links.cpp \ | |
220 | mod_list.cpp \ | |
221 | mod_pre.cpp \ | |
222 | mod_tables.cpp \ | |
223 | search.cpp | |
224 | ||
09fbacf7 RR |
225 | |
226 | # these are the sources which we build by our own rules | |
227 | # | |
228 | # TODO: parser.y can be included into SOURCES, but for the sake of my life I | |
229 | # don't know where to put lexer.l - if I put it in the sources too, | |
230 | # automake tries to build lexer.lo... and fails, of course. (VZ) | |
231 | BUILT_SOURCES = parser.c lexer.c | |
232 | parser.c: $(srcdir)/../common/parser.y lexer.c | |
233 | $(YACC) $(srcdir)/../common/parser.y | |
234 | @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \ | |
235 | sed -e "s/BUFSIZ/5000/g" | \ | |
236 | sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \ | |
237 | sed -e "s/yy/PROIO_yy/g" | \ | |
238 | sed -e "s/input/PROIO_input/g" | \ | |
239 | sed -e "s/unput/PROIO_unput/g" > parser.c | |
240 | @$(RM) y.tab.c | |
241 | ||
242 | lexer.c: $(srcdir)/../common/lexer.l | |
243 | $(LEX) $(srcdir)/../common/lexer.l | |
244 | @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \ | |
245 | sed -e "s/yy/PROIO_yy/g" | \ | |
246 | sed -e "s/input/PROIO_input/g" | \ | |
247 | sed -e "s/unput/PROIO_unput/g" > lexer.c | |
248 | @$(RM) lex.yy.c | |
249 | ||
2b6f061f RR |
250 | libwx_gtk_la_LDFLAGS = -rpath @libdir@ \ |
251 | -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ | |
252 | -release $(LT_RELEASE) | |
253 | libwx_gtk_la_LIBADD = $(LTLIBOBJS) | |
254 | libwx_gtk_la_DEPENDENCIES = $(libwx_gtk_la_LIBADD) lexer.l parser.y |