]> git.saurik.com Git - wxWidgets.git/blob - src/msw/Makefile.am
Needed some variation; got bored of seeing the compilation errors for this
[wxWidgets.git] / src / msw / Makefile.am
1 ## Purpose: The automake makefile for wxWindows (src/msw subdirectory)
2 ## Author: Phil Blecker, Vadim Zeitlin, Robert Roebling
3 ## Version: $Id$
4 ##
5 ## Process this file with automake to produce Makefile.in
6
7 AUTOMAKE_OPTIONS = 1.3
8 # no-dependencies
9
10 SUFFIXES = .cpp .c
11
12 DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
13 LIBS = $(GUILIBS)
14
15 VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${srcdir}/../html:${EXTRA_VPATH}
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
22 # empty Motif library
23 libwx_motif_la_SOURCES =
24
25 # empty GTK library
26 libwx_gtk_la_SOURCES =
27
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 \
34 cmndata.cpp \
35 dynarray.cpp \
36 filefn.cpp \
37 hash.cpp \
38 list.cpp \
39 matrix.cpp \
40 memory.cpp \
41 module.cpp \
42 object.cpp \
43 string.cpp \
44 timercmn.cpp \
45 utilscmn.cpp \
46 tokenzr.cpp \
47 variant.cpp \
48 wxchar.cpp \
49 \
50 config.cpp \
51 date.cpp \
52 datstrm.cpp \
53 dcbase.cpp \
54 dlgcmn.cpp \
55 docmdi.cpp \
56 docview.cpp \
57 dynlib.cpp \
58 event.cpp \
59 ffile.cpp \
60 file.cpp \
61 fileconf.cpp \
62 filesys.cpp \
63 fs_inet.cpp \
64 fs_zip.cpp \
65 framecmn.cpp \
66 ftp.cpp \
67 gdicmn.cpp \
68 helpbase.cpp \
69 http.cpp \
70 image.cpp \
71 imagbmp.cpp \
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 sckipc.cpp \
91 sckstrm.cpp \
92 serbase.cpp \
93 socket.cpp \
94 stream.cpp \
95 tbarbase.cpp \
96 tbarsmpl.cpp \
97 textcmn.cpp \
98 textfile.cpp \
99 time.cpp \
100 url.cpp \
101 unzip.c \
102 validate.cpp \
103 valtext.cpp \
104 wfstream.cpp \
105 wincmn.cpp \
106 wxexpr.cpp \
107 zipstream.cpp \
108 zstream.cpp \
109 \
110 busyinfo.cpp \
111 choicdgg.cpp \
112 dcpsg.cpp \
113 gridg.cpp \
114 laywin.cpp \
115 numdlgg.cpp \
116 panelg.cpp \
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 \
127 tipdlg.cpp \
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 \
137 choice.cpp \
138 clipbrd.cpp \
139 colordlg.cpp \
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 \
151 filedlg.cpp \
152 font.cpp \
153 fontdlg.cpp \
154 frame.cpp \
155 gauge95.cpp \
156 gdiobj.cpp \
157 icon.cpp \
158 imaglist.cpp \
159 listbox.cpp \
160 main.cpp \
161 mdi.cpp \
162 menu.cpp \
163 menuitem.cpp \
164 minifram.cpp \
165 msgdlg.cpp \
166 notebook.cpp \
167 ownerdrw.cpp \
168 palette.cpp \
169 printdlg.cpp \
170 printwin.cpp \
171 pen.cpp \
172 radiobox.cpp \
173 radiobut.cpp \
174 regconf.cpp \
175 region.cpp \
176 registry.cpp \
177 scrolbar.cpp \
178 settings.cpp \
179 slider95.cpp \
180 spinbutt.cpp \
181 statbmp.cpp \
182 statbox.cpp \
183 statline.cpp \
184 stattext.cpp \
185 tbar95.cpp \
186 textctrl.cpp \
187 treectrl.cpp \
188 thread.cpp \
189 timer.cpp \
190 tooltip.cpp \
191 utils.cpp \
192 utilsexc.cpp \
193 wave.cpp \
194 window.cpp \
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
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
222
223 # VZ: can anyone please explain me why are we doing these substitutions?
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" | \
229 sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \
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 | \
237 sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \
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) \
244 -release $(LT_RELEASE) -no-undefined
245 libwx_msw_la_LIBADD = $(LTLIBOBJS)
246 libwx_msw_la_DEPENDENCIES = $(libwx_msw_la_LIBADD) lexer.l parser.y