]> git.saurik.com Git - wxWidgets.git/blob - src/msw/Makefile.am
1. wxDialogs are now destroyed when they go out of scope
[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 extended.c \
23 parser.c \
24 \
25 cmndata.cpp \
26 dynarray.cpp \
27 filefn.cpp \
28 hash.cpp \
29 list.cpp \
30 matrix.cpp \
31 memory.cpp \
32 module.cpp \
33 object.cpp \
34 string.cpp \
35 timercmn.cpp \
36 utilscmn.cpp \
37 tokenzr.cpp \
38 variant.cpp \
39 wxchar.cpp \
40 \
41 config.cpp \
42 date.cpp \
43 datstrm.cpp \
44 dcbase.cpp \
45 docmdi.cpp \
46 docview.cpp \
47 dynlib.cpp \
48 event.cpp \
49 file.cpp \
50 fileconf.cpp \
51 framecmn.cpp \
52 ftp.cpp \
53 gdicmn.cpp \
54 helpbase.cpp \
55 http.cpp \
56 image.cpp \
57 imagbmp.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
182 # VZ: can anyone please explain me why are we doing these substitutions?
183 parser.c: $(srcdir)/../common/parser.y lexer.c
184 $(YACC) $(srcdir)/../common/parser.y
185 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
186 sed -e "s/BUFSIZ/5000/g" | \
187 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
188 sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \
189 sed -e "s/input/PROIO_input/g" | \
190 sed -e "s/unput/PROIO_unput/g" > parser.c
191 @$(RM) y.tab.c
192
193 lexer.c: $(srcdir)/../common/lexer.l
194 $(LEX) $(srcdir)/../common/lexer.l
195 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
196 sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \
197 sed -e "s/input/PROIO_input/g" | \
198 sed -e "s/unput/PROIO_unput/g" > lexer.c
199 @$(RM) lex.yy.c
200
201 libwx_msw_la_LDFLAGS = -rpath @libdir@ \
202 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
203 -release $(LT_RELEASE) -no-undefined
204 libwx_msw_la_LIBADD = $(LTLIBOBJS)
205 libwx_msw_la_DEPENDENCIES = $(libwx_msw_la_LIBADD) lexer.l parser.y