]> git.saurik.com Git - wxWidgets.git/blame - src/gtk/Makefile.am
wxGTK compile fixes for my wxMSW changes
[wxWidgets.git] / src / gtk / 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
bcd2b961 15VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${EXTRA_VPATH}
09fbacf7
RR
16
17EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}"
18
19lib_LTLIBRARIES = @WX_LIBRARY_NAME@
5a92d200 20EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
09fbacf7 21
a622c152
RR
22# empty Motif library
23libwx_motif_la_SOURCES =
24
25# empty MSW/WINE library
26libwx_msw_la_SOURCES =
27
09fbacf7 28# these are the common files which always make part of the library
2b6f061f 29libwx_gtk_la_SOURCES = \
09fbacf7
RR
30\
31 win_gtk.c \
32 extended.c \
47b61a78 33 parser.c \
09fbacf7
RR
34\
35 cmndata.cpp \
09fbacf7
RR
36 config.cpp \
37 date.cpp \
38 datstrm.cpp \
09fbacf7 39 dcbase.cpp \
c50f1fb9 40 dlgcmn.cpp \
09fbacf7
RR
41 docmdi.cpp \
42 docview.cpp \
7b280524 43 dynarray.cpp \
09fbacf7
RR
44 dynlib.cpp \
45 event.cpp \
46 file.cpp \
47 fileconf.cpp \
7b280524 48 filefn.cpp \
09fbacf7
RR
49 framecmn.cpp \
50 ftp.cpp \
51 gdicmn.cpp \
7b280524 52 hash.cpp \
09fbacf7
RR
53 helpbase.cpp \
54 http.cpp \
55 image.cpp \
ce4169a4 56 imagbmp.cpp \
09fbacf7
RR
57 imaggif.cpp \
58 imagjpeg.cpp \
59 imagpng.cpp \
60 intl.cpp \
61 ipcbase.cpp \
62 layout.cpp \
7b280524 63 list.cpp \
09fbacf7
RR
64 log.cpp \
65 longlong.cpp \
7b280524
RR
66 matrix.cpp \
67 memory.cpp \
09fbacf7 68 mimetype.cpp \
7b280524 69 module.cpp \
09fbacf7 70 mstream.cpp \
7b280524 71 object.cpp \
09fbacf7
RR
72 objstrm.cpp \
73 odbc.cpp \
74 paper.cpp \
75 prntbase.cpp \
76 process.cpp \
77 protocol.cpp \
09fbacf7
RR
78 resource.cpp \
79 sckaddr.cpp \
80 sckfile.cpp \
81 sckint.cpp \
82 sckipc.cpp \
83 sckstrm.cpp \
84 serbase.cpp \
85 socket.cpp \
86 stream.cpp \
7b280524 87 string.cpp \
09fbacf7
RR
88 tbarbase.cpp \
89 tbarsmpl.cpp \
90 textfile.cpp \
91 time.cpp \
7b280524
RR
92 timercmn.cpp \
93 utilscmn.cpp \
94 tokenzr.cpp \
09fbacf7
RR
95 url.cpp \
96 valgen.cpp \
97 validate.cpp \
98 valtext.cpp \
7b280524 99 variant.cpp \
09fbacf7
RR
100 wfstream.cpp \
101 wincmn.cpp \
7b280524 102 wxchar.cpp \
09fbacf7
RR
103 wxexpr.cpp \
104 zstream.cpp \
7b280524
RR
105\
106 db.cpp \
107 dbtable.cpp \
09fbacf7
RR
108\
109 caret.cpp \
09fbacf7
RR
110 colrdlgg.cpp \
111 dcpsg.cpp \
112 dirdlgg.cpp \
113 fontdlgg.cpp \
114 gridg.cpp \
115 helpext.cpp \
116 helphtml.cpp \
117 imaglist.cpp \
118 laywin.cpp \
119 listctrl.cpp \
09fbacf7
RR
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 \
09fbacf7
RR
132 treectrl.cpp \
133\
134 threadpsx.cpp \
135 utilsunx.cpp \
136\
137 accel.cpp \
138 app.cpp \
139 bitmap.cpp \
140 bmpbuttn.cpp \
141 brush.cpp \
142 button.cpp \
143 checkbox.cpp \
144 checklst.cpp \
145 choice.cpp \
57dde4bd 146 choicdlg.cpp \
09fbacf7
RR
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 \
09fbacf7
RR
166 listbox.cpp \
167 main.cpp \
168 mdi.cpp \
169 menu.cpp \
170 minifram.cpp \
57dde4bd 171 msgdlg.cpp \
09fbacf7
RR
172 notebook.cpp \
173 palette.cpp \
174 pen.cpp \
175 radiobox.cpp \
176 radiobut.cpp \
177 region.cpp \
178 scrolbar.cpp \
179 settings.cpp \
180 slider.cpp \
181 spinbutt.cpp \
182 statbmp.cpp \
183 statbox.cpp \
184 statline.cpp \
185 stattext.cpp \
186 tbargtk.cpp \
187 textctrl.cpp \
57dde4bd 188 textdlg.cpp \
09fbacf7 189 timer.cpp \
c50f1fb9 190 tipdlg.cpp \
09fbacf7 191 tooltip.cpp \
09fbacf7
RR
192 utilsgtk.cpp \
193 utilsres.cpp \
194 wave.cpp \
195 window.cpp
196
197# these are the sources which we build by our own rules
198#
199# TODO: parser.y can be included into SOURCES, but for the sake of my life I
200# don't know where to put lexer.l - if I put it in the sources too,
201# automake tries to build lexer.lo... and fails, of course. (VZ)
202BUILT_SOURCES = parser.c lexer.c
203parser.c: $(srcdir)/../common/parser.y lexer.c
204 $(YACC) $(srcdir)/../common/parser.y
205 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
206 sed -e "s/BUFSIZ/5000/g" | \
207 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
208 sed -e "s/yy/PROIO_yy/g" | \
209 sed -e "s/input/PROIO_input/g" | \
210 sed -e "s/unput/PROIO_unput/g" > parser.c
211 @$(RM) y.tab.c
212
213lexer.c: $(srcdir)/../common/lexer.l
214 $(LEX) $(srcdir)/../common/lexer.l
215 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
216 sed -e "s/yy/PROIO_yy/g" | \
217 sed -e "s/input/PROIO_input/g" | \
218 sed -e "s/unput/PROIO_unput/g" > lexer.c
219 @$(RM) lex.yy.c
220
2b6f061f
RR
221libwx_gtk_la_LDFLAGS = -rpath @libdir@ \
222 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
223 -release $(LT_RELEASE)
224libwx_gtk_la_LIBADD = $(LTLIBOBJS)
225libwx_gtk_la_DEPENDENCIES = $(libwx_gtk_la_LIBADD) lexer.l parser.y