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