]>
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 | ||
a622c152 | 7 | AUTOMAKE_OPTIONS = 1.3 |
8bedcdce RR |
8 | # no-dependencies |
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 \ | |
36 | dynarray.cpp \ | |
37 | filefn.cpp \ | |
38 | hash.cpp \ | |
39 | list.cpp \ | |
40 | matrix.cpp \ | |
41 | memory.cpp \ | |
42 | module.cpp \ | |
43 | object.cpp \ | |
44 | string.cpp \ | |
45 | timercmn.cpp \ | |
46 | utilscmn.cpp \ | |
47 | tokenzr.cpp \ | |
48 | variant.cpp \ | |
49 | wxchar.cpp \ | |
50 | \ | |
51 | config.cpp \ | |
52 | date.cpp \ | |
53 | datstrm.cpp \ | |
54 | db.cpp \ | |
55 | dbtable.cpp \ | |
56 | dcbase.cpp \ | |
57 | docmdi.cpp \ | |
58 | docview.cpp \ | |
59 | dynlib.cpp \ | |
60 | event.cpp \ | |
61 | file.cpp \ | |
62 | fileconf.cpp \ | |
63 | framecmn.cpp \ | |
64 | ftp.cpp \ | |
65 | gdicmn.cpp \ | |
66 | helpbase.cpp \ | |
67 | http.cpp \ | |
68 | image.cpp \ | |
ce4169a4 | 69 | imagbmp.cpp \ |
09fbacf7 RR |
70 | imaggif.cpp \ |
71 | imagjpeg.cpp \ | |
72 | imagpng.cpp \ | |
73 | intl.cpp \ | |
74 | ipcbase.cpp \ | |
75 | layout.cpp \ | |
76 | log.cpp \ | |
77 | longlong.cpp \ | |
78 | mimetype.cpp \ | |
79 | mstream.cpp \ | |
80 | objstrm.cpp \ | |
81 | odbc.cpp \ | |
82 | paper.cpp \ | |
83 | prntbase.cpp \ | |
84 | process.cpp \ | |
85 | protocol.cpp \ | |
09fbacf7 RR |
86 | resource.cpp \ |
87 | sckaddr.cpp \ | |
88 | sckfile.cpp \ | |
89 | sckint.cpp \ | |
90 | sckipc.cpp \ | |
91 | sckstrm.cpp \ | |
92 | serbase.cpp \ | |
93 | socket.cpp \ | |
94 | stream.cpp \ | |
95 | tbarbase.cpp \ | |
96 | tbarsmpl.cpp \ | |
97 | textfile.cpp \ | |
98 | time.cpp \ | |
99 | url.cpp \ | |
100 | valgen.cpp \ | |
101 | validate.cpp \ | |
102 | valtext.cpp \ | |
103 | wfstream.cpp \ | |
104 | wincmn.cpp \ | |
105 | wxexpr.cpp \ | |
106 | zstream.cpp \ | |
107 | \ | |
108 | caret.cpp \ | |
109 | choicdgg.cpp \ | |
110 | colrdlgg.cpp \ | |
111 | dcpsg.cpp \ | |
112 | dirdlgg.cpp \ | |
113 | fontdlgg.cpp \ | |
114 | gridg.cpp \ | |
115 | helpext.cpp \ | |
116 | helphtml.cpp \ | |
117 | imaglist.cpp \ | |
118 | laywin.cpp \ | |
119 | listctrl.cpp \ | |
120 | msgdlgg.cpp \ | |
09fbacf7 RR |
121 | panelg.cpp \ |
122 | printps.cpp \ | |
123 | prntdlgg.cpp \ | |
124 | progdlgg.cpp \ | |
125 | prop.cpp \ | |
126 | propform.cpp \ | |
127 | proplist.cpp \ | |
128 | sashwin.cpp \ | |
129 | scrolwin.cpp \ | |
130 | splitter.cpp \ | |
131 | statusbr.cpp \ | |
132 | tabg.cpp \ | |
133 | textdlgg.cpp \ | |
134 | treectrl.cpp \ | |
135 | \ | |
136 | threadpsx.cpp \ | |
137 | utilsunx.cpp \ | |
138 | \ | |
139 | accel.cpp \ | |
140 | app.cpp \ | |
141 | bitmap.cpp \ | |
142 | bmpbuttn.cpp \ | |
143 | brush.cpp \ | |
144 | button.cpp \ | |
145 | checkbox.cpp \ | |
146 | checklst.cpp \ | |
147 | choice.cpp \ | |
148 | clipbrd.cpp \ | |
149 | colour.cpp \ | |
150 | combobox.cpp \ | |
151 | control.cpp \ | |
152 | cursor.cpp \ | |
153 | data.cpp \ | |
154 | dataobj.cpp \ | |
155 | dc.cpp \ | |
156 | dcclient.cpp \ | |
157 | dcmemory.cpp \ | |
158 | dcscreen.cpp \ | |
159 | dialog.cpp \ | |
160 | dnd.cpp \ | |
161 | filedlg.cpp \ | |
162 | font.cpp \ | |
163 | frame.cpp \ | |
164 | gauge.cpp \ | |
165 | gdiobj.cpp \ | |
166 | icon.cpp \ | |
09fbacf7 RR |
167 | listbox.cpp \ |
168 | main.cpp \ | |
169 | mdi.cpp \ | |
170 | menu.cpp \ | |
171 | minifram.cpp \ | |
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 \ | |
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 |