]>
Commit | Line | Data |
---|---|---|
09fbacf7 RR |
1 | ## Purpose: The automake makefile for wxWindows. |
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}/../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_gtk2.la libwx_motif2.la | |
18 | ||
19 | # these are the common files which always make part of the library | |
20 | libwx_gtk2_la_SOURCES = \ | |
21 | \ | |
22 | win_gtk.c \ | |
23 | extended.c \ | |
24 | utilsgtk.cpp \ | |
25 | \ | |
26 | cmndata.cpp \ | |
27 | dynarray.cpp \ | |
28 | filefn.cpp \ | |
29 | hash.cpp \ | |
30 | list.cpp \ | |
31 | matrix.cpp \ | |
32 | memory.cpp \ | |
33 | module.cpp \ | |
34 | object.cpp \ | |
35 | string.cpp \ | |
36 | timercmn.cpp \ | |
37 | utilscmn.cpp \ | |
38 | tokenzr.cpp \ | |
39 | variant.cpp \ | |
40 | wxchar.cpp \ | |
41 | \ | |
42 | config.cpp \ | |
43 | date.cpp \ | |
44 | datstrm.cpp \ | |
45 | db.cpp \ | |
46 | dbtable.cpp \ | |
47 | dcbase.cpp \ | |
48 | docmdi.cpp \ | |
49 | docview.cpp \ | |
50 | dynlib.cpp \ | |
51 | event.cpp \ | |
52 | file.cpp \ | |
53 | fileconf.cpp \ | |
54 | framecmn.cpp \ | |
55 | ftp.cpp \ | |
56 | gdicmn.cpp \ | |
57 | helpbase.cpp \ | |
58 | http.cpp \ | |
59 | image.cpp \ | |
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 | resourc2.cpp \ | |
77 | resource.cpp \ | |
78 | sckaddr.cpp \ | |
79 | sckfile.cpp \ | |
80 | sckint.cpp \ | |
81 | sckipc.cpp \ | |
82 | sckstrm.cpp \ | |
83 | serbase.cpp \ | |
84 | socket.cpp \ | |
85 | stream.cpp \ | |
86 | tbarbase.cpp \ | |
87 | tbarsmpl.cpp \ | |
88 | textfile.cpp \ | |
89 | time.cpp \ | |
90 | url.cpp \ | |
91 | valgen.cpp \ | |
92 | validate.cpp \ | |
93 | valtext.cpp \ | |
94 | wfstream.cpp \ | |
95 | wincmn.cpp \ | |
96 | wxexpr.cpp \ | |
97 | zstream.cpp \ | |
98 | \ | |
99 | caret.cpp \ | |
100 | choicdgg.cpp \ | |
101 | colrdlgg.cpp \ | |
102 | dcpsg.cpp \ | |
103 | dirdlgg.cpp \ | |
104 | fontdlgg.cpp \ | |
105 | gridg.cpp \ | |
106 | helpext.cpp \ | |
107 | helphtml.cpp \ | |
108 | imaglist.cpp \ | |
109 | laywin.cpp \ | |
110 | listctrl.cpp \ | |
111 | msgdlgg.cpp \ | |
112 | notebook.cpp \ | |
113 | panelg.cpp \ | |
114 | printps.cpp \ | |
115 | prntdlgg.cpp \ | |
116 | progdlgg.cpp \ | |
117 | prop.cpp \ | |
118 | propform.cpp \ | |
119 | proplist.cpp \ | |
120 | sashwin.cpp \ | |
121 | scrolwin.cpp \ | |
122 | splitter.cpp \ | |
123 | statusbr.cpp \ | |
124 | tabg.cpp \ | |
125 | textdlgg.cpp \ | |
126 | treectrl.cpp \ | |
127 | \ | |
128 | threadpsx.cpp \ | |
129 | utilsunx.cpp \ | |
130 | \ | |
131 | accel.cpp \ | |
132 | app.cpp \ | |
133 | bitmap.cpp \ | |
134 | bmpbuttn.cpp \ | |
135 | brush.cpp \ | |
136 | button.cpp \ | |
137 | checkbox.cpp \ | |
138 | checklst.cpp \ | |
139 | choice.cpp \ | |
140 | clipbrd.cpp \ | |
141 | colour.cpp \ | |
142 | combobox.cpp \ | |
143 | control.cpp \ | |
144 | cursor.cpp \ | |
145 | data.cpp \ | |
146 | dataobj.cpp \ | |
147 | dc.cpp \ | |
148 | dcclient.cpp \ | |
149 | dcmemory.cpp \ | |
150 | dcscreen.cpp \ | |
151 | dialog.cpp \ | |
152 | dnd.cpp \ | |
153 | filedlg.cpp \ | |
154 | font.cpp \ | |
155 | frame.cpp \ | |
156 | gauge.cpp \ | |
157 | gdiobj.cpp \ | |
158 | icon.cpp \ | |
159 | joystick.cpp \ | |
160 | listbox.cpp \ | |
161 | main.cpp \ | |
162 | mdi.cpp \ | |
163 | menu.cpp \ | |
164 | minifram.cpp \ | |
165 | notebook.cpp \ | |
166 | palette.cpp \ | |
167 | pen.cpp \ | |
168 | radiobox.cpp \ | |
169 | radiobut.cpp \ | |
170 | region.cpp \ | |
171 | scrolbar.cpp \ | |
172 | settings.cpp \ | |
173 | slider.cpp \ | |
174 | spinbutt.cpp \ | |
175 | statbmp.cpp \ | |
176 | statbox.cpp \ | |
177 | statline.cpp \ | |
178 | stattext.cpp \ | |
179 | tbargtk.cpp \ | |
180 | textctrl.cpp \ | |
181 | threadno.cpp \ | |
182 | threadsgi.cpp \ | |
183 | timer.cpp \ | |
184 | tooltip.cpp \ | |
185 | treectrl.cpp \ | |
186 | utilsgtk.cpp \ | |
187 | utilsres.cpp \ | |
188 | wave.cpp \ | |
189 | window.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_gtk2_la_LDFLAGS = -rpath @libdir@ -release @WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@ | |
216 | libwx_gtk2_la_LIBADD = $(LTLIBOBJS) | |
217 | libwx_gtk2_la_DEPENDENCIES = $(libwx_gtk2_la_LIBADD) lexer.l parser.y |