]> git.saurik.com Git - wxWidgets.git/blob - src/motif/Makefile.am
New makefile updates.
[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 sizer.cpp \
101 socket.cpp \
102 stream.cpp \
103 tbarbase.cpp \
104 tbarsmpl.cpp \
105 textcmn.cpp \
106 textfile.cpp \
107 txtstrm.cpp \
108 time.cpp \
109 url.cpp \
110 valgen.cpp \
111 validate.cpp \
112 valtext.cpp \
113 wfstream.cpp \
114 wincmn.cpp \
115 wxexpr.cpp \
116 unzip.c \
117 zipstrm.cpp \
118 zstream.cpp \
119 \
120 busyinfo.cpp \
121 caret.cpp \
122 choicdgg.cpp \
123 colrdlgg.cpp \
124 dcpsg.cpp \
125 dirdlgg.cpp \
126 fontdlgg.cpp \
127 gridg.cpp \
128 helpext.cpp \
129 helphtml.cpp \
130 imaglist.cpp \
131 laywin.cpp \
132 listctrl.cpp \
133 numdlgg.cpp \
134 panelg.cpp \
135 printps.cpp \
136 prntdlgg.cpp \
137 progdlgg.cpp \
138 prop.cpp \
139 sashwin.cpp \
140 scrolwin.cpp \
141 splitter.cpp \
142 statusbr.cpp \
143 tabg.cpp \
144 textdlgg.cpp \
145 tipdlg.cpp \
146 treectrl.cpp \
147 \
148 threadpsx.cpp \
149 utilsunx.cpp \
150 \
151 accel.cpp \
152 app.cpp \
153 bitmap.cpp \
154 bmpbuttn.cpp \
155 brush.cpp \
156 button.cpp \
157 checkbox.cpp \
158 checklst.cpp \
159 choice.cpp \
160 clipbrd.cpp \
161 colour.cpp \
162 combobox.cpp \
163 control.cpp \
164 cursor.cpp \
165 data.cpp \
166 dataobj.cpp \
167 dc.cpp \
168 dcclient.cpp \
169 dcmemory.cpp \
170 dcscreen.cpp \
171 dialog.cpp \
172 dnd.cpp \
173 filedlg.cpp \
174 font.cpp \
175 frame.cpp \
176 gauge.cpp \
177 gdiobj.cpp \
178 icon.cpp \
179 listbox.cpp \
180 main.cpp \
181 mdi.cpp \
182 menu.cpp \
183 menuitem.cpp \
184 minifram.cpp \
185 msgdlg.cpp \
186 notebook.cpp \
187 palette.cpp \
188 pen.cpp \
189 radiobox.cpp \
190 radiobut.cpp \
191 region.cpp \
192 scrolbar.cpp \
193 settings.cpp \
194 slider.cpp \
195 spinbutt.cpp \
196 statbmp.cpp \
197 statbox.cpp \
198 stattext.cpp \
199 textctrl.cpp \
200 timer.cpp \
201 toolbar.cpp \
202 utils.cpp \
203 window.cpp \
204 \
205 htmlcell.cpp \
206 htmlfilter.cpp \
207 htmlhelp.cpp \
208 htmlhelp_io.cpp \
209 htmlparser.cpp \
210 htmltag.cpp \
211 htmlwin.cpp \
212 htmlwinparser.cpp \
213 mod_fonts.cpp \
214 mod_hline.cpp \
215 mod_image.cpp \
216 mod_layout.cpp \
217 mod_links.cpp \
218 mod_list.cpp \
219 mod_pre.cpp \
220 mod_tables.cpp \
221 search.cpp
222
223 # propform.cpp \
224 # proplist.cpp \
225
226 # these are the sources which we build by our own rules
227 #
228 # TODO: parser.y can be included into SOURCES, but for the sake of my life I
229 # don't know where to put lexer.l - if I put it in the sources too,
230 # automake tries to build lexer.lo... and fails, of course. (VZ)
231 BUILT_SOURCES = parser.c lexer.c
232 parser.c: $(srcdir)/../common/parser.y lexer.c
233 $(YACC) $(srcdir)/../common/parser.y
234 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
235 sed -e "s/BUFSIZ/5000/g" | \
236 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
237 sed -e "s/yy/PROIO_yy/g" | \
238 sed -e "s/input/PROIO_input/g" | \
239 sed -e "s/unput/PROIO_unput/g" > parser.c
240 @$(RM) y.tab.c
241
242 lexer.c: $(srcdir)/../common/lexer.l
243 $(LEX) $(srcdir)/../common/lexer.l
244 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
245 sed -e "s/yy/PROIO_yy/g" | \
246 sed -e "s/input/PROIO_input/g" | \
247 sed -e "s/unput/PROIO_unput/g" > lexer.c
248 @$(RM) lex.yy.c
249
250 libwx_motif_la_LDFLAGS = -rpath @libdir@ \
251 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
252 -release $(LT_RELEASE)
253 libwx_motif_la_LIBADD = $(LTLIBOBJS)
254 libwx_motif_la_DEPENDENCIES = $(libwx_motif_la_LIBADD) lexer.l parser.y