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