]> git.saurik.com Git - wxWidgets.git/blob - src/msw/Makefile.am
VC++ 1.5 makefile fixes (lib split, C objs)
[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 strconv.cpp \
45 timercmn.cpp \
46 utilscmn.cpp \
47 tokenzr.cpp \
48 variant.cpp \
49 wxchar.cpp \
50 \
51 config.cpp \
52 date.cpp \
53 datstrm.cpp \
54 dcbase.cpp \
55 dlgcmn.cpp \
56 docmdi.cpp \
57 docview.cpp \
58 dynlib.cpp \
59 event.cpp \
60 ffile.cpp \
61 file.cpp \
62 fileconf.cpp \
63 filesys.cpp \
64 fs_inet.cpp \
65 fs_zip.cpp \
66 framecmn.cpp \
67 ftp.cpp \
68 gdicmn.cpp \
69 helpbase.cpp \
70 http.cpp \
71 image.cpp \
72 imagbmp.cpp \
73 imaggif.cpp \
74 imagjpeg.cpp \
75 imagpng.cpp \
76 intl.cpp \
77 ipcbase.cpp \
78 layout.cpp \
79 log.cpp \
80 longlong.cpp \
81 mimetype.cpp \
82 mstream.cpp \
83 objstrm.cpp \
84 paper.cpp \
85 prntbase.cpp \
86 process.cpp \
87 protocol.cpp \
88 resource.cpp \
89 sckaddr.cpp \
90 sckfile.cpp \
91 sckipc.cpp \
92 sckstrm.cpp \
93 serbase.cpp \
94 socket.cpp \
95 stream.cpp \
96 tbarbase.cpp \
97 tbarsmpl.cpp \
98 textcmn.cpp \
99 textfile.cpp \
100 time.cpp \
101 url.cpp \
102 unzip.c \
103 validate.cpp \
104 valtext.cpp \
105 wfstream.cpp \
106 wincmn.cpp \
107 wxexpr.cpp \
108 zipstrm.cpp \
109 zstream.cpp \
110 \
111 busyinfo.cpp \
112 choicdgg.cpp \
113 dcpsg.cpp \
114 gridg.cpp \
115 laywin.cpp \
116 numdlgg.cpp \
117 panelg.cpp \
118 progdlgg.cpp \
119 prop.cpp \
120 propform.cpp \
121 proplist.cpp \
122 sashwin.cpp \
123 scrolwin.cpp \
124 splitter.cpp \
125 statusbr.cpp \
126 tabg.cpp \
127 textdlgg.cpp \
128 tipdlg.cpp \
129 \
130 accel.cpp \
131 app.cpp \
132 bitmap.cpp \
133 bmpbuttn.cpp \
134 brush.cpp \
135 button.cpp \
136 caret.cpp \
137 checkbox.cpp \
138 choice.cpp \
139 clipbrd.cpp \
140 colordlg.cpp \
141 colour.cpp \
142 combobox.cpp \
143 control.cpp \
144 cursor.cpp \
145 data.cpp \
146 dc.cpp \
147 dcclient.cpp \
148 dcmemory.cpp \
149 dcscreen.cpp \
150 dcprint.cpp \
151 dialog.cpp \
152 filedlg.cpp \
153 font.cpp \
154 fontdlg.cpp \
155 frame.cpp \
156 gauge95.cpp \
157 gdiobj.cpp \
158 icon.cpp \
159 imaglist.cpp \
160 listbox.cpp \
161 main.cpp \
162 mdi.cpp \
163 menu.cpp \
164 menuitem.cpp \
165 minifram.cpp \
166 msgdlg.cpp \
167 notebook.cpp \
168 ownerdrw.cpp \
169 palette.cpp \
170 printdlg.cpp \
171 printwin.cpp \
172 pen.cpp \
173 radiobox.cpp \
174 radiobut.cpp \
175 regconf.cpp \
176 region.cpp \
177 registry.cpp \
178 scrolbar.cpp \
179 settings.cpp \
180 slider95.cpp \
181 spinbutt.cpp \
182 statbmp.cpp \
183 statbox.cpp \
184 statline.cpp \
185 stattext.cpp \
186 tbar95.cpp \
187 textctrl.cpp \
188 treectrl.cpp \
189 thread.cpp \
190 timer.cpp \
191 tooltip.cpp \
192 utils.cpp \
193 utilsexc.cpp \
194 wave.cpp \
195 window.cpp \
196 nativdlg.cpp \
197 \
198 htmlcell.cpp \
199 htmlfilter.cpp \
200 htmlhelp.cpp \
201 htmlhelp_io.cpp \
202 htmlparser.cpp \
203 htmltag.cpp \
204 htmlwin.cpp \
205 htmlwinparser.cpp \
206 mod_fonts.cpp \
207 mod_hline.cpp \
208 mod_image.cpp \
209 mod_layout.cpp \
210 mod_links.cpp \
211 mod_list.cpp \
212 mod_pre.cpp \
213 mod_tables.cpp \
214 search.cpp
215
216
217 # these are the sources which we build by our own rules
218 #
219 # TODO: parser.y can be included into SOURCES, but for the sake of my life I
220 # don't know where to put lexer.l - if I put it in the sources too,
221 # automake tries to build lexer.lo... and fails, of course. (VZ)
222 BUILT_SOURCES = parser.c lexer.c
223
224 # VZ: can anyone please explain me why are we doing these substitutions?
225 parser.c: $(srcdir)/../common/parser.y lexer.c
226 $(YACC) $(srcdir)/../common/parser.y
227 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
228 sed -e "s/BUFSIZ/5000/g" | \
229 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
230 sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \
231 sed -e "s/input/PROIO_input/g" | \
232 sed -e "s/unput/PROIO_unput/g" > parser.c
233 @$(RM) y.tab.c
234
235 lexer.c: $(srcdir)/../common/lexer.l
236 $(LEX) $(srcdir)/../common/lexer.l
237 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
238 sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \
239 sed -e "s/input/PROIO_input/g" | \
240 sed -e "s/unput/PROIO_unput/g" > lexer.c
241 @$(RM) lex.yy.c
242
243 libwx_msw_la_LDFLAGS = -rpath @libdir@ \
244 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
245 -release $(LT_RELEASE) -no-undefined
246 libwx_msw_la_LIBADD = $(LTLIBOBJS)
247 libwx_msw_la_DEPENDENCIES = $(libwx_msw_la_LIBADD) lexer.l parser.y