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