]>
Commit | Line | Data |
---|---|---|
143121c5 VZ |
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 | ||
a622c152 | 7 | AUTOMAKE_OPTIONS = 1.3 |
8bedcdce RR |
8 | # no-dependencies |
9 | ||
143121c5 VZ |
10 | SUFFIXES = .cpp .c |
11 | ||
12 | DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE) | |
13 | LIBS = $(GUILIBS) | |
14 | ||
ee31c392 | 15 | VPATH = .:${srcdir}:${srcdir}/xmcombo:${srcdir}/../common:${srcdir}/../generic:${srcdir}/../html:${EXTRA_VPATH} |
143121c5 VZ |
16 | |
17 | EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}" | |
18 | ||
19 | lib_LTLIBRARIES = @WX_LIBRARY_NAME@ | |
bea74fbb | 20 | EXTRA_LTLIBRARIES = libwx_motif.la libwx_gtk.la libwx_msw.la |
143121c5 | 21 | |
a622c152 RR |
22 | # empty GTK library |
23 | libwx_gtk_la_SOURCES = | |
24 | ||
25 | # empty MSW/WINE library | |
26 | libwx_msw_la_SOURCES = | |
27 | ||
143121c5 VZ |
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 \ | |
96f201da | 33 | xmcombo.c \ |
dbd300df GL |
34 | gsocket.c \ |
35 | gsockmot.cpp \ | |
143121c5 VZ |
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 \ | |
6001e347 | 46 | strconv.cpp \ |
143121c5 VZ |
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 \ | |
dfe1eee3 | 60 | dlgcmn.cpp \ |
143121c5 VZ |
61 | docmdi.cpp \ |
62 | docview.cpp \ | |
63 | dynlib.cpp \ | |
64 | event.cpp \ | |
31528cd3 | 65 | ffile.cpp \ |
143121c5 VZ |
66 | file.cpp \ |
67 | fileconf.cpp \ | |
5526e819 VS |
68 | filesys.cpp \ |
69 | fs_inet.cpp \ | |
70 | fs_zip.cpp \ | |
143121c5 VZ |
71 | framecmn.cpp \ |
72 | ftp.cpp \ | |
73 | gdicmn.cpp \ | |
74 | helpbase.cpp \ | |
75 | http.cpp \ | |
76 | image.cpp \ | |
ce4169a4 | 77 | imagbmp.cpp \ |
143121c5 VZ |
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 \ | |
143121c5 VZ |
97 | sckipc.cpp \ |
98 | sckstrm.cpp \ | |
99 | serbase.cpp \ | |
c0854a08 | 100 | sizer.cpp \ |
143121c5 VZ |
101 | socket.cpp \ |
102 | stream.cpp \ | |
103 | tbarbase.cpp \ | |
104 | tbarsmpl.cpp \ | |
31528cd3 | 105 | textcmn.cpp \ |
143121c5 | 106 | textfile.cpp \ |
fae05df5 | 107 | txtstrm.cpp \ |
143121c5 VZ |
108 | time.cpp \ |
109 | url.cpp \ | |
110 | valgen.cpp \ | |
111 | validate.cpp \ | |
112 | valtext.cpp \ | |
113 | wfstream.cpp \ | |
114 | wincmn.cpp \ | |
115 | wxexpr.cpp \ | |
5526e819 | 116 | unzip.c \ |
6001e347 | 117 | zipstrm.cpp \ |
143121c5 VZ |
118 | zstream.cpp \ |
119 | \ | |
5526e819 | 120 | busyinfo.cpp \ |
143121c5 VZ |
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 \ | |
31528cd3 | 133 | numdlgg.cpp \ |
143121c5 VZ |
134 | panelg.cpp \ |
135 | printps.cpp \ | |
136 | prntdlgg.cpp \ | |
137 | progdlgg.cpp \ | |
138 | prop.cpp \ | |
143121c5 VZ |
139 | sashwin.cpp \ |
140 | scrolwin.cpp \ | |
141 | splitter.cpp \ | |
142 | statusbr.cpp \ | |
143 | tabg.cpp \ | |
144 | textdlgg.cpp \ | |
dfe1eee3 | 145 | tipdlg.cpp \ |
143121c5 VZ |
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 \ | |
96f201da | 183 | menuitem.cpp \ |
143121c5 | 184 | minifram.cpp \ |
bf6c2b35 | 185 | msgdlg.cpp \ |
143121c5 VZ |
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 \ | |
143121c5 VZ |
198 | stattext.cpp \ |
199 | textctrl.cpp \ | |
200 | timer.cpp \ | |
da175b2c RR |
201 | toolbar.cpp \ |
202 | utils.cpp \ | |
5526e819 VS |
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 | |
143121c5 | 222 | |
d75638f8 RR |
223 | # propform.cpp \ |
224 | # proplist.cpp \ | |
225 | ||
143121c5 VZ |
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 |