]> git.saurik.com Git - wxWidgets.git/blob - src/gtk1/Makefile.am
Final tweaks for 2.1b1
[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:${EXTRA_VPATH}
16
17 EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}"
18
19 lib_LTLIBRARIES = @WX_LIBRARY_NAME@
20 EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
21
22 # empty Motif library
23 libwx_motif_la_SOURCES =
24
25 # empty MSW/WINE library
26 libwx_msw_la_SOURCES =
27
28 # these are the common files which always make part of the library
29 libwx_gtk_la_SOURCES = \
30 \
31 win_gtk.c \
32 extended.c \
33 parser.c \
34 \
35 cmndata.cpp \
36 config.cpp \
37 date.cpp \
38 datstrm.cpp \
39 dcbase.cpp \
40 docmdi.cpp \
41 docview.cpp \
42 dynarray.cpp \
43 dynlib.cpp \
44 event.cpp \
45 file.cpp \
46 fileconf.cpp \
47 filefn.cpp \
48 framecmn.cpp \
49 ftp.cpp \
50 gdicmn.cpp \
51 hash.cpp \
52 helpbase.cpp \
53 http.cpp \
54 image.cpp \
55 imagbmp.cpp \
56 imaggif.cpp \
57 imagjpeg.cpp \
58 imagpng.cpp \
59 intl.cpp \
60 ipcbase.cpp \
61 layout.cpp \
62 list.cpp \
63 log.cpp \
64 longlong.cpp \
65 matrix.cpp \
66 memory.cpp \
67 mimetype.cpp \
68 module.cpp \
69 mstream.cpp \
70 object.cpp \
71 objstrm.cpp \
72 odbc.cpp \
73 paper.cpp \
74 prntbase.cpp \
75 process.cpp \
76 protocol.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 string.cpp \
87 tbarbase.cpp \
88 tbarsmpl.cpp \
89 textfile.cpp \
90 time.cpp \
91 timercmn.cpp \
92 utilscmn.cpp \
93 tokenzr.cpp \
94 url.cpp \
95 valgen.cpp \
96 validate.cpp \
97 valtext.cpp \
98 variant.cpp \
99 wfstream.cpp \
100 wincmn.cpp \
101 wxchar.cpp \
102 wxexpr.cpp \
103 zstream.cpp \
104 \
105 db.cpp \
106 dbtable.cpp \
107 \
108 caret.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 panelg.cpp \
120 printps.cpp \
121 prntdlgg.cpp \
122 progdlgg.cpp \
123 prop.cpp \
124 propform.cpp \
125 proplist.cpp \
126 sashwin.cpp \
127 scrolwin.cpp \
128 splitter.cpp \
129 statusbr.cpp \
130 tabg.cpp \
131 treectrl.cpp \
132 \
133 threadpsx.cpp \
134 utilsunx.cpp \
135 \
136 accel.cpp \
137 app.cpp \
138 bitmap.cpp \
139 bmpbuttn.cpp \
140 brush.cpp \
141 button.cpp \
142 checkbox.cpp \
143 checklst.cpp \
144 choice.cpp \
145 choicdlg.cpp \
146 clipbrd.cpp \
147 colour.cpp \
148 combobox.cpp \
149 control.cpp \
150 cursor.cpp \
151 data.cpp \
152 dataobj.cpp \
153 dc.cpp \
154 dcclient.cpp \
155 dcmemory.cpp \
156 dcscreen.cpp \
157 dialog.cpp \
158 dnd.cpp \
159 filedlg.cpp \
160 font.cpp \
161 frame.cpp \
162 gauge.cpp \
163 gdiobj.cpp \
164 icon.cpp \
165 listbox.cpp \
166 main.cpp \
167 mdi.cpp \
168 menu.cpp \
169 minifram.cpp \
170 msgdlg.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 textdlg.cpp \
188 timer.cpp \
189 tooltip.cpp \
190 utilsgtk.cpp \
191 utilsres.cpp \
192 wave.cpp \
193 window.cpp
194
195 # these are the sources which we build by our own rules
196 #
197 # TODO: parser.y can be included into SOURCES, but for the sake of my life I
198 # don't know where to put lexer.l - if I put it in the sources too,
199 # automake tries to build lexer.lo... and fails, of course. (VZ)
200 BUILT_SOURCES = parser.c lexer.c
201 parser.c: $(srcdir)/../common/parser.y lexer.c
202 $(YACC) $(srcdir)/../common/parser.y
203 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
204 sed -e "s/BUFSIZ/5000/g" | \
205 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
206 sed -e "s/yy/PROIO_yy/g" | \
207 sed -e "s/input/PROIO_input/g" | \
208 sed -e "s/unput/PROIO_unput/g" > parser.c
209 @$(RM) y.tab.c
210
211 lexer.c: $(srcdir)/../common/lexer.l
212 $(LEX) $(srcdir)/../common/lexer.l
213 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
214 sed -e "s/yy/PROIO_yy/g" | \
215 sed -e "s/input/PROIO_input/g" | \
216 sed -e "s/unput/PROIO_unput/g" > lexer.c
217 @$(RM) lex.yy.c
218
219 libwx_gtk_la_LDFLAGS = -rpath @libdir@ \
220 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
221 -release $(LT_RELEASE)
222 libwx_gtk_la_LIBADD = $(LTLIBOBJS)
223 libwx_gtk_la_DEPENDENCIES = $(libwx_gtk_la_LIBADD) lexer.l parser.y