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