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