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