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