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