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