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