]> git.saurik.com Git - wxWidgets.git/blame - src/gtk1/Makefile.am
Now uses #define __WX_SETUP_H__ to signify that we're using configure
[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 \
124 helphtml.cpp \
125 imaglist.cpp \
126 laywin.cpp \
127 listctrl.cpp \
09fbacf7
RR
128 panelg.cpp \
129 printps.cpp \
130 prntdlgg.cpp \
131 progdlgg.cpp \
132 prop.cpp \
133 propform.cpp \
134 proplist.cpp \
135 sashwin.cpp \
136 scrolwin.cpp \
137 splitter.cpp \
138 statusbr.cpp \
139 tabg.cpp \
a533f5c1 140 tipdlg.cpp \
09fbacf7
RR
141 treectrl.cpp \
142\
143 threadpsx.cpp \
144 utilsunx.cpp \
145\
146 accel.cpp \
147 app.cpp \
148 bitmap.cpp \
149 bmpbuttn.cpp \
150 brush.cpp \
151 button.cpp \
152 checkbox.cpp \
153 checklst.cpp \
154 choice.cpp \
57dde4bd 155 choicdlg.cpp \
09fbacf7
RR
156 clipbrd.cpp \
157 colour.cpp \
158 combobox.cpp \
159 control.cpp \
160 cursor.cpp \
161 data.cpp \
162 dataobj.cpp \
163 dc.cpp \
164 dcclient.cpp \
165 dcmemory.cpp \
166 dcscreen.cpp \
167 dialog.cpp \
168 dnd.cpp \
169 filedlg.cpp \
170 font.cpp \
171 frame.cpp \
172 gauge.cpp \
173 gdiobj.cpp \
174 icon.cpp \
09fbacf7
RR
175 listbox.cpp \
176 main.cpp \
177 mdi.cpp \
178 menu.cpp \
179 minifram.cpp \
57dde4bd 180 msgdlg.cpp \
09fbacf7
RR
181 notebook.cpp \
182 palette.cpp \
183 pen.cpp \
184 radiobox.cpp \
185 radiobut.cpp \
186 region.cpp \
187 scrolbar.cpp \
188 settings.cpp \
189 slider.cpp \
190 spinbutt.cpp \
191 statbmp.cpp \
192 statbox.cpp \
193 statline.cpp \
194 stattext.cpp \
195 tbargtk.cpp \
196 textctrl.cpp \
57dde4bd 197 textdlg.cpp \
09fbacf7
RR
198 timer.cpp \
199 tooltip.cpp \
09fbacf7
RR
200 utilsgtk.cpp \
201 utilsres.cpp \
202 wave.cpp \
5526e819
VS
203 window.cpp \
204\
205 htmlcell.cpp \
206 htmlfilter.cpp \
207 htmlhelp.cpp \
208 htmlhelp_io.cpp \
209 htmlparser.cpp \
210 htmltag.cpp \
211 htmlwin.cpp \
212 htmlwinparser.cpp \
213 mod_fonts.cpp \
214 mod_hline.cpp \
215 mod_image.cpp \
216 mod_layout.cpp \
217 mod_links.cpp \
218 mod_list.cpp \
219 mod_pre.cpp \
220 mod_tables.cpp \
221 search.cpp
222
09fbacf7
RR
223
224# these are the sources which we build by our own rules
225#
226# TODO: parser.y can be included into SOURCES, but for the sake of my life I
227# don't know where to put lexer.l - if I put it in the sources too,
228# automake tries to build lexer.lo... and fails, of course. (VZ)
229BUILT_SOURCES = parser.c lexer.c
230parser.c: $(srcdir)/../common/parser.y lexer.c
231 $(YACC) $(srcdir)/../common/parser.y
232 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
233 sed -e "s/BUFSIZ/5000/g" | \
234 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
235 sed -e "s/yy/PROIO_yy/g" | \
236 sed -e "s/input/PROIO_input/g" | \
237 sed -e "s/unput/PROIO_unput/g" > parser.c
238 @$(RM) y.tab.c
239
240lexer.c: $(srcdir)/../common/lexer.l
241 $(LEX) $(srcdir)/../common/lexer.l
242 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
243 sed -e "s/yy/PROIO_yy/g" | \
244 sed -e "s/input/PROIO_input/g" | \
245 sed -e "s/unput/PROIO_unput/g" > lexer.c
246 @$(RM) lex.yy.c
247
2b6f061f
RR
248libwx_gtk_la_LDFLAGS = -rpath @libdir@ \
249 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
250 -release $(LT_RELEASE)
251libwx_gtk_la_LIBADD = $(LTLIBOBJS)
252libwx_gtk_la_DEPENDENCIES = $(libwx_gtk_la_LIBADD) lexer.l parser.y