]> git.saurik.com Git - wxWidgets.git/blob - src/gtk1/Makefile.am
Some #include and #if wxUSE_XX things
[wxWidgets.git] / src / gtk1 / Makefile.am
1 ## Purpose: The automake makefile for wxWindows (src/gtk subdirectory)
2 ## Author: Phil Blecker, Vadim Zeitlin
3 ## Version: $Id$
4 ##
5 ## Process this file with automake to produce Makefile.in
6
7 SUFFIXES = .cpp .c
8
9 DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
10 LIBS = $(GUILIBS)
11
12 VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${EXTRA_VPATH}
13
14 EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}"
15
16 lib_LTLIBRARIES = @WX_LIBRARY_NAME@
17 EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
18
19 # these are the common files which always make part of the library
20 libwx_gtk_la_SOURCES = \
21 \
22 win_gtk.c \
23 extended.c \
24 parser.c \
25 \
26 cmndata.cpp \
27 dynarray.cpp \
28 filefn.cpp \
29 hash.cpp \
30 list.cpp \
31 matrix.cpp \
32 memory.cpp \
33 module.cpp \
34 object.cpp \
35 string.cpp \
36 timercmn.cpp \
37 utilscmn.cpp \
38 tokenzr.cpp \
39 variant.cpp \
40 wxchar.cpp \
41 \
42 config.cpp \
43 date.cpp \
44 datstrm.cpp \
45 db.cpp \
46 dbtable.cpp \
47 dcbase.cpp \
48 docmdi.cpp \
49 docview.cpp \
50 dynlib.cpp \
51 event.cpp \
52 file.cpp \
53 fileconf.cpp \
54 framecmn.cpp \
55 ftp.cpp \
56 gdicmn.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 log.cpp \
68 longlong.cpp \
69 mimetype.cpp \
70 mstream.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 tbarbase.cpp \
87 tbarsmpl.cpp \
88 textfile.cpp \
89 time.cpp \
90 url.cpp \
91 valgen.cpp \
92 validate.cpp \
93 valtext.cpp \
94 wfstream.cpp \
95 wincmn.cpp \
96 wxexpr.cpp \
97 zstream.cpp \
98 \
99 caret.cpp \
100 choicdgg.cpp \
101 colrdlgg.cpp \
102 dcpsg.cpp \
103 dirdlgg.cpp \
104 fontdlgg.cpp \
105 gridg.cpp \
106 helpext.cpp \
107 helphtml.cpp \
108 imaglist.cpp \
109 laywin.cpp \
110 listctrl.cpp \
111 msgdlgg.cpp \
112 panelg.cpp \
113 printps.cpp \
114 prntdlgg.cpp \
115 progdlgg.cpp \
116 prop.cpp \
117 propform.cpp \
118 proplist.cpp \
119 sashwin.cpp \
120 scrolwin.cpp \
121 splitter.cpp \
122 statusbr.cpp \
123 tabg.cpp \
124 textdlgg.cpp \
125 treectrl.cpp \
126 \
127 threadpsx.cpp \
128 utilsunx.cpp \
129 \
130 accel.cpp \
131 app.cpp \
132 bitmap.cpp \
133 bmpbuttn.cpp \
134 brush.cpp \
135 button.cpp \
136 checkbox.cpp \
137 checklst.cpp \
138 choice.cpp \
139 clipbrd.cpp \
140 colour.cpp \
141 combobox.cpp \
142 control.cpp \
143 cursor.cpp \
144 data.cpp \
145 dataobj.cpp \
146 dc.cpp \
147 dcclient.cpp \
148 dcmemory.cpp \
149 dcscreen.cpp \
150 dialog.cpp \
151 dnd.cpp \
152 filedlg.cpp \
153 font.cpp \
154 frame.cpp \
155 gauge.cpp \
156 gdiobj.cpp \
157 icon.cpp \
158 listbox.cpp \
159 main.cpp \
160 mdi.cpp \
161 menu.cpp \
162 minifram.cpp \
163 notebook.cpp \
164 palette.cpp \
165 pen.cpp \
166 radiobox.cpp \
167 radiobut.cpp \
168 region.cpp \
169 scrolbar.cpp \
170 settings.cpp \
171 slider.cpp \
172 spinbutt.cpp \
173 statbmp.cpp \
174 statbox.cpp \
175 statline.cpp \
176 stattext.cpp \
177 tbargtk.cpp \
178 textctrl.cpp \
179 timer.cpp \
180 tooltip.cpp \
181 utilsgtk.cpp \
182 utilsres.cpp \
183 wave.cpp \
184 window.cpp
185
186 # these are the sources which we build by our own rules
187 #
188 # TODO: parser.y can be included into SOURCES, but for the sake of my life I
189 # don't know where to put lexer.l - if I put it in the sources too,
190 # automake tries to build lexer.lo... and fails, of course. (VZ)
191 BUILT_SOURCES = parser.c lexer.c
192 parser.c: $(srcdir)/../common/parser.y lexer.c
193 $(YACC) $(srcdir)/../common/parser.y
194 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
195 sed -e "s/BUFSIZ/5000/g" | \
196 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
197 sed -e "s/yy/PROIO_yy/g" | \
198 sed -e "s/input/PROIO_input/g" | \
199 sed -e "s/unput/PROIO_unput/g" > parser.c
200 @$(RM) y.tab.c
201
202 lexer.c: $(srcdir)/../common/lexer.l
203 $(LEX) $(srcdir)/../common/lexer.l
204 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
205 sed -e "s/yy/PROIO_yy/g" | \
206 sed -e "s/input/PROIO_input/g" | \
207 sed -e "s/unput/PROIO_unput/g" > lexer.c
208 @$(RM) lex.yy.c
209
210 libwx_gtk_la_LDFLAGS = -rpath @libdir@ \
211 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
212 -release $(LT_RELEASE)
213 libwx_gtk_la_LIBADD = $(LTLIBOBJS)
214 libwx_gtk_la_DEPENDENCIES = $(libwx_gtk_la_LIBADD) lexer.l parser.y