]>
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 \ | |
47b61a78 | 24 | parser.c \ |
09fbacf7 RR |
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 \ | |
09fbacf7 RR |
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 \ | |
09fbacf7 RR |
111 | panelg.cpp \ |
112 | printps.cpp \ | |
113 | prntdlgg.cpp \ | |
114 | progdlgg.cpp \ | |
115 | prop.cpp \ | |
116 | propform.cpp \ | |
117 | proplist.cpp \ | |
118 | sashwin.cpp \ | |
119 | scrolwin.cpp \ | |
120 | splitter.cpp \ | |
121 | statusbr.cpp \ | |
122 | tabg.cpp \ | |
123 | textdlgg.cpp \ | |
124 | treectrl.cpp \ | |
125 | \ | |
126 | threadpsx.cpp \ | |
127 | utilsunx.cpp \ | |
128 | \ | |
129 | accel.cpp \ | |
130 | app.cpp \ | |
131 | bitmap.cpp \ | |
132 | bmpbuttn.cpp \ | |
133 | brush.cpp \ | |
134 | button.cpp \ | |
135 | checkbox.cpp \ | |
136 | checklst.cpp \ | |
137 | choice.cpp \ | |
138 | clipbrd.cpp \ | |
139 | colour.cpp \ | |
140 | combobox.cpp \ | |
141 | control.cpp \ | |
142 | cursor.cpp \ | |
143 | data.cpp \ | |
144 | dataobj.cpp \ | |
145 | dc.cpp \ | |
146 | dcclient.cpp \ | |
147 | dcmemory.cpp \ | |
148 | dcscreen.cpp \ | |
149 | dialog.cpp \ | |
150 | dnd.cpp \ | |
151 | filedlg.cpp \ | |
152 | font.cpp \ | |
153 | frame.cpp \ | |
154 | gauge.cpp \ | |
155 | gdiobj.cpp \ | |
156 | icon.cpp \ | |
09fbacf7 RR |
157 | listbox.cpp \ |
158 | main.cpp \ | |
159 | mdi.cpp \ | |
160 | menu.cpp \ | |
161 | minifram.cpp \ | |
162 | notebook.cpp \ | |
163 | palette.cpp \ | |
164 | pen.cpp \ | |
165 | radiobox.cpp \ | |
166 | radiobut.cpp \ | |
167 | region.cpp \ | |
168 | scrolbar.cpp \ | |
169 | settings.cpp \ | |
170 | slider.cpp \ | |
171 | spinbutt.cpp \ | |
172 | statbmp.cpp \ | |
173 | statbox.cpp \ | |
174 | statline.cpp \ | |
175 | stattext.cpp \ | |
176 | tbargtk.cpp \ | |
177 | textctrl.cpp \ | |
09fbacf7 RR |
178 | timer.cpp \ |
179 | tooltip.cpp \ | |
09fbacf7 RR |
180 | utilsgtk.cpp \ |
181 | utilsres.cpp \ | |
182 | wave.cpp \ | |
183 | window.cpp | |
184 | ||
185 | # these are the sources which we build by our own rules | |
186 | # | |
187 | # TODO: parser.y can be included into SOURCES, but for the sake of my life I | |
188 | # don't know where to put lexer.l - if I put it in the sources too, | |
189 | # automake tries to build lexer.lo... and fails, of course. (VZ) | |
190 | BUILT_SOURCES = parser.c lexer.c | |
191 | parser.c: $(srcdir)/../common/parser.y lexer.c | |
192 | $(YACC) $(srcdir)/../common/parser.y | |
193 | @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \ | |
194 | sed -e "s/BUFSIZ/5000/g" | \ | |
195 | sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \ | |
196 | sed -e "s/yy/PROIO_yy/g" | \ | |
197 | sed -e "s/input/PROIO_input/g" | \ | |
198 | sed -e "s/unput/PROIO_unput/g" > parser.c | |
199 | @$(RM) y.tab.c | |
200 | ||
201 | lexer.c: $(srcdir)/../common/lexer.l | |
202 | $(LEX) $(srcdir)/../common/lexer.l | |
203 | @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \ | |
204 | sed -e "s/yy/PROIO_yy/g" | \ | |
205 | sed -e "s/input/PROIO_input/g" | \ | |
206 | sed -e "s/unput/PROIO_unput/g" > lexer.c | |
207 | @$(RM) lex.yy.c | |
208 | ||
209 | libwx_gtk2_la_LDFLAGS = -rpath @libdir@ -release @WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@ | |
210 | libwx_gtk2_la_LIBADD = $(LTLIBOBJS) | |
211 | libwx_gtk2_la_DEPENDENCIES = $(libwx_gtk2_la_LIBADD) lexer.l parser.y |