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