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