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