]> git.saurik.com Git - wxWidgets.git/blob - src/gtk/Makefile.am
fixed wrong assert
[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 lib_LTLIBRARIES = @WX_LIBRARY_NAME@
18 EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
19
20 # empty Motif library
21 libwx_motif_la_SOURCES =
22
23 # empty MSW/WINE library
24 libwx_msw_la_SOURCES =
25
26 # these are the common files which always make part of the library
27 libwx_gtk_la_SOURCES = \
28 \
29 win_gtk.c \
30 extended.c \
31 parser.c \
32 \
33 cmndata.cpp \
34 config.cpp \
35 date.cpp \
36 datstrm.cpp \
37 dcbase.cpp \
38 dlgcmn.cpp \
39 docmdi.cpp \
40 docview.cpp \
41 dynarray.cpp \
42 dynlib.cpp \
43 event.cpp \
44 file.cpp \
45 fileconf.cpp \
46 filefn.cpp \
47 framecmn.cpp \
48 ftp.cpp \
49 gdicmn.cpp \
50 hash.cpp \
51 helpbase.cpp \
52 http.cpp \
53 image.cpp \
54 imagbmp.cpp \
55 imaggif.cpp \
56 imagjpeg.cpp \
57 imagpng.cpp \
58 intl.cpp \
59 ipcbase.cpp \
60 layout.cpp \
61 list.cpp \
62 log.cpp \
63 longlong.cpp \
64 matrix.cpp \
65 memory.cpp \
66 mimetype.cpp \
67 module.cpp \
68 mstream.cpp \
69 object.cpp \
70 objstrm.cpp \
71 odbc.cpp \
72 paper.cpp \
73 prntbase.cpp \
74 process.cpp \
75 protocol.cpp \
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 \
85 string.cpp \
86 tbarbase.cpp \
87 tbarsmpl.cpp \
88 textfile.cpp \
89 time.cpp \
90 timercmn.cpp \
91 tokenzr.cpp \
92 url.cpp \
93 utilscmn.cpp \
94 valgen.cpp \
95 validate.cpp \
96 valtext.cpp \
97 variant.cpp \
98 wfstream.cpp \
99 wincmn.cpp \
100 wxchar.cpp \
101 wxexpr.cpp \
102 zstream.cpp \
103 \
104 db.cpp \
105 dbtable.cpp \
106 \
107 caret.cpp \
108 colrdlgg.cpp \
109 dcpsg.cpp \
110 dirdlgg.cpp \
111 fontdlgg.cpp \
112 gridg.cpp \
113 helpext.cpp \
114 helphtml.cpp \
115 imaglist.cpp \
116 laywin.cpp \
117 listctrl.cpp \
118 panelg.cpp \
119 printps.cpp \
120 prntdlgg.cpp \
121 progdlgg.cpp \
122 prop.cpp \
123 propform.cpp \
124 proplist.cpp \
125 sashwin.cpp \
126 scrolwin.cpp \
127 splitter.cpp \
128 statusbr.cpp \
129 tabg.cpp \
130 tipdlg.cpp \
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 \
145 choicdlg.cpp \
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 \
165 listbox.cpp \
166 main.cpp \
167 mdi.cpp \
168 menu.cpp \
169 minifram.cpp \
170 msgdlg.cpp \
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 \
187 textdlg.cpp \
188 timer.cpp \
189 tooltip.cpp \
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
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