]>
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 \ | |
31528cd3 | 130 | numdlgg.cpp \ |
09fbacf7 RR |
131 | panelg.cpp \ |
132 | printps.cpp \ | |
133 | prntdlgg.cpp \ | |
134 | progdlgg.cpp \ | |
135 | prop.cpp \ | |
136 | propform.cpp \ | |
137 | proplist.cpp \ | |
138 | sashwin.cpp \ | |
139 | scrolwin.cpp \ | |
140 | splitter.cpp \ | |
141 | statusbr.cpp \ | |
142 | tabg.cpp \ | |
a533f5c1 | 143 | tipdlg.cpp \ |
09fbacf7 RR |
144 | treectrl.cpp \ |
145 | \ | |
146 | threadpsx.cpp \ | |
147 | utilsunx.cpp \ | |
148 | \ | |
149 | accel.cpp \ | |
150 | app.cpp \ | |
151 | bitmap.cpp \ | |
152 | bmpbuttn.cpp \ | |
153 | brush.cpp \ | |
154 | button.cpp \ | |
155 | checkbox.cpp \ | |
156 | checklst.cpp \ | |
157 | choice.cpp \ | |
57dde4bd | 158 | choicdlg.cpp \ |
09fbacf7 RR |
159 | clipbrd.cpp \ |
160 | colour.cpp \ | |
161 | combobox.cpp \ | |
162 | control.cpp \ | |
163 | cursor.cpp \ | |
164 | data.cpp \ | |
165 | dataobj.cpp \ | |
166 | dc.cpp \ | |
167 | dcclient.cpp \ | |
168 | dcmemory.cpp \ | |
169 | dcscreen.cpp \ | |
170 | dialog.cpp \ | |
171 | dnd.cpp \ | |
172 | filedlg.cpp \ | |
173 | font.cpp \ | |
174 | frame.cpp \ | |
175 | gauge.cpp \ | |
176 | gdiobj.cpp \ | |
177 | icon.cpp \ | |
09fbacf7 RR |
178 | listbox.cpp \ |
179 | main.cpp \ | |
180 | mdi.cpp \ | |
181 | menu.cpp \ | |
182 | minifram.cpp \ | |
57dde4bd | 183 | msgdlg.cpp \ |
09fbacf7 RR |
184 | notebook.cpp \ |
185 | palette.cpp \ | |
186 | pen.cpp \ | |
187 | radiobox.cpp \ | |
188 | radiobut.cpp \ | |
189 | region.cpp \ | |
190 | scrolbar.cpp \ | |
191 | settings.cpp \ | |
192 | slider.cpp \ | |
193 | spinbutt.cpp \ | |
194 | statbmp.cpp \ | |
195 | statbox.cpp \ | |
196 | statline.cpp \ | |
197 | stattext.cpp \ | |
198 | tbargtk.cpp \ | |
199 | textctrl.cpp \ | |
57dde4bd | 200 | textdlg.cpp \ |
09fbacf7 RR |
201 | timer.cpp \ |
202 | tooltip.cpp \ | |
09fbacf7 RR |
203 | utilsgtk.cpp \ |
204 | utilsres.cpp \ | |
205 | wave.cpp \ | |
5526e819 VS |
206 | window.cpp \ |
207 | \ | |
208 | htmlcell.cpp \ | |
209 | htmlfilter.cpp \ | |
210 | htmlhelp.cpp \ | |
211 | htmlhelp_io.cpp \ | |
212 | htmlparser.cpp \ | |
213 | htmltag.cpp \ | |
214 | htmlwin.cpp \ | |
215 | htmlwinparser.cpp \ | |
216 | mod_fonts.cpp \ | |
217 | mod_hline.cpp \ | |
218 | mod_image.cpp \ | |
219 | mod_layout.cpp \ | |
220 | mod_links.cpp \ | |
221 | mod_list.cpp \ | |
222 | mod_pre.cpp \ | |
223 | mod_tables.cpp \ | |
224 | search.cpp | |
225 | ||
09fbacf7 RR |
226 | |
227 | # these are the sources which we build by our own rules | |
228 | # | |
229 | # TODO: parser.y can be included into SOURCES, but for the sake of my life I | |
230 | # don't know where to put lexer.l - if I put it in the sources too, | |
231 | # automake tries to build lexer.lo... and fails, of course. (VZ) | |
232 | BUILT_SOURCES = parser.c lexer.c | |
233 | parser.c: $(srcdir)/../common/parser.y lexer.c | |
234 | $(YACC) $(srcdir)/../common/parser.y | |
235 | @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \ | |
236 | sed -e "s/BUFSIZ/5000/g" | \ | |
237 | sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \ | |
238 | sed -e "s/yy/PROIO_yy/g" | \ | |
239 | sed -e "s/input/PROIO_input/g" | \ | |
240 | sed -e "s/unput/PROIO_unput/g" > parser.c | |
241 | @$(RM) y.tab.c | |
242 | ||
243 | lexer.c: $(srcdir)/../common/lexer.l | |
244 | $(LEX) $(srcdir)/../common/lexer.l | |
245 | @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \ | |
246 | sed -e "s/yy/PROIO_yy/g" | \ | |
247 | sed -e "s/input/PROIO_input/g" | \ | |
248 | sed -e "s/unput/PROIO_unput/g" > lexer.c | |
249 | @$(RM) lex.yy.c | |
250 | ||
2b6f061f RR |
251 | libwx_gtk_la_LDFLAGS = -rpath @libdir@ \ |
252 | -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ | |
253 | -release $(LT_RELEASE) | |
254 | libwx_gtk_la_LIBADD = $(LTLIBOBJS) | |
255 | libwx_gtk_la_DEPENDENCIES = $(libwx_gtk_la_LIBADD) lexer.l parser.y |