]> git.saurik.com Git - wxWidgets.git/blob - src/msw/Makefile.am
9a155b7aa0c1bbee4802af976f8087c79df8c7e9
[wxWidgets.git] / src / msw / Makefile.am
1 ## Purpose: The automake makefile for wxWindows (src/msw subdirectory)
2 ## Author: Phil Blecker, Vadim Zeitlin
3 ## Version: $Id$
4 ##
5 ## Process this file with automake to produce Makefile.in
6
7 SUFFIXES = .cpp .c
8
9 DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
10 LIBS = $(GUILIBS)
11
12 VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${EXTRA_VPATH}
13
14 EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}"
15
16 lib_LTLIBRARIES = @WX_LIBRARY_NAME@
17 EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
18
19 # these are the common files which always make part of the library
20 libwx_msw_la_SOURCES = \
21 \
22 winestub.c \
23 extended.c \
24 parser.c \
25 \
26 cmndata.cpp \
27 dynarray.cpp \
28 filefn.cpp \
29 hash.cpp \
30 list.cpp \
31 matrix.cpp \
32 memory.cpp \
33 module.cpp \
34 object.cpp \
35 string.cpp \
36 timercmn.cpp \
37 utilscmn.cpp \
38 tokenzr.cpp \
39 variant.cpp \
40 wxchar.cpp \
41 \
42 config.cpp \
43 date.cpp \
44 datstrm.cpp \
45 dcbase.cpp \
46 docmdi.cpp \
47 docview.cpp \
48 dynlib.cpp \
49 event.cpp \
50 file.cpp \
51 fileconf.cpp \
52 framecmn.cpp \
53 ftp.cpp \
54 gdicmn.cpp \
55 helpbase.cpp \
56 http.cpp \
57 image.cpp \
58 imaggif.cpp \
59 imagjpeg.cpp \
60 imagpng.cpp \
61 intl.cpp \
62 ipcbase.cpp \
63 layout.cpp \
64 log.cpp \
65 longlong.cpp \
66 mimetype.cpp \
67 mstream.cpp \
68 objstrm.cpp \
69 paper.cpp \
70 prntbase.cpp \
71 process.cpp \
72 protocol.cpp \
73 resource.cpp \
74 sckaddr.cpp \
75 sckfile.cpp \
76 sckint.cpp \
77 sckipc.cpp \
78 sckstrm.cpp \
79 serbase.cpp \
80 socket.cpp \
81 stream.cpp \
82 tbarbase.cpp \
83 tbarsmpl.cpp \
84 textfile.cpp \
85 time.cpp \
86 url.cpp \
87 validate.cpp \
88 valtext.cpp \
89 wfstream.cpp \
90 wincmn.cpp \
91 wxexpr.cpp \
92 zstream.cpp \
93 \
94 choicdgg.cpp \
95 gridg.cpp \
96 laywin.cpp \
97 panelg.cpp \
98 progdlgg.cpp \
99 prop.cpp \
100 propform.cpp \
101 proplist.cpp \
102 sashwin.cpp \
103 scrolwin.cpp \
104 splitter.cpp \
105 statusbr.cpp \
106 tabg.cpp \
107 textdlgg.cpp \
108 \
109 accel.cpp \
110 app.cpp \
111 bitmap.cpp \
112 bmpbuttn.cpp \
113 brush.cpp \
114 button.cpp \
115 caret.cpp \
116 checkbox.cpp \
117 choice.cpp \
118 clipbrd.cpp \
119 colordlg.cpp \
120 colour.cpp \
121 combobox.cpp \
122 control.cpp \
123 cursor.cpp \
124 data.cpp \
125 dc.cpp \
126 dcclient.cpp \
127 dcmemory.cpp \
128 dcscreen.cpp \
129 dcprint.cpp \
130 dialog.cpp \
131 filedlg.cpp \
132 font.cpp \
133 fontdlg.cpp \
134 frame.cpp \
135 gauge95.cpp \
136 gdiobj.cpp \
137 icon.cpp \
138 imaglist.cpp \
139 listbox.cpp \
140 main.cpp \
141 mdi.cpp \
142 menu.cpp \
143 menuitem.cpp \
144 minifram.cpp \
145 msgdlg.cpp \
146 notebook.cpp \
147 ownerdrw.cpp \
148 palette.cpp \
149 printdlg.cpp \
150 printwin.cpp \
151 pen.cpp \
152 radiobox.cpp \
153 radiobut.cpp \
154 regconf.cpp \
155 region.cpp \
156 registry.cpp \
157 scrolbar.cpp \
158 settings.cpp \
159 slider95.cpp \
160 spinbutt.cpp \
161 statbmp.cpp \
162 statbox.cpp \
163 stattext.cpp \
164 tbar95.cpp \
165 textctrl.cpp \
166 thread.cpp \
167 timer.cpp \
168 tooltip.cpp \
169 utils.cpp \
170 utilsexc.cpp \
171 wave.cpp \
172 window.cpp \
173 nativdlg.cpp
174
175 # these are the sources which we build by our own rules
176 #
177 # TODO: parser.y can be included into SOURCES, but for the sake of my life I
178 # don't know where to put lexer.l - if I put it in the sources too,
179 # automake tries to build lexer.lo... and fails, of course. (VZ)
180 BUILT_SOURCES = parser.c lexer.c
181 parser.c: $(srcdir)/../common/parser.y lexer.c
182 $(YACC) $(srcdir)/../common/parser.y
183 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
184 sed -e "s/BUFSIZ/5000/g" | \
185 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
186 sed -e "s/yy/PROIO_yy/g" | \
187 sed -e "s/input/PROIO_input/g" | \
188 sed -e "s/unput/PROIO_unput/g" > parser.c
189 @$(RM) y.tab.c
190
191 lexer.c: $(srcdir)/../common/lexer.l
192 $(LEX) $(srcdir)/../common/lexer.l
193 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
194 sed -e "s/yy/PROIO_yy/g" | \
195 sed -e "s/input/PROIO_input/g" | \
196 sed -e "s/unput/PROIO_unput/g" > lexer.c
197 @$(RM) lex.yy.c
198
199 libwx_msw_la_LDFLAGS = -rpath @libdir@ \
200 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
201 -release $(LT_RELEASE)
202 libwx_msw_la_LIBADD = $(LTLIBOBJS)
203 libwx_msw_la_DEPENDENCIES = $(libwx_msw_la_LIBADD) lexer.l parser.y