]>
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 | \ | |
22 | extended.c \ | |
23 | parser.c \ | |
24 | \ | |
c455ab93 RR |
25 | cmndata.cpp \ |
26 | dynarray.cpp \ | |
27 | filefn.cpp \ | |
28 | hash.cpp \ | |
5a92d200 | 29 | list.cpp \ |
c455ab93 RR |
30 | matrix.cpp \ |
31 | memory.cpp \ | |
32 | module.cpp \ | |
5a92d200 | 33 | object.cpp \ |
c455ab93 RR |
34 | string.cpp \ |
35 | timercmn.cpp \ | |
36 | utilscmn.cpp \ | |
37 | tokenzr.cpp \ | |
38 | variant.cpp \ | |
39 | wxchar.cpp \ | |
5a92d200 | 40 | \ |
5ea105e0 RR |
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 \ | |
ce4169a4 | 57 | imagbmp.cpp \ |
5ea105e0 RR |
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 | |
d427503c VZ |
181 | |
182 | # VZ: can anyone please explain me why are we doing these substitutions? | |
5a92d200 RR |
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" | \ | |
d427503c | 188 | sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \ |
5a92d200 RR |
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 | \ | |
d427503c | 196 | sed -e "s/yy\([^.]\)/PROIO_yy\1/g" | \ |
5a92d200 RR |
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) \ | |
d427503c | 203 | -release $(LT_RELEASE) -no-undefined |
5a92d200 RR |
204 | libwx_msw_la_LIBADD = $(LTLIBOBJS) |
205 | libwx_msw_la_DEPENDENCIES = $(libwx_msw_la_LIBADD) lexer.l parser.y |