]> git.saurik.com Git - wxWidgets.git/blame - src/msw/Makefile.am
mingw32 compilation fixes
[wxWidgets.git] / src / msw / Makefile.am
CommitLineData
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
6001e347
RR
7AUTOMAKE_OPTIONS = 1.3
8# no-dependencies
a622c152 9
5a92d200
RR
10SUFFIXES = .cpp .c
11
12DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
13LIBS = $(GUILIBS)
14
ba7f542f 15VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${srcdir}/../html:${EXTRA_VPATH}
5a92d200
RR
16
17EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}"
18
19lib_LTLIBRARIES = @WX_LIBRARY_NAME@
20EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
21
a622c152
RR
22# empty Motif library
23libwx_motif_la_SOURCES =
24
25# empty GTK library
26libwx_gtk_la_SOURCES =
27
5a92d200
RR
28# these are the common files which always make part of the library
29libwx_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 43 string.cpp \
6001e347 44 strconv.cpp \
c455ab93
RR
45 timercmn.cpp \
46 utilscmn.cpp \
47 tokenzr.cpp \
48 variant.cpp \
49 wxchar.cpp \
5a92d200 50\
5ea105e0
RR
51 config.cpp \
52 date.cpp \
53 datstrm.cpp \
54 dcbase.cpp \
c50f1fb9 55 dlgcmn.cpp \
5ea105e0
RR
56 docmdi.cpp \
57 docview.cpp \
58 dynlib.cpp \
59 event.cpp \
3bb0b01c 60 ffile.cpp \
5ea105e0
RR
61 file.cpp \
62 fileconf.cpp \
ba7f542f
HH
63 filesys.cpp \
64 fs_inet.cpp \
65 fs_zip.cpp \
5ea105e0
RR
66 framecmn.cpp \
67 ftp.cpp \
68 gdicmn.cpp \
69 helpbase.cpp \
70 http.cpp \
71 image.cpp \
ce4169a4 72 imagbmp.cpp \
5ea105e0
RR
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 \
5ea105e0
RR
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 \
6001e347 108 zipstrm.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 \
31528cd3 116 numdlgg.cpp \
5ea105e0 117 panelg.cpp \
5ea105e0
RR
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 \
c50f1fb9 128 tipdlg.cpp \
c455ab93
RR
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 \
c455ab93
RR
138 choice.cpp \
139 clipbrd.cpp \
4286a5b5 140 colordlg.cpp \
c455ab93
RR
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 \
c455ab93
RR
152 filedlg.cpp \
153 font.cpp \
4286a5b5 154 fontdlg.cpp \
c455ab93 155 frame.cpp \
5ea105e0 156 gauge95.cpp \
c455ab93
RR
157 gdiobj.cpp \
158 icon.cpp \
159 imaglist.cpp \
160 listbox.cpp \
c455ab93
RR
161 main.cpp \
162 mdi.cpp \
163 menu.cpp \
164 menuitem.cpp \
165 minifram.cpp \
5ea105e0 166 msgdlg.cpp \
c455ab93
RR
167 notebook.cpp \
168 ownerdrw.cpp \
169 palette.cpp \
4286a5b5
RR
170 printdlg.cpp \
171 printwin.cpp \
c455ab93
RR
172 pen.cpp \
173 radiobox.cpp \
174 radiobut.cpp \
175 regconf.cpp \
176 region.cpp \
177 registry.cpp \
178 scrolbar.cpp \
179 settings.cpp \
5ea105e0 180 slider95.cpp \
c455ab93
RR
181 spinbutt.cpp \
182 statbmp.cpp \
183 statbox.cpp \
0c07f09e 184 statline.cpp \
c455ab93 185 stattext.cpp \
5ea105e0 186 tbar95.cpp \
c455ab93 187 textctrl.cpp \
ba7f542f 188 treectrl.cpp \
c455ab93
RR
189 thread.cpp \
190 timer.cpp \
191 tooltip.cpp \
c455ab93
RR
192 utils.cpp \
193 utilsexc.cpp \
194 wave.cpp \
4286a5b5 195 window.cpp \
ba7f542f
HH
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
5a92d200
RR
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)
222BUILT_SOURCES = parser.c lexer.c
d427503c
VZ
223
224# VZ: can anyone please explain me why are we doing these substitutions?
5a92d200
RR
225parser.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" | \
d427503c 230 sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \
5a92d200
RR
231 sed -e "s/input/PROIO_input/g" | \
232 sed -e "s/unput/PROIO_unput/g" > parser.c
233 @$(RM) y.tab.c
234
235lexer.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 | \
d427503c 238 sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \
5a92d200
RR
239 sed -e "s/input/PROIO_input/g" | \
240 sed -e "s/unput/PROIO_unput/g" > lexer.c
241 @$(RM) lex.yy.c
242
243libwx_msw_la_LDFLAGS = -rpath @libdir@ \
244 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
d427503c 245 -release $(LT_RELEASE) -no-undefined
5a92d200
RR
246libwx_msw_la_LIBADD = $(LTLIBOBJS)
247libwx_msw_la_DEPENDENCIES = $(libwx_msw_la_LIBADD) lexer.l parser.y