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