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