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