]>
Commit | Line | Data |
---|---|---|
5a92d200 | 1 | ## Purpose: The automake makefile for wxWindows (src/msw subdirectory) |
a622c152 | 2 | ## Author: Phil Blecker, Vadim Zeitlin, Robert Roebling |
5a92d200 RR |
3 | ## Version: $Id$ |
4 | ## | |
5 | ## Process this file with automake to produce Makefile.in | |
6 | ||
a622c152 RR |
7 | AUTOMAKE_OPTIONS = 1.3 |
8 | # no-dependencies | |
9 | ||
5a92d200 RR |
10 | SUFFIXES = .cpp .c |
11 | ||
12 | DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE) | |
13 | LIBS = $(GUILIBS) | |
14 | ||
ba7f542f | 15 | VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${srcdir}/../html:${EXTRA_VPATH} |
5a92d200 RR |
16 | |
17 | EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}" | |
18 | ||
19 | lib_LTLIBRARIES = @WX_LIBRARY_NAME@ | |
20 | EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la | |
21 | ||
a622c152 RR |
22 | # empty Motif library |
23 | libwx_motif_la_SOURCES = | |
24 | ||
25 | # empty GTK library | |
26 | libwx_gtk_la_SOURCES = | |
27 | ||
5a92d200 RR |
28 | # these are the common files which always make part of the library |
29 | libwx_msw_la_SOURCES = \ | |
30 | \ | |
31 | extended.c \ | |
32 | parser.c \ | |
33 | \ | |
c455ab93 RR |
34 | cmndata.cpp \ |
35 | dynarray.cpp \ | |
36 | filefn.cpp \ | |
37 | hash.cpp \ | |
5a92d200 | 38 | list.cpp \ |
c455ab93 RR |
39 | matrix.cpp \ |
40 | memory.cpp \ | |
41 | module.cpp \ | |
5a92d200 | 42 | object.cpp \ |
c455ab93 RR |
43 | string.cpp \ |
44 | timercmn.cpp \ | |
45 | utilscmn.cpp \ | |
46 | tokenzr.cpp \ | |
47 | variant.cpp \ | |
48 | wxchar.cpp \ | |
5a92d200 | 49 | \ |
5ea105e0 RR |
50 | config.cpp \ |
51 | date.cpp \ | |
52 | datstrm.cpp \ | |
53 | dcbase.cpp \ | |
c50f1fb9 | 54 | dlgcmn.cpp \ |
5ea105e0 RR |
55 | docmdi.cpp \ |
56 | docview.cpp \ | |
57 | dynlib.cpp \ | |
58 | event.cpp \ | |
3bb0b01c | 59 | ffile.cpp \ |
5ea105e0 RR |
60 | file.cpp \ |
61 | fileconf.cpp \ | |
ba7f542f HH |
62 | filesys.cpp \ |
63 | fs_inet.cpp \ | |
64 | fs_zip.cpp \ | |
5ea105e0 RR |
65 | framecmn.cpp \ |
66 | ftp.cpp \ | |
67 | gdicmn.cpp \ | |
68 | helpbase.cpp \ | |
69 | http.cpp \ | |
70 | image.cpp \ | |
ce4169a4 | 71 | imagbmp.cpp \ |
5ea105e0 RR |
72 | imaggif.cpp \ |
73 | imagjpeg.cpp \ | |
74 | imagpng.cpp \ | |
75 | intl.cpp \ | |
76 | ipcbase.cpp \ | |
77 | layout.cpp \ | |
78 | log.cpp \ | |
79 | longlong.cpp \ | |
80 | mimetype.cpp \ | |
81 | mstream.cpp \ | |
82 | objstrm.cpp \ | |
83 | paper.cpp \ | |
84 | prntbase.cpp \ | |
85 | process.cpp \ | |
86 | protocol.cpp \ | |
87 | resource.cpp \ | |
88 | sckaddr.cpp \ | |
89 | sckfile.cpp \ | |
90 | sckint.cpp \ | |
91 | sckipc.cpp \ | |
92 | sckstrm.cpp \ | |
93 | serbase.cpp \ | |
94 | socket.cpp \ | |
95 | stream.cpp \ | |
96 | tbarbase.cpp \ | |
97 | tbarsmpl.cpp \ | |
3bb0b01c | 98 | textcmn.cpp \ |
5ea105e0 RR |
99 | textfile.cpp \ |
100 | time.cpp \ | |
101 | url.cpp \ | |
ba7f542f | 102 | unzip.c \ |
5ea105e0 RR |
103 | validate.cpp \ |
104 | valtext.cpp \ | |
105 | wfstream.cpp \ | |
5a92d200 | 106 | wincmn.cpp \ |
5ea105e0 | 107 | wxexpr.cpp \ |
ba7f542f | 108 | zipstream.cpp \ |
5ea105e0 RR |
109 | zstream.cpp \ |
110 | \ | |
ba7f542f | 111 | busyinfo.cpp \ |
5ea105e0 | 112 | choicdgg.cpp \ |
ab5a0b5d | 113 | dcpsg.cpp \ |
5ea105e0 RR |
114 | gridg.cpp \ |
115 | laywin.cpp \ | |
116 | panelg.cpp \ | |
5ea105e0 RR |
117 | progdlgg.cpp \ |
118 | prop.cpp \ | |
119 | propform.cpp \ | |
120 | proplist.cpp \ | |
121 | sashwin.cpp \ | |
122 | scrolwin.cpp \ | |
123 | splitter.cpp \ | |
124 | statusbr.cpp \ | |
125 | tabg.cpp \ | |
126 | textdlgg.cpp \ | |
c50f1fb9 | 127 | tipdlg.cpp \ |
c455ab93 RR |
128 | \ |
129 | accel.cpp \ | |
130 | app.cpp \ | |
131 | bitmap.cpp \ | |
132 | bmpbuttn.cpp \ | |
133 | brush.cpp \ | |
134 | button.cpp \ | |
135 | caret.cpp \ | |
136 | checkbox.cpp \ | |
c455ab93 RR |
137 | choice.cpp \ |
138 | clipbrd.cpp \ | |
4286a5b5 | 139 | colordlg.cpp \ |
c455ab93 RR |
140 | colour.cpp \ |
141 | combobox.cpp \ | |
142 | control.cpp \ | |
143 | cursor.cpp \ | |
144 | data.cpp \ | |
145 | dc.cpp \ | |
146 | dcclient.cpp \ | |
147 | dcmemory.cpp \ | |
148 | dcscreen.cpp \ | |
149 | dcprint.cpp \ | |
150 | dialog.cpp \ | |
c455ab93 RR |
151 | filedlg.cpp \ |
152 | font.cpp \ | |
4286a5b5 | 153 | fontdlg.cpp \ |
c455ab93 | 154 | frame.cpp \ |
5ea105e0 | 155 | gauge95.cpp \ |
c455ab93 RR |
156 | gdiobj.cpp \ |
157 | icon.cpp \ | |
158 | imaglist.cpp \ | |
159 | listbox.cpp \ | |
c455ab93 RR |
160 | main.cpp \ |
161 | mdi.cpp \ | |
162 | menu.cpp \ | |
163 | menuitem.cpp \ | |
164 | minifram.cpp \ | |
5ea105e0 | 165 | msgdlg.cpp \ |
c455ab93 RR |
166 | notebook.cpp \ |
167 | ownerdrw.cpp \ | |
168 | palette.cpp \ | |
4286a5b5 RR |
169 | printdlg.cpp \ |
170 | printwin.cpp \ | |
c455ab93 RR |
171 | pen.cpp \ |
172 | radiobox.cpp \ | |
173 | radiobut.cpp \ | |
174 | regconf.cpp \ | |
175 | region.cpp \ | |
176 | registry.cpp \ | |
177 | scrolbar.cpp \ | |
178 | settings.cpp \ | |
5ea105e0 | 179 | slider95.cpp \ |
c455ab93 RR |
180 | spinbutt.cpp \ |
181 | statbmp.cpp \ | |
182 | statbox.cpp \ | |
0c07f09e | 183 | statline.cpp \ |
c455ab93 | 184 | stattext.cpp \ |
5ea105e0 | 185 | tbar95.cpp \ |
c455ab93 | 186 | textctrl.cpp \ |
ba7f542f | 187 | treectrl.cpp \ |
c455ab93 RR |
188 | thread.cpp \ |
189 | timer.cpp \ | |
190 | tooltip.cpp \ | |
c455ab93 RR |
191 | utils.cpp \ |
192 | utilsexc.cpp \ | |
193 | wave.cpp \ | |
4286a5b5 | 194 | window.cpp \ |
ba7f542f HH |
195 | nativdlg.cpp \ |
196 | \ | |
197 | htmlcell.cpp \ | |
198 | htmlfilter.cpp \ | |
199 | htmlhelp.cpp \ | |
200 | htmlhelp_io.cpp \ | |
201 | htmlparser.cpp \ | |
202 | htmltag.cpp \ | |
203 | htmlwin.cpp \ | |
204 | htmlwinparser.cpp \ | |
205 | mod_fonts.cpp \ | |
206 | mod_hline.cpp \ | |
207 | mod_image.cpp \ | |
208 | mod_layout.cpp \ | |
209 | mod_links.cpp \ | |
210 | mod_list.cpp \ | |
211 | mod_pre.cpp \ | |
212 | mod_tables.cpp \ | |
213 | search.cpp | |
214 | ||
5a92d200 RR |
215 | |
216 | # these are the sources which we build by our own rules | |
217 | # | |
218 | # TODO: parser.y can be included into SOURCES, but for the sake of my life I | |
219 | # don't know where to put lexer.l - if I put it in the sources too, | |
220 | # automake tries to build lexer.lo... and fails, of course. (VZ) | |
221 | BUILT_SOURCES = parser.c lexer.c | |
d427503c VZ |
222 | |
223 | # VZ: can anyone please explain me why are we doing these substitutions? | |
5a92d200 RR |
224 | parser.c: $(srcdir)/../common/parser.y lexer.c |
225 | $(YACC) $(srcdir)/../common/parser.y | |
226 | @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \ | |
227 | sed -e "s/BUFSIZ/5000/g" | \ | |
228 | sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \ | |
d427503c | 229 | sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \ |
5a92d200 RR |
230 | sed -e "s/input/PROIO_input/g" | \ |
231 | sed -e "s/unput/PROIO_unput/g" > parser.c | |
232 | @$(RM) y.tab.c | |
233 | ||
234 | lexer.c: $(srcdir)/../common/lexer.l | |
235 | $(LEX) $(srcdir)/../common/lexer.l | |
236 | @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \ | |
d427503c | 237 | sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \ |
5a92d200 RR |
238 | sed -e "s/input/PROIO_input/g" | \ |
239 | sed -e "s/unput/PROIO_unput/g" > lexer.c | |
240 | @$(RM) lex.yy.c | |
241 | ||
242 | libwx_msw_la_LDFLAGS = -rpath @libdir@ \ | |
243 | -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ | |
d427503c | 244 | -release $(LT_RELEASE) -no-undefined |
5a92d200 RR |
245 | libwx_msw_la_LIBADD = $(LTLIBOBJS) |
246 | libwx_msw_la_DEPENDENCIES = $(libwx_msw_la_LIBADD) lexer.l parser.y |