]> git.saurik.com Git - wxWidgets.git/blob - src/msw/Makefile.am
Made icons configurable via a wxMApp virtual function. Tested on wxGTK only,
[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 file.cpp \
60 fileconf.cpp \
61 framecmn.cpp \
62 ftp.cpp \
63 gdicmn.cpp \
64 helpbase.cpp \
65 http.cpp \
66 image.cpp \
67 imagbmp.cpp \
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 \
100 wincmn.cpp \
101 wxexpr.cpp \
102 zstream.cpp \
103 \
104 choicdgg.cpp \
105 gridg.cpp \
106 laywin.cpp \
107 panelg.cpp \
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 \
118 tipdlg.cpp \
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 \
128 choice.cpp \
129 clipbrd.cpp \
130 colordlg.cpp \
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 \
142 filedlg.cpp \
143 font.cpp \
144 fontdlg.cpp \
145 frame.cpp \
146 gauge95.cpp \
147 gdiobj.cpp \
148 icon.cpp \
149 imaglist.cpp \
150 listbox.cpp \
151 main.cpp \
152 mdi.cpp \
153 menu.cpp \
154 menuitem.cpp \
155 minifram.cpp \
156 msgdlg.cpp \
157 notebook.cpp \
158 ownerdrw.cpp \
159 palette.cpp \
160 printdlg.cpp \
161 printwin.cpp \
162 pen.cpp \
163 radiobox.cpp \
164 radiobut.cpp \
165 regconf.cpp \
166 region.cpp \
167 registry.cpp \
168 scrolbar.cpp \
169 settings.cpp \
170 slider95.cpp \
171 spinbutt.cpp \
172 statbmp.cpp \
173 statbox.cpp \
174 stattext.cpp \
175 tbar95.cpp \
176 textctrl.cpp \
177 thread.cpp \
178 timer.cpp \
179 tooltip.cpp \
180 utils.cpp \
181 utilsexc.cpp \
182 wave.cpp \
183 window.cpp \
184 nativdlg.cpp
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)
191 BUILT_SOURCES = parser.c lexer.c
192
193 # VZ: can anyone please explain me why are we doing these substitutions?
194 parser.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" | \
199 sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \
200 sed -e "s/input/PROIO_input/g" | \
201 sed -e "s/unput/PROIO_unput/g" > parser.c
202 @$(RM) y.tab.c
203
204 lexer.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 | \
207 sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \
208 sed -e "s/input/PROIO_input/g" | \
209 sed -e "s/unput/PROIO_unput/g" > lexer.c
210 @$(RM) lex.yy.c
211
212 libwx_msw_la_LDFLAGS = -rpath @libdir@ \
213 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
214 -release $(LT_RELEASE) -no-undefined
215 libwx_msw_la_LIBADD = $(LTLIBOBJS)
216 libwx_msw_la_DEPENDENCIES = $(libwx_msw_la_LIBADD) lexer.l parser.y