]> git.saurik.com Git - wxWidgets.git/blob - src/gtk/Makefile.am
21d7518267c5faae704ee3e530c7205e17c34212
[wxWidgets.git] / src / gtk / Makefile.am
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:${EXTRA_VPATH}
16
17 EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}"
18
19 lib_LTLIBRARIES = @WX_LIBRARY_NAME@
20 EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
21
22 # empty Motif library
23 libwx_motif_la_SOURCES =
24
25 # empty MSW/WINE library
26 libwx_msw_la_SOURCES =
27
28 # these are the common files which always make part of the library
29 libwx_gtk_la_SOURCES = \
30 \
31 win_gtk.c \
32 extended.c \
33 parser.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 file.cpp \
47 fileconf.cpp \
48 filefn.cpp \
49 framecmn.cpp \
50 ftp.cpp \
51 gdicmn.cpp \
52 hash.cpp \
53 helpbase.cpp \
54 http.cpp \
55 image.cpp \
56 imagbmp.cpp \
57 imaggif.cpp \
58 imagjpeg.cpp \
59 imagpng.cpp \
60 intl.cpp \
61 ipcbase.cpp \
62 layout.cpp \
63 list.cpp \
64 log.cpp \
65 longlong.cpp \
66 matrix.cpp \
67 memory.cpp \
68 mimetype.cpp \
69 module.cpp \
70 mstream.cpp \
71 object.cpp \
72 objstrm.cpp \
73 odbc.cpp \
74 paper.cpp \
75 prntbase.cpp \
76 process.cpp \
77 protocol.cpp \
78 resource.cpp \
79 sckaddr.cpp \
80 sckfile.cpp \
81 sckint.cpp \
82 sckipc.cpp \
83 sckstrm.cpp \
84 serbase.cpp \
85 socket.cpp \
86 stream.cpp \
87 string.cpp \
88 tbarbase.cpp \
89 tbarsmpl.cpp \
90 textfile.cpp \
91 time.cpp \
92 timercmn.cpp \
93 utilscmn.cpp \
94 tokenzr.cpp \
95 url.cpp \
96 valgen.cpp \
97 validate.cpp \
98 valtext.cpp \
99 variant.cpp \
100 wfstream.cpp \
101 wincmn.cpp \
102 wxchar.cpp \
103 wxexpr.cpp \
104 zstream.cpp \
105 \
106 db.cpp \
107 dbtable.cpp \
108 \
109 caret.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 panelg.cpp \
121 printps.cpp \
122 prntdlgg.cpp \
123 progdlgg.cpp \
124 prop.cpp \
125 propform.cpp \
126 proplist.cpp \
127 sashwin.cpp \
128 scrolwin.cpp \
129 splitter.cpp \
130 statusbr.cpp \
131 tabg.cpp \
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 \
146 choicdlg.cpp \
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 \
166 listbox.cpp \
167 main.cpp \
168 mdi.cpp \
169 menu.cpp \
170 minifram.cpp \
171 msgdlg.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 \
188 textdlg.cpp \
189 timer.cpp \
190 tipdlg.cpp \
191 tooltip.cpp \
192 utilsgtk.cpp \
193 utilsres.cpp \
194 wave.cpp \
195 window.cpp
196
197 # these are the sources which we build by our own rules
198 #
199 # TODO: parser.y can be included into SOURCES, but for the sake of my life I
200 # don't know where to put lexer.l - if I put it in the sources too,
201 # automake tries to build lexer.lo... and fails, of course. (VZ)
202 BUILT_SOURCES = parser.c lexer.c
203 parser.c: $(srcdir)/../common/parser.y lexer.c
204 $(YACC) $(srcdir)/../common/parser.y
205 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
206 sed -e "s/BUFSIZ/5000/g" | \
207 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
208 sed -e "s/yy/PROIO_yy/g" | \
209 sed -e "s/input/PROIO_input/g" | \
210 sed -e "s/unput/PROIO_unput/g" > parser.c
211 @$(RM) y.tab.c
212
213 lexer.c: $(srcdir)/../common/lexer.l
214 $(LEX) $(srcdir)/../common/lexer.l
215 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
216 sed -e "s/yy/PROIO_yy/g" | \
217 sed -e "s/input/PROIO_input/g" | \
218 sed -e "s/unput/PROIO_unput/g" > lexer.c
219 @$(RM) lex.yy.c
220
221 libwx_gtk_la_LDFLAGS = -rpath @libdir@ \
222 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
223 -release $(LT_RELEASE)
224 libwx_gtk_la_LIBADD = $(LTLIBOBJS)
225 libwx_gtk_la_DEPENDENCIES = $(libwx_gtk_la_LIBADD) lexer.l parser.y