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