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