]> git.saurik.com Git - wxWidgets.git/blame - src/gtk1/Makefile.am
1. more (minor) wxCaret bug fixes
[wxWidgets.git] / src / gtk1 / Makefile.am
CommitLineData
09fbacf7
RR
1## Purpose: The automake makefile for wxWindows.
2## Author: Phil Blecker, Vadim Zeitlin
3## Version: $Id$
4##
5## Process this file with automake to produce Makefile.in
6
7SUFFIXES = .cpp .c
8
9DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
10LIBS = $(GUILIBS)
11
12VPATH = .:${srcdir}/../common:${srcdir}/../generic:${EXTRA_VPATH}
13
14EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}"
15
16lib_LTLIBRARIES = @WX_LIBRARY_NAME@
17EXTRA_LTLIBRARIES = libwx_gtk2.la libwx_motif2.la
18
19# these are the common files which always make part of the library
20libwx_gtk2_la_SOURCES = \
21\
22 win_gtk.c \
23 extended.c \
24 utilsgtk.cpp \
25\
26 cmndata.cpp \
27 dynarray.cpp \
28 filefn.cpp \
29 hash.cpp \
30 list.cpp \
31 matrix.cpp \
32 memory.cpp \
33 module.cpp \
34 object.cpp \
35 string.cpp \
36 timercmn.cpp \
37 utilscmn.cpp \
38 tokenzr.cpp \
39 variant.cpp \
40 wxchar.cpp \
41\
42 config.cpp \
43 date.cpp \
44 datstrm.cpp \
45 db.cpp \
46 dbtable.cpp \
47 dcbase.cpp \
48 docmdi.cpp \
49 docview.cpp \
50 dynlib.cpp \
51 event.cpp \
52 file.cpp \
53 fileconf.cpp \
54 framecmn.cpp \
55 ftp.cpp \
56 gdicmn.cpp \
57 helpbase.cpp \
58 http.cpp \
59 image.cpp \
60 imaggif.cpp \
61 imagjpeg.cpp \
62 imagpng.cpp \
63 intl.cpp \
64 ipcbase.cpp \
65 layout.cpp \
66 log.cpp \
67 longlong.cpp \
68 mimetype.cpp \
69 mstream.cpp \
70 objstrm.cpp \
71 odbc.cpp \
72 paper.cpp \
73 prntbase.cpp \
74 process.cpp \
75 protocol.cpp \
76 resourc2.cpp \
77 resource.cpp \
78 sckaddr.cpp \
79 sckfile.cpp \
80 sckint.cpp \
81 sckipc.cpp \
82 sckstrm.cpp \
83 serbase.cpp \
84 socket.cpp \
85 stream.cpp \
86 tbarbase.cpp \
87 tbarsmpl.cpp \
88 textfile.cpp \
89 time.cpp \
90 url.cpp \
91 valgen.cpp \
92 validate.cpp \
93 valtext.cpp \
94 wfstream.cpp \
95 wincmn.cpp \
96 wxexpr.cpp \
97 zstream.cpp \
98\
99 caret.cpp \
100 choicdgg.cpp \
101 colrdlgg.cpp \
102 dcpsg.cpp \
103 dirdlgg.cpp \
104 fontdlgg.cpp \
105 gridg.cpp \
106 helpext.cpp \
107 helphtml.cpp \
108 imaglist.cpp \
109 laywin.cpp \
110 listctrl.cpp \
111 msgdlgg.cpp \
112 notebook.cpp \
113 panelg.cpp \
114 printps.cpp \
115 prntdlgg.cpp \
116 progdlgg.cpp \
117 prop.cpp \
118 propform.cpp \
119 proplist.cpp \
120 sashwin.cpp \
121 scrolwin.cpp \
122 splitter.cpp \
123 statusbr.cpp \
124 tabg.cpp \
125 textdlgg.cpp \
126 treectrl.cpp \
127\
128 threadpsx.cpp \
129 utilsunx.cpp \
130\
131 accel.cpp \
132 app.cpp \
133 bitmap.cpp \
134 bmpbuttn.cpp \
135 brush.cpp \
136 button.cpp \
137 checkbox.cpp \
138 checklst.cpp \
139 choice.cpp \
140 clipbrd.cpp \
141 colour.cpp \
142 combobox.cpp \
143 control.cpp \
144 cursor.cpp \
145 data.cpp \
146 dataobj.cpp \
147 dc.cpp \
148 dcclient.cpp \
149 dcmemory.cpp \
150 dcscreen.cpp \
151 dialog.cpp \
152 dnd.cpp \
153 filedlg.cpp \
154 font.cpp \
155 frame.cpp \
156 gauge.cpp \
157 gdiobj.cpp \
158 icon.cpp \
09fbacf7
RR
159 listbox.cpp \
160 main.cpp \
161 mdi.cpp \
162 menu.cpp \
163 minifram.cpp \
164 notebook.cpp \
165 palette.cpp \
166 pen.cpp \
167 radiobox.cpp \
168 radiobut.cpp \
169 region.cpp \
170 scrolbar.cpp \
171 settings.cpp \
172 slider.cpp \
173 spinbutt.cpp \
174 statbmp.cpp \
175 statbox.cpp \
176 statline.cpp \
177 stattext.cpp \
178 tbargtk.cpp \
179 textctrl.cpp \
09fbacf7
RR
180 timer.cpp \
181 tooltip.cpp \
182 treectrl.cpp \
183 utilsgtk.cpp \
184 utilsres.cpp \
185 wave.cpp \
186 window.cpp
187
188# these are the sources which we build by our own rules
189#
190# TODO: parser.y can be included into SOURCES, but for the sake of my life I
191# don't know where to put lexer.l - if I put it in the sources too,
192# automake tries to build lexer.lo... and fails, of course. (VZ)
193BUILT_SOURCES = parser.c lexer.c
194parser.c: $(srcdir)/../common/parser.y lexer.c
195 $(YACC) $(srcdir)/../common/parser.y
196 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
197 sed -e "s/BUFSIZ/5000/g" | \
198 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
199 sed -e "s/yy/PROIO_yy/g" | \
200 sed -e "s/input/PROIO_input/g" | \
201 sed -e "s/unput/PROIO_unput/g" > parser.c
202 @$(RM) y.tab.c
203
204lexer.c: $(srcdir)/../common/lexer.l
205 $(LEX) $(srcdir)/../common/lexer.l
206 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
207 sed -e "s/yy/PROIO_yy/g" | \
208 sed -e "s/input/PROIO_input/g" | \
209 sed -e "s/unput/PROIO_unput/g" > lexer.c
210 @$(RM) lex.yy.c
211
212libwx_gtk2_la_LDFLAGS = -rpath @libdir@ -release @WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@
213libwx_gtk2_la_LIBADD = $(LTLIBOBJS)
214libwx_gtk2_la_DEPENDENCIES = $(libwx_gtk2_la_LIBADD) lexer.l parser.y