]> git.saurik.com Git - wxWidgets.git/blob - src/motif/Makefile.am
Distrib things
[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 string.cpp \
47 timercmn.cpp \
48 utilscmn.cpp \
49 tokenzr.cpp \
50 variant.cpp \
51 wxchar.cpp \
52 \
53 config.cpp \
54 date.cpp \
55 datstrm.cpp \
56 db.cpp \
57 dbtable.cpp \
58 dcbase.cpp \
59 dlgcmn.cpp \
60 docmdi.cpp \
61 docview.cpp \
62 dynlib.cpp \
63 event.cpp \
64 ffile.cpp \
65 file.cpp \
66 fileconf.cpp \
67 filesys.cpp \
68 fs_inet.cpp \
69 fs_zip.cpp \
70 framecmn.cpp \
71 ftp.cpp \
72 gdicmn.cpp \
73 helpbase.cpp \
74 http.cpp \
75 image.cpp \
76 imagbmp.cpp \
77 imaggif.cpp \
78 imagjpeg.cpp \
79 imagpng.cpp \
80 intl.cpp \
81 ipcbase.cpp \
82 layout.cpp \
83 log.cpp \
84 longlong.cpp \
85 mimetype.cpp \
86 mstream.cpp \
87 objstrm.cpp \
88 odbc.cpp \
89 paper.cpp \
90 prntbase.cpp \
91 process.cpp \
92 protocol.cpp \
93 resource.cpp \
94 sckaddr.cpp \
95 sckfile.cpp \
96 sckipc.cpp \
97 sckstrm.cpp \
98 serbase.cpp \
99 socket.cpp \
100 stream.cpp \
101 tbarbase.cpp \
102 tbarsmpl.cpp \
103 textcmn.cpp \
104 textfile.cpp \
105 txtstrm.cpp \
106 time.cpp \
107 url.cpp \
108 valgen.cpp \
109 validate.cpp \
110 valtext.cpp \
111 wfstream.cpp \
112 wincmn.cpp \
113 wxexpr.cpp \
114 unzip.c \
115 zipstream.cpp \
116 zstream.cpp \
117 \
118 busyinfo.cpp \
119 caret.cpp \
120 choicdgg.cpp \
121 colrdlgg.cpp \
122 dcpsg.cpp \
123 dirdlgg.cpp \
124 fontdlgg.cpp \
125 gridg.cpp \
126 helpext.cpp \
127 helphtml.cpp \
128 imaglist.cpp \
129 laywin.cpp \
130 listctrl.cpp \
131 numdlgg.cpp \
132 panelg.cpp \
133 printps.cpp \
134 prntdlgg.cpp \
135 progdlgg.cpp \
136 prop.cpp \
137 sashwin.cpp \
138 scrolwin.cpp \
139 splitter.cpp \
140 statusbr.cpp \
141 tabg.cpp \
142 textdlgg.cpp \
143 tipdlg.cpp \
144 treectrl.cpp \
145 \
146 threadpsx.cpp \
147 utilsunx.cpp \
148 \
149 accel.cpp \
150 app.cpp \
151 bitmap.cpp \
152 bmpbuttn.cpp \
153 brush.cpp \
154 button.cpp \
155 checkbox.cpp \
156 checklst.cpp \
157 choice.cpp \
158 clipbrd.cpp \
159 colour.cpp \
160 combobox.cpp \
161 control.cpp \
162 cursor.cpp \
163 data.cpp \
164 dataobj.cpp \
165 dc.cpp \
166 dcclient.cpp \
167 dcmemory.cpp \
168 dcscreen.cpp \
169 dialog.cpp \
170 dnd.cpp \
171 filedlg.cpp \
172 font.cpp \
173 frame.cpp \
174 gauge.cpp \
175 gdiobj.cpp \
176 icon.cpp \
177 listbox.cpp \
178 main.cpp \
179 mdi.cpp \
180 menu.cpp \
181 menuitem.cpp \
182 minifram.cpp \
183 msgdlg.cpp \
184 notebook.cpp \
185 palette.cpp \
186 pen.cpp \
187 radiobox.cpp \
188 radiobut.cpp \
189 region.cpp \
190 scrolbar.cpp \
191 settings.cpp \
192 slider.cpp \
193 spinbutt.cpp \
194 statbmp.cpp \
195 statbox.cpp \
196 stattext.cpp \
197 textctrl.cpp \
198 timer.cpp \
199 toolbar.cpp \
200 utils.cpp \
201 window.cpp \
202 \
203 htmlcell.cpp \
204 htmlfilter.cpp \
205 htmlhelp.cpp \
206 htmlhelp_io.cpp \
207 htmlparser.cpp \
208 htmltag.cpp \
209 htmlwin.cpp \
210 htmlwinparser.cpp \
211 mod_fonts.cpp \
212 mod_hline.cpp \
213 mod_image.cpp \
214 mod_layout.cpp \
215 mod_links.cpp \
216 mod_list.cpp \
217 mod_pre.cpp \
218 mod_tables.cpp \
219 search.cpp
220
221 # propform.cpp \
222 # proplist.cpp \
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)
229 BUILT_SOURCES = parser.c lexer.c
230 parser.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
240 lexer.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
248 libwx_motif_la_LDFLAGS = -rpath @libdir@ \
249 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
250 -release $(LT_RELEASE)
251 libwx_motif_la_LIBADD = $(LTLIBOBJS)
252 libwx_motif_la_DEPENDENCIES = $(libwx_motif_la_LIBADD) lexer.l parser.y