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