]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/gtk/Makefile.am
compile fix for Unix
[wxWidgets.git] / src / gtk / Makefile.am
... / ...
CommitLineData
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
7AUTOMAKE_OPTIONS = 1.3
8# no-dependencies
9
10SUFFIXES = .cpp .c
11
12DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
13LIBS = $(GUILIBS)
14
15VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${srcdir}/../html:${EXTRA_VPATH}
16
17lib_LTLIBRARIES = @WX_LIBRARY_NAME@
18EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
19
20# empty Motif library
21libwx_motif_la_SOURCES =
22
23# empty MSW/WINE library
24libwx_msw_la_SOURCES =
25
26# these are the common files which always make part of the library
27libwx_gtk_la_SOURCES = \
28\
29 win_gtk.c \
30 extended.c \
31 parser.c \
32 gsocket.c \
33 gsockgtk.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 ffile.cpp \
47 file.cpp \
48 fileconf.cpp \
49 filefn.cpp \
50 filesys.cpp \
51 framecmn.cpp \
52 fs_inet.cpp \
53 fs_zip.cpp \
54 ftp.cpp \
55 gdicmn.cpp \
56 hash.cpp \
57 helpbase.cpp \
58 http.cpp \
59 image.cpp \
60 imagbmp.cpp \
61 imaggif.cpp \
62 imagjpeg.cpp \
63 imagpng.cpp \
64 intl.cpp \
65 ipcbase.cpp \
66 layout.cpp \
67 list.cpp \
68 log.cpp \
69 longlong.cpp \
70 matrix.cpp \
71 memory.cpp \
72 mimetype.cpp \
73 module.cpp \
74 mstream.cpp \
75 object.cpp \
76 objstrm.cpp \
77 odbc.cpp \
78 paper.cpp \
79 prntbase.cpp \
80 process.cpp \
81 protocol.cpp \
82 resource.cpp \
83 sckaddr.cpp \
84 sckfile.cpp \
85 sckipc.cpp \
86 sckstrm.cpp \
87 serbase.cpp \
88 socket.cpp \
89 stream.cpp \
90 string.cpp \
91 tbarbase.cpp \
92 tbarsmpl.cpp \
93 textcmn.cpp \
94 textfile.cpp \
95 txtstrm.cpp \
96 time.cpp \
97 timercmn.cpp \
98 tokenzr.cpp \
99 unzip.c \
100 url.cpp \
101 utilscmn.cpp \
102 valgen.cpp \
103 validate.cpp \
104 valtext.cpp \
105 variant.cpp \
106 wfstream.cpp \
107 wincmn.cpp \
108 wxchar.cpp \
109 wxexpr.cpp \
110 zstream.cpp \
111 zipstream.cpp \
112\
113 db.cpp \
114 dbtable.cpp \
115\
116 busyinfo.cpp \
117 caret.cpp \
118 colrdlgg.cpp \
119 dcpsg.cpp \
120 dirdlgg.cpp \
121 extdlgg.cpp \
122 fontdlgg.cpp \
123 gridg.cpp \
124 helpext.cpp \
125 helpwxht.cpp \
126 helphtml.cpp \
127 imaglist.cpp \
128 laywin.cpp \
129 listctrl.cpp \
130 numdlgg.cpp \
131 panelg.cpp \
132 printps.cpp \
133 prntdlgg.cpp \
134 progdlgg.cpp \
135 prop.cpp \
136 propform.cpp \
137 proplist.cpp \
138 sashwin.cpp \
139 scrolwin.cpp \
140 splitter.cpp \
141 statusbr.cpp \
142 tabg.cpp \
143 tipdlg.cpp \
144 treectrl.cpp \
145\
146 threadpsx.cpp \
147 utilsunx.cpp \
148\
149 accel.cpp \
150 app.cpp \
151 bitmap.cpp \
152 bmpbuttn.cpp \
153 brush.cpp \
154 button.cpp \
155 checkbox.cpp \
156 checklst.cpp \
157 choice.cpp \
158 choicdlg.cpp \
159 clipbrd.cpp \
160 colour.cpp \
161 combobox.cpp \
162 control.cpp \
163 cursor.cpp \
164 data.cpp \
165 dataobj.cpp \
166 dc.cpp \
167 dcclient.cpp \
168 dcmemory.cpp \
169 dcscreen.cpp \
170 dialog.cpp \
171 dnd.cpp \
172 filedlg.cpp \
173 font.cpp \
174 frame.cpp \
175 gauge.cpp \
176 gdiobj.cpp \
177 icon.cpp \
178 listbox.cpp \
179 main.cpp \
180 mdi.cpp \
181 menu.cpp \
182 minifram.cpp \
183 msgdlg.cpp \
184 notebook.cpp \
185 palette.cpp \
186 pen.cpp \
187 radiobox.cpp \
188 radiobut.cpp \
189 region.cpp \
190 scrolbar.cpp \
191 settings.cpp \
192 slider.cpp \
193 spinbutt.cpp \
194 statbmp.cpp \
195 statbox.cpp \
196 statline.cpp \
197 stattext.cpp \
198 tbargtk.cpp \
199 textctrl.cpp \
200 textdlg.cpp \
201 timer.cpp \
202 tooltip.cpp \
203 utilsgtk.cpp \
204 utilsres.cpp \
205 wave.cpp \
206 window.cpp \
207\
208 htmlcell.cpp \
209 htmlfilter.cpp \
210 htmlhelp.cpp \
211 htmlhelp_io.cpp \
212 htmlparser.cpp \
213 htmltag.cpp \
214 htmlwin.cpp \
215 htmlwinparser.cpp \
216 mod_fonts.cpp \
217 mod_hline.cpp \
218 mod_image.cpp \
219 mod_layout.cpp \
220 mod_links.cpp \
221 mod_list.cpp \
222 mod_pre.cpp \
223 mod_tables.cpp \
224 search.cpp
225
226
227# these are the sources which we build by our own rules
228#
229# TODO: parser.y can be included into SOURCES, but for the sake of my life I
230# don't know where to put lexer.l - if I put it in the sources too,
231# automake tries to build lexer.lo... and fails, of course. (VZ)
232BUILT_SOURCES = parser.c lexer.c
233parser.c: $(srcdir)/../common/parser.y lexer.c
234 $(YACC) $(srcdir)/../common/parser.y
235 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
236 sed -e "s/BUFSIZ/5000/g" | \
237 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
238 sed -e "s/yy/PROIO_yy/g" | \
239 sed -e "s/input/PROIO_input/g" | \
240 sed -e "s/unput/PROIO_unput/g" > parser.c
241 @$(RM) y.tab.c
242
243lexer.c: $(srcdir)/../common/lexer.l
244 $(LEX) $(srcdir)/../common/lexer.l
245 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
246 sed -e "s/yy/PROIO_yy/g" | \
247 sed -e "s/input/PROIO_input/g" | \
248 sed -e "s/unput/PROIO_unput/g" > lexer.c
249 @$(RM) lex.yy.c
250
251libwx_gtk_la_LDFLAGS = -rpath @libdir@ \
252 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
253 -release $(LT_RELEASE)
254libwx_gtk_la_LIBADD = $(LTLIBOBJS)
255libwx_gtk_la_DEPENDENCIES = $(libwx_gtk_la_LIBADD) lexer.l parser.y