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