]>
Commit | Line | Data |
---|---|---|
5a92d200 RR |
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 | \ | |
4286a5b5 | 22 | winestub.c \ |
5a92d200 RR |
23 | extended.c \ |
24 | parser.c \ | |
25 | \ | |
c455ab93 RR |
26 | cmndata.cpp \ |
27 | dynarray.cpp \ | |
28 | filefn.cpp \ | |
29 | hash.cpp \ | |
5a92d200 | 30 | list.cpp \ |
c455ab93 RR |
31 | matrix.cpp \ |
32 | memory.cpp \ | |
33 | module.cpp \ | |
5a92d200 | 34 | object.cpp \ |
c455ab93 RR |
35 | string.cpp \ |
36 | timercmn.cpp \ | |
37 | utilscmn.cpp \ | |
38 | tokenzr.cpp \ | |
39 | variant.cpp \ | |
40 | wxchar.cpp \ | |
5a92d200 | 41 | \ |
5ea105e0 RR |
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 \ | |
5a92d200 | 90 | wincmn.cpp \ |
5ea105e0 RR |
91 | wxexpr.cpp \ |
92 | zstream.cpp \ | |
93 | \ | |
94 | choicdgg.cpp \ | |
95 | gridg.cpp \ | |
96 | laywin.cpp \ | |
97 | panelg.cpp \ | |
5ea105e0 RR |
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 \ | |
c455ab93 RR |
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 \ | |
c455ab93 RR |
117 | choice.cpp \ |
118 | clipbrd.cpp \ | |
4286a5b5 | 119 | colordlg.cpp \ |
c455ab93 RR |
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 \ | |
c455ab93 RR |
131 | filedlg.cpp \ |
132 | font.cpp \ | |
4286a5b5 | 133 | fontdlg.cpp \ |
c455ab93 | 134 | frame.cpp \ |
5ea105e0 | 135 | gauge95.cpp \ |
c455ab93 RR |
136 | gdiobj.cpp \ |
137 | icon.cpp \ | |
138 | imaglist.cpp \ | |
139 | listbox.cpp \ | |
c455ab93 RR |
140 | main.cpp \ |
141 | mdi.cpp \ | |
142 | menu.cpp \ | |
143 | menuitem.cpp \ | |
144 | minifram.cpp \ | |
5ea105e0 | 145 | msgdlg.cpp \ |
c455ab93 RR |
146 | notebook.cpp \ |
147 | ownerdrw.cpp \ | |
148 | palette.cpp \ | |
4286a5b5 RR |
149 | printdlg.cpp \ |
150 | printwin.cpp \ | |
c455ab93 RR |
151 | pen.cpp \ |
152 | radiobox.cpp \ | |
153 | radiobut.cpp \ | |
154 | regconf.cpp \ | |
155 | region.cpp \ | |
156 | registry.cpp \ | |
157 | scrolbar.cpp \ | |
158 | settings.cpp \ | |
5ea105e0 | 159 | slider95.cpp \ |
c455ab93 RR |
160 | spinbutt.cpp \ |
161 | statbmp.cpp \ | |
162 | statbox.cpp \ | |
163 | stattext.cpp \ | |
5ea105e0 | 164 | tbar95.cpp \ |
c455ab93 RR |
165 | textctrl.cpp \ |
166 | thread.cpp \ | |
167 | timer.cpp \ | |
168 | tooltip.cpp \ | |
c455ab93 RR |
169 | utils.cpp \ |
170 | utilsexc.cpp \ | |
171 | wave.cpp \ | |
4286a5b5 RR |
172 | window.cpp \ |
173 | nativdlg.cpp | |
5a92d200 RR |
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 |