]>
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 | 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 \ |
09fbacf7 RR |
47 | framecmn.cpp \ |
48 | ftp.cpp \ | |
49 | gdicmn.cpp \ | |
7b280524 | 50 | hash.cpp \ |
09fbacf7 RR |
51 | helpbase.cpp \ |
52 | http.cpp \ | |
53 | image.cpp \ | |
ce4169a4 | 54 | imagbmp.cpp \ |
09fbacf7 RR |
55 | imaggif.cpp \ |
56 | imagjpeg.cpp \ | |
57 | imagpng.cpp \ | |
58 | intl.cpp \ | |
59 | ipcbase.cpp \ | |
60 | layout.cpp \ | |
7b280524 | 61 | list.cpp \ |
09fbacf7 RR |
62 | log.cpp \ |
63 | longlong.cpp \ | |
7b280524 RR |
64 | matrix.cpp \ |
65 | memory.cpp \ | |
09fbacf7 | 66 | mimetype.cpp \ |
7b280524 | 67 | module.cpp \ |
09fbacf7 | 68 | mstream.cpp \ |
7b280524 | 69 | object.cpp \ |
09fbacf7 RR |
70 | objstrm.cpp \ |
71 | odbc.cpp \ | |
72 | paper.cpp \ | |
73 | prntbase.cpp \ | |
74 | process.cpp \ | |
75 | protocol.cpp \ | |
09fbacf7 RR |
76 | resource.cpp \ |
77 | sckaddr.cpp \ | |
78 | sckfile.cpp \ | |
79 | sckint.cpp \ | |
80 | sckipc.cpp \ | |
81 | sckstrm.cpp \ | |
82 | serbase.cpp \ | |
83 | socket.cpp \ | |
84 | stream.cpp \ | |
7b280524 | 85 | string.cpp \ |
09fbacf7 RR |
86 | tbarbase.cpp \ |
87 | tbarsmpl.cpp \ | |
88 | textfile.cpp \ | |
89 | time.cpp \ | |
7b280524 | 90 | timercmn.cpp \ |
7b280524 | 91 | tokenzr.cpp \ |
09fbacf7 | 92 | url.cpp \ |
a533f5c1 | 93 | utilscmn.cpp \ |
09fbacf7 RR |
94 | valgen.cpp \ |
95 | validate.cpp \ | |
96 | valtext.cpp \ | |
7b280524 | 97 | variant.cpp \ |
09fbacf7 RR |
98 | wfstream.cpp \ |
99 | wincmn.cpp \ | |
7b280524 | 100 | wxchar.cpp \ |
09fbacf7 RR |
101 | wxexpr.cpp \ |
102 | zstream.cpp \ | |
7b280524 RR |
103 | \ |
104 | db.cpp \ | |
105 | dbtable.cpp \ | |
09fbacf7 RR |
106 | \ |
107 | caret.cpp \ | |
09fbacf7 RR |
108 | colrdlgg.cpp \ |
109 | dcpsg.cpp \ | |
110 | dirdlgg.cpp \ | |
329e86bf | 111 | extdlgg.cpp \ |
09fbacf7 RR |
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 \ | |
a533f5c1 | 131 | tipdlg.cpp \ |
09fbacf7 RR |
132 | treectrl.cpp \ |
133 | \ | |
134 | threadpsx.cpp \ | |
135 | utilsunx.cpp \ | |
136 | \ | |
137 | accel.cpp \ | |
138 | app.cpp \ | |
139 | bitmap.cpp \ | |
140 | bmpbuttn.cpp \ | |
141 | brush.cpp \ | |
142 | button.cpp \ | |
143 | checkbox.cpp \ | |
144 | checklst.cpp \ | |
145 | choice.cpp \ | |
57dde4bd | 146 | choicdlg.cpp \ |
09fbacf7 RR |
147 | clipbrd.cpp \ |
148 | colour.cpp \ | |
149 | combobox.cpp \ | |
150 | control.cpp \ | |
151 | cursor.cpp \ | |
152 | data.cpp \ | |
153 | dataobj.cpp \ | |
154 | dc.cpp \ | |
155 | dcclient.cpp \ | |
156 | dcmemory.cpp \ | |
157 | dcscreen.cpp \ | |
158 | dialog.cpp \ | |
159 | dnd.cpp \ | |
160 | filedlg.cpp \ | |
161 | font.cpp \ | |
162 | frame.cpp \ | |
163 | gauge.cpp \ | |
164 | gdiobj.cpp \ | |
165 | icon.cpp \ | |
09fbacf7 RR |
166 | listbox.cpp \ |
167 | main.cpp \ | |
168 | mdi.cpp \ | |
169 | menu.cpp \ | |
170 | minifram.cpp \ | |
57dde4bd | 171 | msgdlg.cpp \ |
09fbacf7 RR |
172 | notebook.cpp \ |
173 | palette.cpp \ | |
174 | pen.cpp \ | |
175 | radiobox.cpp \ | |
176 | radiobut.cpp \ | |
177 | region.cpp \ | |
178 | scrolbar.cpp \ | |
179 | settings.cpp \ | |
180 | slider.cpp \ | |
181 | spinbutt.cpp \ | |
182 | statbmp.cpp \ | |
183 | statbox.cpp \ | |
184 | statline.cpp \ | |
185 | stattext.cpp \ | |
186 | tbargtk.cpp \ | |
187 | textctrl.cpp \ | |
57dde4bd | 188 | textdlg.cpp \ |
09fbacf7 RR |
189 | timer.cpp \ |
190 | tooltip.cpp \ | |
09fbacf7 RR |
191 | utilsgtk.cpp \ |
192 | utilsres.cpp \ | |
193 | wave.cpp \ | |
194 | window.cpp | |
195 | ||
196 | # these are the sources which we build by our own rules | |
197 | # | |
198 | # TODO: parser.y can be included into SOURCES, but for the sake of my life I | |
199 | # don't know where to put lexer.l - if I put it in the sources too, | |
200 | # automake tries to build lexer.lo... and fails, of course. (VZ) | |
201 | BUILT_SOURCES = parser.c lexer.c | |
202 | parser.c: $(srcdir)/../common/parser.y lexer.c | |
203 | $(YACC) $(srcdir)/../common/parser.y | |
204 | @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \ | |
205 | sed -e "s/BUFSIZ/5000/g" | \ | |
206 | sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \ | |
207 | sed -e "s/yy/PROIO_yy/g" | \ | |
208 | sed -e "s/input/PROIO_input/g" | \ | |
209 | sed -e "s/unput/PROIO_unput/g" > parser.c | |
210 | @$(RM) y.tab.c | |
211 | ||
212 | lexer.c: $(srcdir)/../common/lexer.l | |
213 | $(LEX) $(srcdir)/../common/lexer.l | |
214 | @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \ | |
215 | sed -e "s/yy/PROIO_yy/g" | \ | |
216 | sed -e "s/input/PROIO_input/g" | \ | |
217 | sed -e "s/unput/PROIO_unput/g" > lexer.c | |
218 | @$(RM) lex.yy.c | |
219 | ||
2b6f061f RR |
220 | libwx_gtk_la_LDFLAGS = -rpath @libdir@ \ |
221 | -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ | |
222 | -release $(LT_RELEASE) | |
223 | libwx_gtk_la_LIBADD = $(LTLIBOBJS) | |
224 | libwx_gtk_la_DEPENDENCIES = $(libwx_gtk_la_LIBADD) lexer.l parser.y |