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