Merge lp:~logan/ubuntu/raring/sblim-cmpi-base/1.6.2 into lp:ubuntu/raring/sblim-cmpi-base
- Raring (13.04)
- 1.6.2
- Merge into raring
Proposed by
Logan Rosen
Status: | Merged |
---|---|
Merged at revision: | 7 |
Proposed branch: | lp:~logan/ubuntu/raring/sblim-cmpi-base/1.6.2 |
Merge into: | lp:ubuntu/raring/sblim-cmpi-base |
Diff against target: |
56987 lines (+19203/-28121) 32 files modified
.pc/applied-patches (+0/-1) .pc/underlinked-library.patch/Makefile.am (+0/-230) .pc/underlinked-library.patch/Makefile.in (+0/-1261) ChangeLog (+71/-2) INSTALL (+164/-36) Makefile.am (+2/-1) Makefile.in (+298/-180) NEWS (+18/-0) OSBase_Common.c (+7/-1) OSBase_OperatingSystem.c (+1/-1) OSBase_OperatingSystemStatisticalData.c (+1/-0) OSBase_Processor.c (+9/-7) OSBase_Processor.h (+2/-0) OSBase_UnixProcess.c (+12/-6) aclocal.m4 (+5394/-3993) cmpiOSBase_OperatingSystem.c (+3/-0) cmpiOSBase_ProcessorProvider.c (+2/-0) config.guess (+161/-186) config.h.in (+10/-0) config.sub (+69/-22) configure (+7831/-18530) configure.ac (+1/-1) debian/changelog (+9/-0) debian/control (+1/-1) debian/patches/series (+0/-1) debian/patches/underlinked-library.patch (+0/-25) depcomp (+64/-23) install-sh (+3/-2) ltmain.sh (+5039/-3589) missing (+29/-20) sblim-cmpi-base.spec (+1/-1) test/test-cmpi-base.sh (+1/-1) |
To merge this branch: | bzr merge lp:~logan/ubuntu/raring/sblim-cmpi-base/1.6.2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu branches | Pending | ||
Review via email: mp+143018@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed file '.pc/applied-patches' | |||
2 | --- .pc/applied-patches 2011-10-16 11:55:22 +0000 | |||
3 | +++ .pc/applied-patches 1970-01-01 00:00:00 +0000 | |||
4 | @@ -1,1 +0,0 @@ | |||
5 | 1 | underlinked-library.patch | ||
6 | 2 | 0 | ||
7 | === removed directory '.pc/underlinked-library.patch' | |||
8 | === removed file '.pc/underlinked-library.patch/Makefile.am' | |||
9 | --- .pc/underlinked-library.patch/Makefile.am 2011-10-16 11:55:22 +0000 | |||
10 | +++ .pc/underlinked-library.patch/Makefile.am 1970-01-01 00:00:00 +0000 | |||
11 | @@ -1,230 +0,0 @@ | |||
12 | 1 | # $Id: Makefile.am,v 1.17 2009/07/25 00:37:30 tyreld Exp $ | ||
13 | 2 | # ================================================================== | ||
14 | 3 | # (C) Copyright IBM Corp. 2005, 2009 | ||
15 | 4 | # | ||
16 | 5 | # THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE | ||
17 | 6 | # ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE | ||
18 | 7 | # CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. | ||
19 | 8 | # | ||
20 | 9 | # You can obtain a current copy of the Eclipse Public License from | ||
21 | 10 | # http://www.opensource.org/licenses/ecplipse-1.0.php | ||
22 | 11 | # | ||
23 | 12 | # Author: Viktor Mihajlovski <mihajlov@de.ibm.com> | ||
24 | 13 | # Contributors: Dr. Gareth S. Bestor <bestorga@us.ibm.com> | ||
25 | 14 | # Description: Automake input file for OS Base Providers | ||
26 | 15 | # ================================================================== | ||
27 | 16 | |||
28 | 17 | |||
29 | 18 | # SBLIM Include Directory | ||
30 | 19 | sblimincdir = $(includedir)/sblim | ||
31 | 20 | |||
32 | 21 | # Start from an empty extra distribution file list | ||
33 | 22 | EXTRA_DIST= | ||
34 | 23 | |||
35 | 24 | # docdir defines where the documentation goes | ||
36 | 25 | docdir=$(datadir)/doc/$(PACKAGE)-$(VERSION) | ||
37 | 26 | |||
38 | 27 | # | ||
39 | 28 | # Automake instructions for documentation | ||
40 | 29 | # | ||
41 | 30 | doc_DATA=README AUTHORS COPYING | ||
42 | 31 | |||
43 | 32 | # ADD EXTRA DOC FILES IF PRESENT | ||
44 | 33 | doc_DATA+=README.INDICATION README.tog-pegasus DEBUG | ||
45 | 34 | EXTRA_DIST+=README.INDICATION README.tog-pegasus DEBUG | ||
46 | 35 | |||
47 | 36 | # providerdir defines where provider libraries will be installed (@PROVIDERDIR@ is set by the configure script). | ||
48 | 37 | providerdir = @PROVIDERDIR@ | ||
49 | 38 | |||
50 | 39 | # | ||
51 | 40 | # Automake instructions for main dir | ||
52 | 41 | # | ||
53 | 42 | |||
54 | 43 | # OSBase CMPI provider libraries | ||
55 | 44 | provider_LTLIBRARIES = libcmpiOSBase_ComputerSystemProvider.la \ | ||
56 | 45 | libcmpiOSBase_OperatingSystemProvider.la \ | ||
57 | 46 | libcmpiOSBase_OperatingSystemStatisticalDataProvider.la \ | ||
58 | 47 | libcmpiOSBase_UnixProcessProvider.la \ | ||
59 | 48 | libcmpiOSBase_ProcessorProvider.la \ | ||
60 | 49 | libcmpiOSBase_BaseBoardProvider.la \ | ||
61 | 50 | libcmpiOSBase_RunningOSProvider.la \ | ||
62 | 51 | libcmpiOSBase_OSProcessProvider.la \ | ||
63 | 52 | libcmpiOSBase_OperatingSystemStatisticsProvider.la \ | ||
64 | 53 | libcmpiOSBase_CSProcessorProvider.la \ | ||
65 | 54 | libcmpiOSBase_CSBaseBoardProvider.la | ||
66 | 55 | |||
67 | 56 | # Computer System | ||
68 | 57 | libcmpiOSBase_ComputerSystemProvider_la_SOURCES = \ | ||
69 | 58 | cmpiOSBase_ComputerSystemProvider.c \ | ||
70 | 59 | cmpiOSBase_ComputerSystem.c \ | ||
71 | 60 | OSBase_ComputerSystem.c | ||
72 | 61 | libcmpiOSBase_ComputerSystemProvider_la_LIBADD = -lcmpiOSBase_Common | ||
73 | 62 | libcmpiOSBase_ComputerSystemProvider_la_LDFLAGS = -avoid-version | ||
74 | 63 | |||
75 | 64 | # Operating System | ||
76 | 65 | libcmpiOSBase_OperatingSystemProvider_la_SOURCES = \ | ||
77 | 66 | cmpiOSBase_OperatingSystemProvider.c \ | ||
78 | 67 | cmpiOSBase_OperatingSystem.c \ | ||
79 | 68 | OSBase_OperatingSystem.c | ||
80 | 69 | |||
81 | 70 | libcmpiOSBase_OperatingSystemProvider_la_LIBADD = -lcmpiOSBase_Common \ | ||
82 | 71 | -ldmiinfo @LINDHELP@ | ||
83 | 72 | # This gcc/ld specific flag is ugly - need to check in configure | ||
84 | 73 | libcmpiOSBase_OperatingSystemProvider_la_LDFLAGS = -avoid-version | ||
85 | 74 | |||
86 | 75 | # Operating System Statistical Data | ||
87 | 76 | libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES = \ | ||
88 | 77 | cmpiOSBase_OperatingSystemStatisticalDataProvider.c \ | ||
89 | 78 | cmpiOSBase_OperatingSystemStatisticalData.c \ | ||
90 | 79 | OSBase_OperatingSystemStatisticalData.c | ||
91 | 80 | libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LIBADD = -lcmpiOSBase_Common | ||
92 | 81 | libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LDFLAGS = -avoid-version | ||
93 | 82 | |||
94 | 83 | # Unix Process | ||
95 | 84 | libcmpiOSBase_UnixProcessProvider_la_SOURCES = \ | ||
96 | 85 | cmpiOSBase_UnixProcessProvider.c \ | ||
97 | 86 | cmpiOSBase_UnixProcess.c \ | ||
98 | 87 | OSBase_UnixProcess.c | ||
99 | 88 | libcmpiOSBase_UnixProcessProvider_la_LIBADD = -lcmpiOSBase_Common | ||
100 | 89 | libcmpiOSBase_UnixProcessProvider_la_LDFLAGS = -avoid-version | ||
101 | 90 | |||
102 | 91 | # Processor | ||
103 | 92 | libcmpiOSBase_ProcessorProvider_la_SOURCES = \ | ||
104 | 93 | cmpiOSBase_ProcessorProvider.c \ | ||
105 | 94 | cmpiOSBase_Processor.c \ | ||
106 | 95 | OSBase_Processor.c | ||
107 | 96 | libcmpiOSBase_ProcessorProvider_la_LIBADD = -lcmpiOSBase_Common | ||
108 | 97 | libcmpiOSBase_ProcessorProvider_la_LDFLAGS = -avoid-version | ||
109 | 98 | |||
110 | 99 | # Base Board | ||
111 | 100 | libcmpiOSBase_BaseBoardProvider_la_SOURCES = \ | ||
112 | 101 | cmpiOSBase_BaseBoardProvider.c \ | ||
113 | 102 | cmpiOSBase_BaseBoard.c \ | ||
114 | 103 | OSBase_BaseBoard.c | ||
115 | 104 | libcmpiOSBase_BaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common -ldmiinfo | ||
116 | 105 | libcmpiOSBase_BaseBoardProvider_la_LDFLAGS = -avoid-version | ||
117 | 106 | |||
118 | 107 | libcmpiOSBase_RunningOSProvider_la_SOURCES = cmpiOSBase_RunningOSProvider.c | ||
119 | 108 | libcmpiOSBase_RunningOSProvider_la_LIBADD = -lcmpiOSBase_Common | ||
120 | 109 | libcmpiOSBase_RunningOSProvider_la_LDFLAGS = -avoid-version | ||
121 | 110 | |||
122 | 111 | libcmpiOSBase_OSProcessProvider_la_SOURCES = cmpiOSBase_OSProcessProvider.c | ||
123 | 112 | libcmpiOSBase_OSProcessProvider_la_LIBADD = -lcmpiOSBase_Common | ||
124 | 113 | libcmpiOSBase_OSProcessProvider_la_LDFLAGS = -avoid-version | ||
125 | 114 | |||
126 | 115 | libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES = cmpiOSBase_OperatingSystemStatisticsProvider.c | ||
127 | 116 | libcmpiOSBase_OperatingSystemStatisticsProvider_la_LIBADD = -lcmpiOSBase_Common | ||
128 | 117 | libcmpiOSBase_OperatingSystemStatisticsProvider_la_LDFLAGS = -avoid-version | ||
129 | 118 | |||
130 | 119 | libcmpiOSBase_CSProcessorProvider_la_SOURCES = cmpiOSBase_CSProcessorProvider.c | ||
131 | 120 | libcmpiOSBase_CSProcessorProvider_la_LIBADD = -lcmpiOSBase_Common | ||
132 | 121 | libcmpiOSBase_CSProcessorProvider_la_LDFLAGS = -avoid-version | ||
133 | 122 | |||
134 | 123 | libcmpiOSBase_CSBaseBoardProvider_la_SOURCES = cmpiOSBase_CSBaseBoardProvider.c | ||
135 | 124 | libcmpiOSBase_CSBaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common | ||
136 | 125 | libcmpiOSBase_CSBaseBoardProvider_la_LDFLAGS = -avoid-version | ||
137 | 126 | |||
138 | 127 | |||
139 | 128 | # OSBase support utility libraries | ||
140 | 129 | lib_LTLIBRARIES = libcmpiOSBase_Common.la libdmiinfo.la | ||
141 | 130 | |||
142 | 131 | libcmpiOSBase_Common_la_SOURCES=OSBase_Common.c cmpiOSBase_Common.c | ||
143 | 132 | # This gcc/ld specific flag is ugly - need to check in configure | ||
144 | 133 | libcmpiOSBase_Common_la_LDFLAGS = -Wc | ||
145 | 134 | |||
146 | 135 | libdmiinfo_la_SOURCES=dmiinfo.c dmiinfo.h dmifind.h | ||
147 | 136 | |||
148 | 137 | # DMI layer test program (not installed) | ||
149 | 138 | noinst_PROGRAMS = dmitest | ||
150 | 139 | dmitest_SOURCES = dmitest.c | ||
151 | 140 | dmitest_LDADD = -ldmiinfo | ||
152 | 141 | |||
153 | 142 | # Installable Header Files | ||
154 | 143 | sbliminc_HEADERS = OSBase_Common.h cmpiOSBase_Common.h \ | ||
155 | 144 | OSBase_UnixProcess.h cmpiOSBase_UnixProcess.h | ||
156 | 145 | |||
157 | 146 | # Non-Installable Header Files | ||
158 | 147 | noinst_HEADERS = OSBase_ComputerSystem.h \ | ||
159 | 148 | OSBase_OperatingSystem.h \ | ||
160 | 149 | OSBase_OperatingSystemStatisticalData.h \ | ||
161 | 150 | OSBase_Processor.h \ | ||
162 | 151 | OSBase_BaseBoard.h \ | ||
163 | 152 | cmpiOSBase_Util.h \ | ||
164 | 153 | cmpiOSBase_ComputerSystem.h \ | ||
165 | 154 | cmpiOSBase_OperatingSystem.h \ | ||
166 | 155 | cmpiOSBase_OperatingSystemStatisticalData.h \ | ||
167 | 156 | cmpiOSBase_Processor.h \ | ||
168 | 157 | cmpiOSBase_BaseBoard.h | ||
169 | 158 | |||
170 | 159 | # We must explicity add the RPM spec file to the distribution package | ||
171 | 160 | EXTRA_DIST+=$(PACKAGE).spec $(PACKAGE).rh.spec | ||
172 | 161 | |||
173 | 162 | |||
174 | 163 | # | ||
175 | 164 | # Automake instructions for ./mof subdir | ||
176 | 165 | # | ||
177 | 166 | if NOEVENTS | ||
178 | 167 | SCHEMAS=$(srcdir)/mof/Linux_Base.mof | ||
179 | 168 | REGISTRATIONS=$(srcdir)/mof/Linux_Base.registration | ||
180 | 169 | else | ||
181 | 170 | SCHEMAS=$(srcdir)/mof/Linux_Base.mof $(srcdir)/mof/Linux_BaseIndication.mof | ||
182 | 171 | REGISTRATIONS=$(srcdir)/mof/Linux_BaseIndication.registration | ||
183 | 172 | endif | ||
184 | 173 | |||
185 | 174 | # We must explicity add all the schema files to the distribution package | ||
186 | 175 | pkgdata_DATA=$(SCHEMAS) $(REGISTRATIONS) | ||
187 | 176 | pkgdata_SCRIPTS=provider-register.sh | ||
188 | 177 | EXTRA_DIST+=mof $(pkgdata_SCRIPTS) | ||
189 | 178 | |||
190 | 179 | # Register the provider(s) and class definition(s) to the current CIM server/CIMOM | ||
191 | 180 | postinstall: | ||
192 | 181 | sh $(srcdir)/provider-register.sh -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS) | ||
193 | 182 | |||
194 | 183 | preuninstall: | ||
195 | 184 | sh $(srcdir)/provider-register.sh -d -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS) | ||
196 | 185 | |||
197 | 186 | dist-hook: | ||
198 | 187 | test -d "$(distdir)" && rm -rf `find $(distdir) -type d -name CVS` | ||
199 | 188 | |||
200 | 189 | # | ||
201 | 190 | # Automake instructions for ./test subdir | ||
202 | 191 | # | ||
203 | 192 | EXTRA_DIST+=test README.TEST | ||
204 | 193 | if TESTSUITE | ||
205 | 194 | testsuitedir=@TESTSUITEDIR@ | ||
206 | 195 | testsuitesystemdir=@TESTSUITEDIR@/system/linux | ||
207 | 196 | testsuitecimdir=@TESTSUITEDIR@/cim | ||
208 | 197 | |||
209 | 198 | testsuite_SCRIPTS=test/test-cmpi-base.sh | ||
210 | 199 | testsuitesystem_DATA=test/system/linux/Linux_CSProcessor.system \ | ||
211 | 200 | test/system/linux/Linux_ComputerSystem.system \ | ||
212 | 201 | test/system/linux/Linux_OSProcess.system \ | ||
213 | 202 | test/system/linux/Linux_OperatingSystem.system \ | ||
214 | 203 | test/system/linux/Linux_Processor.system \ | ||
215 | 204 | test/system/linux/Linux_OperatingSystemStatisticalData.system \ | ||
216 | 205 | test/system/linux/Linux_OperatingSystemStatistics.system \ | ||
217 | 206 | test/system/linux/Linux_RunningOS.system \ | ||
218 | 207 | test/system/linux/Linux_UnixProcess.system \ | ||
219 | 208 | test/system/linux/Linux_BaseBoard.system \ | ||
220 | 209 | test/system/linux/Linux_CSBaseBoard.system | ||
221 | 210 | testsuitesystem_SCRIPTS=test/system/linux/Linux_OperatingSystem.version.sh \ | ||
222 | 211 | test/system/linux/Linux_Processor.pl \ | ||
223 | 212 | test/system/linux/Linux_UnixProcess.pl \ | ||
224 | 213 | test/system/linux/createKeyFiles.sh | ||
225 | 214 | testsuitecim_DATA=test/cim/Linux_CSProcessor.cim \ | ||
226 | 215 | test/cim/Linux_ComputerSystem.cim \ | ||
227 | 216 | test/cim/Linux_OSProcess.cim \ | ||
228 | 217 | test/cim/Linux_OperatingSystem.cim \ | ||
229 | 218 | test/cim/Linux_OperatingSystemStatisticalData.cim \ | ||
230 | 219 | test/cim/Linux_OperatingSystemStatistics.cim \ | ||
231 | 220 | test/cim/Linux_Processor.cim \ | ||
232 | 221 | test/cim/Linux_RunningOS.cim \ | ||
233 | 222 | test/cim/Linux_UnixProcess.cim \ | ||
234 | 223 | test/cim/Linux_BaseBoard.cim \ | ||
235 | 224 | test/cim/Linux_CSBaseBoard.cim | ||
236 | 225 | |||
237 | 226 | runtest: install | ||
238 | 227 | cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh | ||
239 | 228 | |||
240 | 229 | doc_DATA+=README.TEST | ||
241 | 230 | endif | ||
242 | 231 | 0 | ||
243 | === removed file '.pc/underlinked-library.patch/Makefile.in' | |||
244 | --- .pc/underlinked-library.patch/Makefile.in 2011-10-16 11:55:22 +0000 | |||
245 | +++ .pc/underlinked-library.patch/Makefile.in 1970-01-01 00:00:00 +0000 | |||
246 | @@ -1,1261 +0,0 @@ | |||
247 | 1 | # Makefile.in generated by automake 1.10.1 from Makefile.am. | ||
248 | 2 | # @configure_input@ | ||
249 | 3 | |||
250 | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
251 | 5 | # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
252 | 6 | # This Makefile.in is free software; the Free Software Foundation | ||
253 | 7 | # gives unlimited permission to copy and/or distribute it, | ||
254 | 8 | # with or without modifications, as long as this notice is preserved. | ||
255 | 9 | |||
256 | 10 | # This program is distributed in the hope that it will be useful, | ||
257 | 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
258 | 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
259 | 13 | # PARTICULAR PURPOSE. | ||
260 | 14 | |||
261 | 15 | @SET_MAKE@ | ||
262 | 16 | |||
263 | 17 | # $Id: Makefile.am,v 1.17 2009/07/25 00:37:30 tyreld Exp $ | ||
264 | 18 | # ================================================================== | ||
265 | 19 | # (C) Copyright IBM Corp. 2005, 2009 | ||
266 | 20 | # | ||
267 | 21 | # THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE | ||
268 | 22 | # ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE | ||
269 | 23 | # CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. | ||
270 | 24 | # | ||
271 | 25 | # You can obtain a current copy of the Eclipse Public License from | ||
272 | 26 | # http://www.opensource.org/licenses/ecplipse-1.0.php | ||
273 | 27 | # | ||
274 | 28 | # Author: Viktor Mihajlovski <mihajlov@de.ibm.com> | ||
275 | 29 | # Contributors: Dr. Gareth S. Bestor <bestorga@us.ibm.com> | ||
276 | 30 | # Description: Automake input file for OS Base Providers | ||
277 | 31 | # ================================================================== | ||
278 | 32 | |||
279 | 33 | |||
280 | 34 | |||
281 | 35 | |||
282 | 36 | |||
283 | 37 | VPATH = @srcdir@ | ||
284 | 38 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
285 | 39 | pkglibdir = $(libdir)/@PACKAGE@ | ||
286 | 40 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
287 | 41 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
288 | 42 | install_sh_DATA = $(install_sh) -c -m 644 | ||
289 | 43 | install_sh_PROGRAM = $(install_sh) -c | ||
290 | 44 | install_sh_SCRIPT = $(install_sh) -c | ||
291 | 45 | INSTALL_HEADER = $(INSTALL_DATA) | ||
292 | 46 | transform = $(program_transform_name) | ||
293 | 47 | NORMAL_INSTALL = : | ||
294 | 48 | PRE_INSTALL = : | ||
295 | 49 | POST_INSTALL = : | ||
296 | 50 | NORMAL_UNINSTALL = : | ||
297 | 51 | PRE_UNINSTALL = : | ||
298 | 52 | POST_UNINSTALL = : | ||
299 | 53 | build_triplet = @build@ | ||
300 | 54 | host_triplet = @host@ | ||
301 | 55 | noinst_PROGRAMS = dmitest$(EXEEXT) | ||
302 | 56 | @TESTSUITE_TRUE@am__append_1 = README.TEST | ||
303 | 57 | subdir = . | ||
304 | 58 | DIST_COMMON = README $(am__configure_deps) $(noinst_HEADERS) \ | ||
305 | 59 | $(sbliminc_HEADERS) $(srcdir)/Makefile.am \ | ||
306 | 60 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ | ||
307 | 61 | $(srcdir)/sblim-cmpi-base.spec.in $(top_srcdir)/configure \ | ||
308 | 62 | AUTHORS COPYING ChangeLog INSTALL NEWS config.guess config.sub \ | ||
309 | 63 | depcomp install-sh ltmain.sh missing | ||
310 | 64 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
311 | 65 | am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ | ||
312 | 66 | $(top_srcdir)/configure.ac | ||
313 | 67 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
314 | 68 | $(ACLOCAL_M4) | ||
315 | 69 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | ||
316 | 70 | configure.lineno config.status.lineno | ||
317 | 71 | mkinstalldirs = $(install_sh) -d | ||
318 | 72 | CONFIG_HEADER = config.h | ||
319 | 73 | CONFIG_CLEAN_FILES = sblim-cmpi-base.spec | ||
320 | 74 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
321 | 75 | am__vpath_adj = case $$p in \ | ||
322 | 76 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
323 | 77 | *) f=$$p;; \ | ||
324 | 78 | esac; | ||
325 | 79 | am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; | ||
326 | 80 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(providerdir)" \ | ||
327 | 81 | "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitedir)" \ | ||
328 | 82 | "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(docdir)" \ | ||
329 | 83 | "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitecimdir)" \ | ||
330 | 84 | "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(sblimincdir)" | ||
331 | 85 | libLTLIBRARIES_INSTALL = $(INSTALL) | ||
332 | 86 | providerLTLIBRARIES_INSTALL = $(INSTALL) | ||
333 | 87 | LTLIBRARIES = $(lib_LTLIBRARIES) $(provider_LTLIBRARIES) | ||
334 | 88 | libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES = | ||
335 | 89 | am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \ | ||
336 | 90 | cmpiOSBase_BaseBoardProvider.lo cmpiOSBase_BaseBoard.lo \ | ||
337 | 91 | OSBase_BaseBoard.lo | ||
338 | 92 | libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \ | ||
339 | 93 | $(am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS) | ||
340 | 94 | libcmpiOSBase_BaseBoardProvider_la_LINK = $(LIBTOOL) --tag=CC \ | ||
341 | 95 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
342 | 96 | $(AM_CFLAGS) $(CFLAGS) \ | ||
343 | 97 | $(libcmpiOSBase_BaseBoardProvider_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
344 | 98 | libcmpiOSBase_CSBaseBoardProvider_la_DEPENDENCIES = | ||
345 | 99 | am_libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS = \ | ||
346 | 100 | cmpiOSBase_CSBaseBoardProvider.lo | ||
347 | 101 | libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS = \ | ||
348 | 102 | $(am_libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS) | ||
349 | 103 | libcmpiOSBase_CSBaseBoardProvider_la_LINK = $(LIBTOOL) --tag=CC \ | ||
350 | 104 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
351 | 105 | $(AM_CFLAGS) $(CFLAGS) \ | ||
352 | 106 | $(libcmpiOSBase_CSBaseBoardProvider_la_LDFLAGS) $(LDFLAGS) -o \ | ||
353 | 107 | $@ | ||
354 | 108 | libcmpiOSBase_CSProcessorProvider_la_DEPENDENCIES = | ||
355 | 109 | am_libcmpiOSBase_CSProcessorProvider_la_OBJECTS = \ | ||
356 | 110 | cmpiOSBase_CSProcessorProvider.lo | ||
357 | 111 | libcmpiOSBase_CSProcessorProvider_la_OBJECTS = \ | ||
358 | 112 | $(am_libcmpiOSBase_CSProcessorProvider_la_OBJECTS) | ||
359 | 113 | libcmpiOSBase_CSProcessorProvider_la_LINK = $(LIBTOOL) --tag=CC \ | ||
360 | 114 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
361 | 115 | $(AM_CFLAGS) $(CFLAGS) \ | ||
362 | 116 | $(libcmpiOSBase_CSProcessorProvider_la_LDFLAGS) $(LDFLAGS) -o \ | ||
363 | 117 | $@ | ||
364 | 118 | libcmpiOSBase_Common_la_LIBADD = | ||
365 | 119 | am_libcmpiOSBase_Common_la_OBJECTS = OSBase_Common.lo \ | ||
366 | 120 | cmpiOSBase_Common.lo | ||
367 | 121 | libcmpiOSBase_Common_la_OBJECTS = \ | ||
368 | 122 | $(am_libcmpiOSBase_Common_la_OBJECTS) | ||
369 | 123 | libcmpiOSBase_Common_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
370 | 124 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
371 | 125 | $(libcmpiOSBase_Common_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
372 | 126 | libcmpiOSBase_ComputerSystemProvider_la_DEPENDENCIES = | ||
373 | 127 | am_libcmpiOSBase_ComputerSystemProvider_la_OBJECTS = \ | ||
374 | 128 | cmpiOSBase_ComputerSystemProvider.lo \ | ||
375 | 129 | cmpiOSBase_ComputerSystem.lo OSBase_ComputerSystem.lo | ||
376 | 130 | libcmpiOSBase_ComputerSystemProvider_la_OBJECTS = \ | ||
377 | 131 | $(am_libcmpiOSBase_ComputerSystemProvider_la_OBJECTS) | ||
378 | 132 | libcmpiOSBase_ComputerSystemProvider_la_LINK = $(LIBTOOL) --tag=CC \ | ||
379 | 133 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
380 | 134 | $(AM_CFLAGS) $(CFLAGS) \ | ||
381 | 135 | $(libcmpiOSBase_ComputerSystemProvider_la_LDFLAGS) $(LDFLAGS) \ | ||
382 | 136 | -o $@ | ||
383 | 137 | libcmpiOSBase_OSProcessProvider_la_DEPENDENCIES = | ||
384 | 138 | am_libcmpiOSBase_OSProcessProvider_la_OBJECTS = \ | ||
385 | 139 | cmpiOSBase_OSProcessProvider.lo | ||
386 | 140 | libcmpiOSBase_OSProcessProvider_la_OBJECTS = \ | ||
387 | 141 | $(am_libcmpiOSBase_OSProcessProvider_la_OBJECTS) | ||
388 | 142 | libcmpiOSBase_OSProcessProvider_la_LINK = $(LIBTOOL) --tag=CC \ | ||
389 | 143 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
390 | 144 | $(AM_CFLAGS) $(CFLAGS) \ | ||
391 | 145 | $(libcmpiOSBase_OSProcessProvider_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
392 | 146 | libcmpiOSBase_OperatingSystemProvider_la_DEPENDENCIES = | ||
393 | 147 | am_libcmpiOSBase_OperatingSystemProvider_la_OBJECTS = \ | ||
394 | 148 | cmpiOSBase_OperatingSystemProvider.lo \ | ||
395 | 149 | cmpiOSBase_OperatingSystem.lo OSBase_OperatingSystem.lo | ||
396 | 150 | libcmpiOSBase_OperatingSystemProvider_la_OBJECTS = \ | ||
397 | 151 | $(am_libcmpiOSBase_OperatingSystemProvider_la_OBJECTS) | ||
398 | 152 | libcmpiOSBase_OperatingSystemProvider_la_LINK = $(LIBTOOL) --tag=CC \ | ||
399 | 153 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
400 | 154 | $(AM_CFLAGS) $(CFLAGS) \ | ||
401 | 155 | $(libcmpiOSBase_OperatingSystemProvider_la_LDFLAGS) $(LDFLAGS) \ | ||
402 | 156 | -o $@ | ||
403 | 157 | libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_DEPENDENCIES = | ||
404 | 158 | am_libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS = \ | ||
405 | 159 | cmpiOSBase_OperatingSystemStatisticalDataProvider.lo \ | ||
406 | 160 | cmpiOSBase_OperatingSystemStatisticalData.lo \ | ||
407 | 161 | OSBase_OperatingSystemStatisticalData.lo | ||
408 | 162 | libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS = $(am_libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS) | ||
409 | 163 | libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LINK = \ | ||
410 | 164 | $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
411 | 165 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
412 | 166 | $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LDFLAGS) \ | ||
413 | 167 | $(LDFLAGS) -o $@ | ||
414 | 168 | libcmpiOSBase_OperatingSystemStatisticsProvider_la_DEPENDENCIES = | ||
415 | 169 | am_libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS = \ | ||
416 | 170 | cmpiOSBase_OperatingSystemStatisticsProvider.lo | ||
417 | 171 | libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS = $(am_libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS) | ||
418 | 172 | libcmpiOSBase_OperatingSystemStatisticsProvider_la_LINK = $(LIBTOOL) \ | ||
419 | 173 | --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \ | ||
420 | 174 | $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
421 | 175 | $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_LDFLAGS) \ | ||
422 | 176 | $(LDFLAGS) -o $@ | ||
423 | 177 | libcmpiOSBase_ProcessorProvider_la_DEPENDENCIES = | ||
424 | 178 | am_libcmpiOSBase_ProcessorProvider_la_OBJECTS = \ | ||
425 | 179 | cmpiOSBase_ProcessorProvider.lo cmpiOSBase_Processor.lo \ | ||
426 | 180 | OSBase_Processor.lo | ||
427 | 181 | libcmpiOSBase_ProcessorProvider_la_OBJECTS = \ | ||
428 | 182 | $(am_libcmpiOSBase_ProcessorProvider_la_OBJECTS) | ||
429 | 183 | libcmpiOSBase_ProcessorProvider_la_LINK = $(LIBTOOL) --tag=CC \ | ||
430 | 184 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
431 | 185 | $(AM_CFLAGS) $(CFLAGS) \ | ||
432 | 186 | $(libcmpiOSBase_ProcessorProvider_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
433 | 187 | libcmpiOSBase_RunningOSProvider_la_DEPENDENCIES = | ||
434 | 188 | am_libcmpiOSBase_RunningOSProvider_la_OBJECTS = \ | ||
435 | 189 | cmpiOSBase_RunningOSProvider.lo | ||
436 | 190 | libcmpiOSBase_RunningOSProvider_la_OBJECTS = \ | ||
437 | 191 | $(am_libcmpiOSBase_RunningOSProvider_la_OBJECTS) | ||
438 | 192 | libcmpiOSBase_RunningOSProvider_la_LINK = $(LIBTOOL) --tag=CC \ | ||
439 | 193 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
440 | 194 | $(AM_CFLAGS) $(CFLAGS) \ | ||
441 | 195 | $(libcmpiOSBase_RunningOSProvider_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
442 | 196 | libcmpiOSBase_UnixProcessProvider_la_DEPENDENCIES = | ||
443 | 197 | am_libcmpiOSBase_UnixProcessProvider_la_OBJECTS = \ | ||
444 | 198 | cmpiOSBase_UnixProcessProvider.lo cmpiOSBase_UnixProcess.lo \ | ||
445 | 199 | OSBase_UnixProcess.lo | ||
446 | 200 | libcmpiOSBase_UnixProcessProvider_la_OBJECTS = \ | ||
447 | 201 | $(am_libcmpiOSBase_UnixProcessProvider_la_OBJECTS) | ||
448 | 202 | libcmpiOSBase_UnixProcessProvider_la_LINK = $(LIBTOOL) --tag=CC \ | ||
449 | 203 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
450 | 204 | $(AM_CFLAGS) $(CFLAGS) \ | ||
451 | 205 | $(libcmpiOSBase_UnixProcessProvider_la_LDFLAGS) $(LDFLAGS) -o \ | ||
452 | 206 | $@ | ||
453 | 207 | libdmiinfo_la_LIBADD = | ||
454 | 208 | am_libdmiinfo_la_OBJECTS = dmiinfo.lo | ||
455 | 209 | libdmiinfo_la_OBJECTS = $(am_libdmiinfo_la_OBJECTS) | ||
456 | 210 | PROGRAMS = $(noinst_PROGRAMS) | ||
457 | 211 | am_dmitest_OBJECTS = dmitest.$(OBJEXT) | ||
458 | 212 | dmitest_OBJECTS = $(am_dmitest_OBJECTS) | ||
459 | 213 | dmitest_DEPENDENCIES = | ||
460 | 214 | pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT) | ||
461 | 215 | testsuiteSCRIPT_INSTALL = $(INSTALL_SCRIPT) | ||
462 | 216 | testsuitesystemSCRIPT_INSTALL = $(INSTALL_SCRIPT) | ||
463 | 217 | SCRIPTS = $(pkgdata_SCRIPTS) $(testsuite_SCRIPTS) \ | ||
464 | 218 | $(testsuitesystem_SCRIPTS) | ||
465 | 219 | DEFAULT_INCLUDES = -I.@am__isrc@ | ||
466 | 220 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
467 | 221 | am__depfiles_maybe = depfiles | ||
468 | 222 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
469 | 223 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
470 | 224 | LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
471 | 225 | --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
472 | 226 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
473 | 227 | CCLD = $(CC) | ||
474 | 228 | LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
475 | 229 | --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ | ||
476 | 230 | $(LDFLAGS) -o $@ | ||
477 | 231 | SOURCES = $(libcmpiOSBase_BaseBoardProvider_la_SOURCES) \ | ||
478 | 232 | $(libcmpiOSBase_CSBaseBoardProvider_la_SOURCES) \ | ||
479 | 233 | $(libcmpiOSBase_CSProcessorProvider_la_SOURCES) \ | ||
480 | 234 | $(libcmpiOSBase_Common_la_SOURCES) \ | ||
481 | 235 | $(libcmpiOSBase_ComputerSystemProvider_la_SOURCES) \ | ||
482 | 236 | $(libcmpiOSBase_OSProcessProvider_la_SOURCES) \ | ||
483 | 237 | $(libcmpiOSBase_OperatingSystemProvider_la_SOURCES) \ | ||
484 | 238 | $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES) \ | ||
485 | 239 | $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES) \ | ||
486 | 240 | $(libcmpiOSBase_ProcessorProvider_la_SOURCES) \ | ||
487 | 241 | $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \ | ||
488 | 242 | $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \ | ||
489 | 243 | $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES) | ||
490 | 244 | DIST_SOURCES = $(libcmpiOSBase_BaseBoardProvider_la_SOURCES) \ | ||
491 | 245 | $(libcmpiOSBase_CSBaseBoardProvider_la_SOURCES) \ | ||
492 | 246 | $(libcmpiOSBase_CSProcessorProvider_la_SOURCES) \ | ||
493 | 247 | $(libcmpiOSBase_Common_la_SOURCES) \ | ||
494 | 248 | $(libcmpiOSBase_ComputerSystemProvider_la_SOURCES) \ | ||
495 | 249 | $(libcmpiOSBase_OSProcessProvider_la_SOURCES) \ | ||
496 | 250 | $(libcmpiOSBase_OperatingSystemProvider_la_SOURCES) \ | ||
497 | 251 | $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES) \ | ||
498 | 252 | $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES) \ | ||
499 | 253 | $(libcmpiOSBase_ProcessorProvider_la_SOURCES) \ | ||
500 | 254 | $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \ | ||
501 | 255 | $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \ | ||
502 | 256 | $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES) | ||
503 | 257 | docDATA_INSTALL = $(INSTALL_DATA) | ||
504 | 258 | pkgdataDATA_INSTALL = $(INSTALL_DATA) | ||
505 | 259 | testsuitecimDATA_INSTALL = $(INSTALL_DATA) | ||
506 | 260 | testsuitesystemDATA_INSTALL = $(INSTALL_DATA) | ||
507 | 261 | DATA = $(doc_DATA) $(pkgdata_DATA) $(testsuitecim_DATA) \ | ||
508 | 262 | $(testsuitesystem_DATA) | ||
509 | 263 | sblimincHEADERS_INSTALL = $(INSTALL_HEADER) | ||
510 | 264 | HEADERS = $(noinst_HEADERS) $(sbliminc_HEADERS) | ||
511 | 265 | ETAGS = etags | ||
512 | 266 | CTAGS = ctags | ||
513 | 267 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
514 | 268 | distdir = $(PACKAGE)-$(VERSION) | ||
515 | 269 | top_distdir = $(distdir) | ||
516 | 270 | am__remove_distdir = \ | ||
517 | 271 | { test ! -d $(distdir) \ | ||
518 | 272 | || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ | ||
519 | 273 | && rm -fr $(distdir); }; } | ||
520 | 274 | DIST_ARCHIVES = $(distdir).tar.gz | ||
521 | 275 | GZIP_ENV = --best | ||
522 | 276 | distuninstallcheck_listfiles = find . -type f -print | ||
523 | 277 | distcleancheck_listfiles = find . -type f -print | ||
524 | 278 | ACLOCAL = @ACLOCAL@ | ||
525 | 279 | AMTAR = @AMTAR@ | ||
526 | 280 | AR = @AR@ | ||
527 | 281 | AUTOCONF = @AUTOCONF@ | ||
528 | 282 | AUTOHEADER = @AUTOHEADER@ | ||
529 | 283 | AUTOMAKE = @AUTOMAKE@ | ||
530 | 284 | AWK = @AWK@ | ||
531 | 285 | CC = @CC@ | ||
532 | 286 | CCDEPMODE = @CCDEPMODE@ | ||
533 | 287 | CFLAGS = @CFLAGS@ | ||
534 | 288 | CIMSERVER = @CIMSERVER@ | ||
535 | 289 | CPP = @CPP@ | ||
536 | 290 | CPPFLAGS = @CPPFLAGS@ | ||
537 | 291 | CXX = @CXX@ | ||
538 | 292 | CXXCPP = @CXXCPP@ | ||
539 | 293 | CXXDEPMODE = @CXXDEPMODE@ | ||
540 | 294 | CXXFLAGS = @CXXFLAGS@ | ||
541 | 295 | CYGPATH_W = @CYGPATH_W@ | ||
542 | 296 | DEFS = @DEFS@ | ||
543 | 297 | DEPDIR = @DEPDIR@ | ||
544 | 298 | DSYMUTIL = @DSYMUTIL@ | ||
545 | 299 | ECHO = @ECHO@ | ||
546 | 300 | ECHO_C = @ECHO_C@ | ||
547 | 301 | ECHO_N = @ECHO_N@ | ||
548 | 302 | ECHO_T = @ECHO_T@ | ||
549 | 303 | EGREP = @EGREP@ | ||
550 | 304 | EXEEXT = @EXEEXT@ | ||
551 | 305 | F77 = @F77@ | ||
552 | 306 | FFLAGS = @FFLAGS@ | ||
553 | 307 | GREP = @GREP@ | ||
554 | 308 | INSTALL = @INSTALL@ | ||
555 | 309 | INSTALL_DATA = @INSTALL_DATA@ | ||
556 | 310 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
557 | 311 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
558 | 312 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
559 | 313 | LDFLAGS = @LDFLAGS@ | ||
560 | 314 | LIBOBJS = @LIBOBJS@ | ||
561 | 315 | LIBS = @LIBS@ | ||
562 | 316 | LIBTOOL = @LIBTOOL@ | ||
563 | 317 | LINDHELP = @LINDHELP@ | ||
564 | 318 | LN_S = @LN_S@ | ||
565 | 319 | LTLIBOBJS = @LTLIBOBJS@ | ||
566 | 320 | MAKEINFO = @MAKEINFO@ | ||
567 | 321 | MKDIR_P = @MKDIR_P@ | ||
568 | 322 | NMEDIT = @NMEDIT@ | ||
569 | 323 | OBJEXT = @OBJEXT@ | ||
570 | 324 | PACKAGE = @PACKAGE@ | ||
571 | 325 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
572 | 326 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
573 | 327 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
574 | 328 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
575 | 329 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
576 | 330 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
577 | 331 | PROVIDERDIR = @PROVIDERDIR@ | ||
578 | 332 | RANLIB = @RANLIB@ | ||
579 | 333 | REGISTER_FLAGS = @REGISTER_FLAGS@ | ||
580 | 334 | SED = @SED@ | ||
581 | 335 | SET_MAKE = @SET_MAKE@ | ||
582 | 336 | SHELL = @SHELL@ | ||
583 | 337 | STRIP = @STRIP@ | ||
584 | 338 | TESTSUITEDIR = @TESTSUITEDIR@ | ||
585 | 339 | VERSION = @VERSION@ | ||
586 | 340 | abs_builddir = @abs_builddir@ | ||
587 | 341 | abs_srcdir = @abs_srcdir@ | ||
588 | 342 | abs_top_builddir = @abs_top_builddir@ | ||
589 | 343 | abs_top_srcdir = @abs_top_srcdir@ | ||
590 | 344 | ac_ct_CC = @ac_ct_CC@ | ||
591 | 345 | ac_ct_CXX = @ac_ct_CXX@ | ||
592 | 346 | ac_ct_F77 = @ac_ct_F77@ | ||
593 | 347 | am__include = @am__include@ | ||
594 | 348 | am__leading_dot = @am__leading_dot@ | ||
595 | 349 | am__quote = @am__quote@ | ||
596 | 350 | am__tar = @am__tar@ | ||
597 | 351 | am__untar = @am__untar@ | ||
598 | 352 | bindir = @bindir@ | ||
599 | 353 | build = @build@ | ||
600 | 354 | build_alias = @build_alias@ | ||
601 | 355 | build_cpu = @build_cpu@ | ||
602 | 356 | build_os = @build_os@ | ||
603 | 357 | build_vendor = @build_vendor@ | ||
604 | 358 | builddir = @builddir@ | ||
605 | 359 | datadir = @datadir@ | ||
606 | 360 | datarootdir = @datarootdir@ | ||
607 | 361 | |||
608 | 362 | # docdir defines where the documentation goes | ||
609 | 363 | docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) | ||
610 | 364 | dvidir = @dvidir@ | ||
611 | 365 | exec_prefix = @exec_prefix@ | ||
612 | 366 | host = @host@ | ||
613 | 367 | host_alias = @host_alias@ | ||
614 | 368 | host_cpu = @host_cpu@ | ||
615 | 369 | host_os = @host_os@ | ||
616 | 370 | host_vendor = @host_vendor@ | ||
617 | 371 | htmldir = @htmldir@ | ||
618 | 372 | includedir = @includedir@ | ||
619 | 373 | infodir = @infodir@ | ||
620 | 374 | install_sh = @install_sh@ | ||
621 | 375 | libdir = @libdir@ | ||
622 | 376 | libexecdir = @libexecdir@ | ||
623 | 377 | localedir = @localedir@ | ||
624 | 378 | localstatedir = @localstatedir@ | ||
625 | 379 | mandir = @mandir@ | ||
626 | 380 | mkdir_p = @mkdir_p@ | ||
627 | 381 | oldincludedir = @oldincludedir@ | ||
628 | 382 | pdfdir = @pdfdir@ | ||
629 | 383 | prefix = @prefix@ | ||
630 | 384 | program_transform_name = @program_transform_name@ | ||
631 | 385 | psdir = @psdir@ | ||
632 | 386 | sbindir = @sbindir@ | ||
633 | 387 | sharedstatedir = @sharedstatedir@ | ||
634 | 388 | srcdir = @srcdir@ | ||
635 | 389 | sysconfdir = @sysconfdir@ | ||
636 | 390 | target_alias = @target_alias@ | ||
637 | 391 | top_builddir = @top_builddir@ | ||
638 | 392 | top_srcdir = @top_srcdir@ | ||
639 | 393 | |||
640 | 394 | # SBLIM Include Directory | ||
641 | 395 | sblimincdir = $(includedir)/sblim | ||
642 | 396 | |||
643 | 397 | # Start from an empty extra distribution file list | ||
644 | 398 | |||
645 | 399 | # We must explicity add the RPM spec file to the distribution package | ||
646 | 400 | |||
647 | 401 | # | ||
648 | 402 | # Automake instructions for ./test subdir | ||
649 | 403 | # | ||
650 | 404 | EXTRA_DIST = README.INDICATION README.tog-pegasus DEBUG \ | ||
651 | 405 | $(PACKAGE).spec $(PACKAGE).rh.spec mof $(pkgdata_SCRIPTS) test \ | ||
652 | 406 | README.TEST | ||
653 | 407 | |||
654 | 408 | # | ||
655 | 409 | # Automake instructions for documentation | ||
656 | 410 | # | ||
657 | 411 | |||
658 | 412 | # ADD EXTRA DOC FILES IF PRESENT | ||
659 | 413 | doc_DATA = README AUTHORS COPYING README.INDICATION README.tog-pegasus \ | ||
660 | 414 | DEBUG $(am__append_1) | ||
661 | 415 | |||
662 | 416 | # providerdir defines where provider libraries will be installed (@PROVIDERDIR@ is set by the configure script). | ||
663 | 417 | providerdir = @PROVIDERDIR@ | ||
664 | 418 | |||
665 | 419 | # | ||
666 | 420 | # Automake instructions for main dir | ||
667 | 421 | # | ||
668 | 422 | |||
669 | 423 | # OSBase CMPI provider libraries | ||
670 | 424 | provider_LTLIBRARIES = libcmpiOSBase_ComputerSystemProvider.la \ | ||
671 | 425 | libcmpiOSBase_OperatingSystemProvider.la \ | ||
672 | 426 | libcmpiOSBase_OperatingSystemStatisticalDataProvider.la \ | ||
673 | 427 | libcmpiOSBase_UnixProcessProvider.la \ | ||
674 | 428 | libcmpiOSBase_ProcessorProvider.la \ | ||
675 | 429 | libcmpiOSBase_BaseBoardProvider.la \ | ||
676 | 430 | libcmpiOSBase_RunningOSProvider.la \ | ||
677 | 431 | libcmpiOSBase_OSProcessProvider.la \ | ||
678 | 432 | libcmpiOSBase_OperatingSystemStatisticsProvider.la \ | ||
679 | 433 | libcmpiOSBase_CSProcessorProvider.la \ | ||
680 | 434 | libcmpiOSBase_CSBaseBoardProvider.la | ||
681 | 435 | |||
682 | 436 | |||
683 | 437 | # Computer System | ||
684 | 438 | libcmpiOSBase_ComputerSystemProvider_la_SOURCES = \ | ||
685 | 439 | cmpiOSBase_ComputerSystemProvider.c \ | ||
686 | 440 | cmpiOSBase_ComputerSystem.c \ | ||
687 | 441 | OSBase_ComputerSystem.c | ||
688 | 442 | |||
689 | 443 | libcmpiOSBase_ComputerSystemProvider_la_LIBADD = -lcmpiOSBase_Common | ||
690 | 444 | libcmpiOSBase_ComputerSystemProvider_la_LDFLAGS = -avoid-version | ||
691 | 445 | |||
692 | 446 | # Operating System | ||
693 | 447 | libcmpiOSBase_OperatingSystemProvider_la_SOURCES = \ | ||
694 | 448 | cmpiOSBase_OperatingSystemProvider.c \ | ||
695 | 449 | cmpiOSBase_OperatingSystem.c \ | ||
696 | 450 | OSBase_OperatingSystem.c | ||
697 | 451 | |||
698 | 452 | libcmpiOSBase_OperatingSystemProvider_la_LIBADD = -lcmpiOSBase_Common \ | ||
699 | 453 | -ldmiinfo @LINDHELP@ | ||
700 | 454 | |||
701 | 455 | # This gcc/ld specific flag is ugly - need to check in configure | ||
702 | 456 | libcmpiOSBase_OperatingSystemProvider_la_LDFLAGS = -avoid-version | ||
703 | 457 | |||
704 | 458 | # Operating System Statistical Data | ||
705 | 459 | libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES = \ | ||
706 | 460 | cmpiOSBase_OperatingSystemStatisticalDataProvider.c \ | ||
707 | 461 | cmpiOSBase_OperatingSystemStatisticalData.c \ | ||
708 | 462 | OSBase_OperatingSystemStatisticalData.c | ||
709 | 463 | |||
710 | 464 | libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LIBADD = -lcmpiOSBase_Common | ||
711 | 465 | libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LDFLAGS = -avoid-version | ||
712 | 466 | |||
713 | 467 | # Unix Process | ||
714 | 468 | libcmpiOSBase_UnixProcessProvider_la_SOURCES = \ | ||
715 | 469 | cmpiOSBase_UnixProcessProvider.c \ | ||
716 | 470 | cmpiOSBase_UnixProcess.c \ | ||
717 | 471 | OSBase_UnixProcess.c | ||
718 | 472 | |||
719 | 473 | libcmpiOSBase_UnixProcessProvider_la_LIBADD = -lcmpiOSBase_Common | ||
720 | 474 | libcmpiOSBase_UnixProcessProvider_la_LDFLAGS = -avoid-version | ||
721 | 475 | |||
722 | 476 | # Processor | ||
723 | 477 | libcmpiOSBase_ProcessorProvider_la_SOURCES = \ | ||
724 | 478 | cmpiOSBase_ProcessorProvider.c \ | ||
725 | 479 | cmpiOSBase_Processor.c \ | ||
726 | 480 | OSBase_Processor.c | ||
727 | 481 | |||
728 | 482 | libcmpiOSBase_ProcessorProvider_la_LIBADD = -lcmpiOSBase_Common | ||
729 | 483 | libcmpiOSBase_ProcessorProvider_la_LDFLAGS = -avoid-version | ||
730 | 484 | |||
731 | 485 | # Base Board | ||
732 | 486 | libcmpiOSBase_BaseBoardProvider_la_SOURCES = \ | ||
733 | 487 | cmpiOSBase_BaseBoardProvider.c \ | ||
734 | 488 | cmpiOSBase_BaseBoard.c \ | ||
735 | 489 | OSBase_BaseBoard.c | ||
736 | 490 | |||
737 | 491 | libcmpiOSBase_BaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common -ldmiinfo | ||
738 | 492 | libcmpiOSBase_BaseBoardProvider_la_LDFLAGS = -avoid-version | ||
739 | 493 | libcmpiOSBase_RunningOSProvider_la_SOURCES = cmpiOSBase_RunningOSProvider.c | ||
740 | 494 | libcmpiOSBase_RunningOSProvider_la_LIBADD = -lcmpiOSBase_Common | ||
741 | 495 | libcmpiOSBase_RunningOSProvider_la_LDFLAGS = -avoid-version | ||
742 | 496 | libcmpiOSBase_OSProcessProvider_la_SOURCES = cmpiOSBase_OSProcessProvider.c | ||
743 | 497 | libcmpiOSBase_OSProcessProvider_la_LIBADD = -lcmpiOSBase_Common | ||
744 | 498 | libcmpiOSBase_OSProcessProvider_la_LDFLAGS = -avoid-version | ||
745 | 499 | libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES = cmpiOSBase_OperatingSystemStatisticsProvider.c | ||
746 | 500 | libcmpiOSBase_OperatingSystemStatisticsProvider_la_LIBADD = -lcmpiOSBase_Common | ||
747 | 501 | libcmpiOSBase_OperatingSystemStatisticsProvider_la_LDFLAGS = -avoid-version | ||
748 | 502 | libcmpiOSBase_CSProcessorProvider_la_SOURCES = cmpiOSBase_CSProcessorProvider.c | ||
749 | 503 | libcmpiOSBase_CSProcessorProvider_la_LIBADD = -lcmpiOSBase_Common | ||
750 | 504 | libcmpiOSBase_CSProcessorProvider_la_LDFLAGS = -avoid-version | ||
751 | 505 | libcmpiOSBase_CSBaseBoardProvider_la_SOURCES = cmpiOSBase_CSBaseBoardProvider.c | ||
752 | 506 | libcmpiOSBase_CSBaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common | ||
753 | 507 | libcmpiOSBase_CSBaseBoardProvider_la_LDFLAGS = -avoid-version | ||
754 | 508 | |||
755 | 509 | # OSBase support utility libraries | ||
756 | 510 | lib_LTLIBRARIES = libcmpiOSBase_Common.la libdmiinfo.la | ||
757 | 511 | libcmpiOSBase_Common_la_SOURCES = OSBase_Common.c cmpiOSBase_Common.c | ||
758 | 512 | # This gcc/ld specific flag is ugly - need to check in configure | ||
759 | 513 | libcmpiOSBase_Common_la_LDFLAGS = -Wc | ||
760 | 514 | libdmiinfo_la_SOURCES = dmiinfo.c dmiinfo.h dmifind.h | ||
761 | 515 | dmitest_SOURCES = dmitest.c | ||
762 | 516 | dmitest_LDADD = -ldmiinfo | ||
763 | 517 | |||
764 | 518 | # Installable Header Files | ||
765 | 519 | sbliminc_HEADERS = OSBase_Common.h cmpiOSBase_Common.h \ | ||
766 | 520 | OSBase_UnixProcess.h cmpiOSBase_UnixProcess.h | ||
767 | 521 | |||
768 | 522 | |||
769 | 523 | # Non-Installable Header Files | ||
770 | 524 | noinst_HEADERS = OSBase_ComputerSystem.h \ | ||
771 | 525 | OSBase_OperatingSystem.h \ | ||
772 | 526 | OSBase_OperatingSystemStatisticalData.h \ | ||
773 | 527 | OSBase_Processor.h \ | ||
774 | 528 | OSBase_BaseBoard.h \ | ||
775 | 529 | cmpiOSBase_Util.h \ | ||
776 | 530 | cmpiOSBase_ComputerSystem.h \ | ||
777 | 531 | cmpiOSBase_OperatingSystem.h \ | ||
778 | 532 | cmpiOSBase_OperatingSystemStatisticalData.h \ | ||
779 | 533 | cmpiOSBase_Processor.h \ | ||
780 | 534 | cmpiOSBase_BaseBoard.h | ||
781 | 535 | |||
782 | 536 | @NOEVENTS_FALSE@SCHEMAS = $(srcdir)/mof/Linux_Base.mof $(srcdir)/mof/Linux_BaseIndication.mof | ||
783 | 537 | |||
784 | 538 | # | ||
785 | 539 | # Automake instructions for ./mof subdir | ||
786 | 540 | # | ||
787 | 541 | @NOEVENTS_TRUE@SCHEMAS = $(srcdir)/mof/Linux_Base.mof | ||
788 | 542 | @NOEVENTS_FALSE@REGISTRATIONS = $(srcdir)/mof/Linux_BaseIndication.registration | ||
789 | 543 | @NOEVENTS_TRUE@REGISTRATIONS = $(srcdir)/mof/Linux_Base.registration | ||
790 | 544 | |||
791 | 545 | # We must explicity add all the schema files to the distribution package | ||
792 | 546 | pkgdata_DATA = $(SCHEMAS) $(REGISTRATIONS) | ||
793 | 547 | pkgdata_SCRIPTS = provider-register.sh | ||
794 | 548 | @TESTSUITE_TRUE@testsuitedir = @TESTSUITEDIR@ | ||
795 | 549 | @TESTSUITE_TRUE@testsuitesystemdir = @TESTSUITEDIR@/system/linux | ||
796 | 550 | @TESTSUITE_TRUE@testsuitecimdir = @TESTSUITEDIR@/cim | ||
797 | 551 | @TESTSUITE_TRUE@testsuite_SCRIPTS = test/test-cmpi-base.sh | ||
798 | 552 | @TESTSUITE_TRUE@testsuitesystem_DATA = test/system/linux/Linux_CSProcessor.system \ | ||
799 | 553 | @TESTSUITE_TRUE@ test/system/linux/Linux_ComputerSystem.system \ | ||
800 | 554 | @TESTSUITE_TRUE@ test/system/linux/Linux_OSProcess.system \ | ||
801 | 555 | @TESTSUITE_TRUE@ test/system/linux/Linux_OperatingSystem.system \ | ||
802 | 556 | @TESTSUITE_TRUE@ test/system/linux/Linux_Processor.system \ | ||
803 | 557 | @TESTSUITE_TRUE@ test/system/linux/Linux_OperatingSystemStatisticalData.system \ | ||
804 | 558 | @TESTSUITE_TRUE@ test/system/linux/Linux_OperatingSystemStatistics.system \ | ||
805 | 559 | @TESTSUITE_TRUE@ test/system/linux/Linux_RunningOS.system \ | ||
806 | 560 | @TESTSUITE_TRUE@ test/system/linux/Linux_UnixProcess.system \ | ||
807 | 561 | @TESTSUITE_TRUE@ test/system/linux/Linux_BaseBoard.system \ | ||
808 | 562 | @TESTSUITE_TRUE@ test/system/linux/Linux_CSBaseBoard.system | ||
809 | 563 | |||
810 | 564 | @TESTSUITE_TRUE@testsuitesystem_SCRIPTS = test/system/linux/Linux_OperatingSystem.version.sh \ | ||
811 | 565 | @TESTSUITE_TRUE@ test/system/linux/Linux_Processor.pl \ | ||
812 | 566 | @TESTSUITE_TRUE@ test/system/linux/Linux_UnixProcess.pl \ | ||
813 | 567 | @TESTSUITE_TRUE@ test/system/linux/createKeyFiles.sh | ||
814 | 568 | |||
815 | 569 | @TESTSUITE_TRUE@testsuitecim_DATA = test/cim/Linux_CSProcessor.cim \ | ||
816 | 570 | @TESTSUITE_TRUE@ test/cim/Linux_ComputerSystem.cim \ | ||
817 | 571 | @TESTSUITE_TRUE@ test/cim/Linux_OSProcess.cim \ | ||
818 | 572 | @TESTSUITE_TRUE@ test/cim/Linux_OperatingSystem.cim \ | ||
819 | 573 | @TESTSUITE_TRUE@ test/cim/Linux_OperatingSystemStatisticalData.cim \ | ||
820 | 574 | @TESTSUITE_TRUE@ test/cim/Linux_OperatingSystemStatistics.cim \ | ||
821 | 575 | @TESTSUITE_TRUE@ test/cim/Linux_Processor.cim \ | ||
822 | 576 | @TESTSUITE_TRUE@ test/cim/Linux_RunningOS.cim \ | ||
823 | 577 | @TESTSUITE_TRUE@ test/cim/Linux_UnixProcess.cim \ | ||
824 | 578 | @TESTSUITE_TRUE@ test/cim/Linux_BaseBoard.cim \ | ||
825 | 579 | @TESTSUITE_TRUE@ test/cim/Linux_CSBaseBoard.cim | ||
826 | 580 | |||
827 | 581 | all: config.h | ||
828 | 582 | $(MAKE) $(AM_MAKEFLAGS) all-am | ||
829 | 583 | |||
830 | 584 | .SUFFIXES: | ||
831 | 585 | .SUFFIXES: .c .lo .o .obj | ||
832 | 586 | am--refresh: | ||
833 | 587 | @: | ||
834 | 588 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
835 | 589 | @for dep in $?; do \ | ||
836 | 590 | case '$(am__configure_deps)' in \ | ||
837 | 591 | *$$dep*) \ | ||
838 | 592 | echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ | ||
839 | 593 | cd $(srcdir) && $(AUTOMAKE) --gnu \ | ||
840 | 594 | && exit 0; \ | ||
841 | 595 | exit 1;; \ | ||
842 | 596 | esac; \ | ||
843 | 597 | done; \ | ||
844 | 598 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ | ||
845 | 599 | cd $(top_srcdir) && \ | ||
846 | 600 | $(AUTOMAKE) --gnu Makefile | ||
847 | 601 | .PRECIOUS: Makefile | ||
848 | 602 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
849 | 603 | @case '$?' in \ | ||
850 | 604 | *config.status*) \ | ||
851 | 605 | echo ' $(SHELL) ./config.status'; \ | ||
852 | 606 | $(SHELL) ./config.status;; \ | ||
853 | 607 | *) \ | ||
854 | 608 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | ||
855 | 609 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | ||
856 | 610 | esac; | ||
857 | 611 | |||
858 | 612 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
859 | 613 | $(SHELL) ./config.status --recheck | ||
860 | 614 | |||
861 | 615 | $(top_srcdir)/configure: $(am__configure_deps) | ||
862 | 616 | cd $(srcdir) && $(AUTOCONF) | ||
863 | 617 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
864 | 618 | cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | ||
865 | 619 | |||
866 | 620 | config.h: stamp-h1 | ||
867 | 621 | @if test ! -f $@; then \ | ||
868 | 622 | rm -f stamp-h1; \ | ||
869 | 623 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | ||
870 | 624 | else :; fi | ||
871 | 625 | |||
872 | 626 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status | ||
873 | 627 | @rm -f stamp-h1 | ||
874 | 628 | cd $(top_builddir) && $(SHELL) ./config.status config.h | ||
875 | 629 | $(srcdir)/config.h.in: $(am__configure_deps) | ||
876 | 630 | cd $(top_srcdir) && $(AUTOHEADER) | ||
877 | 631 | rm -f stamp-h1 | ||
878 | 632 | touch $@ | ||
879 | 633 | |||
880 | 634 | distclean-hdr: | ||
881 | 635 | -rm -f config.h stamp-h1 | ||
882 | 636 | sblim-cmpi-base.spec: $(top_builddir)/config.status $(srcdir)/sblim-cmpi-base.spec.in | ||
883 | 637 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
884 | 638 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) | ||
885 | 639 | @$(NORMAL_INSTALL) | ||
886 | 640 | test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" | ||
887 | 641 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | ||
888 | 642 | if test -f $$p; then \ | ||
889 | 643 | f=$(am__strip_dir) \ | ||
890 | 644 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ | ||
891 | 645 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ | ||
892 | 646 | else :; fi; \ | ||
893 | 647 | done | ||
894 | 648 | |||
895 | 649 | uninstall-libLTLIBRARIES: | ||
896 | 650 | @$(NORMAL_UNINSTALL) | ||
897 | 651 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | ||
898 | 652 | p=$(am__strip_dir) \ | ||
899 | 653 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ | ||
900 | 654 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ | ||
901 | 655 | done | ||
902 | 656 | |||
903 | 657 | clean-libLTLIBRARIES: | ||
904 | 658 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | ||
905 | 659 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | ||
906 | 660 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
907 | 661 | test "$$dir" != "$$p" || dir=.; \ | ||
908 | 662 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
909 | 663 | rm -f "$${dir}/so_locations"; \ | ||
910 | 664 | done | ||
911 | 665 | install-providerLTLIBRARIES: $(provider_LTLIBRARIES) | ||
912 | 666 | @$(NORMAL_INSTALL) | ||
913 | 667 | test -z "$(providerdir)" || $(MKDIR_P) "$(DESTDIR)$(providerdir)" | ||
914 | 668 | @list='$(provider_LTLIBRARIES)'; for p in $$list; do \ | ||
915 | 669 | if test -f $$p; then \ | ||
916 | 670 | f=$(am__strip_dir) \ | ||
917 | 671 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(providerdir)/$$f'"; \ | ||
918 | 672 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(providerdir)/$$f"; \ | ||
919 | 673 | else :; fi; \ | ||
920 | 674 | done | ||
921 | 675 | |||
922 | 676 | uninstall-providerLTLIBRARIES: | ||
923 | 677 | @$(NORMAL_UNINSTALL) | ||
924 | 678 | @list='$(provider_LTLIBRARIES)'; for p in $$list; do \ | ||
925 | 679 | p=$(am__strip_dir) \ | ||
926 | 680 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(providerdir)/$$p'"; \ | ||
927 | 681 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(providerdir)/$$p"; \ | ||
928 | 682 | done | ||
929 | 683 | |||
930 | 684 | clean-providerLTLIBRARIES: | ||
931 | 685 | -test -z "$(provider_LTLIBRARIES)" || rm -f $(provider_LTLIBRARIES) | ||
932 | 686 | @list='$(provider_LTLIBRARIES)'; for p in $$list; do \ | ||
933 | 687 | dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
934 | 688 | test "$$dir" != "$$p" || dir=.; \ | ||
935 | 689 | echo "rm -f \"$${dir}/so_locations\""; \ | ||
936 | 690 | rm -f "$${dir}/so_locations"; \ | ||
937 | 691 | done | ||
938 | 692 | libcmpiOSBase_BaseBoardProvider.la: $(libcmpiOSBase_BaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES) | ||
939 | 693 | $(libcmpiOSBase_BaseBoardProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_BaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_BaseBoardProvider_la_LIBADD) $(LIBS) | ||
940 | 694 | libcmpiOSBase_CSBaseBoardProvider.la: $(libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_CSBaseBoardProvider_la_DEPENDENCIES) | ||
941 | 695 | $(libcmpiOSBase_CSBaseBoardProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_CSBaseBoardProvider_la_LIBADD) $(LIBS) | ||
942 | 696 | libcmpiOSBase_CSProcessorProvider.la: $(libcmpiOSBase_CSProcessorProvider_la_OBJECTS) $(libcmpiOSBase_CSProcessorProvider_la_DEPENDENCIES) | ||
943 | 697 | $(libcmpiOSBase_CSProcessorProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_CSProcessorProvider_la_OBJECTS) $(libcmpiOSBase_CSProcessorProvider_la_LIBADD) $(LIBS) | ||
944 | 698 | libcmpiOSBase_Common.la: $(libcmpiOSBase_Common_la_OBJECTS) $(libcmpiOSBase_Common_la_DEPENDENCIES) | ||
945 | 699 | $(libcmpiOSBase_Common_la_LINK) -rpath $(libdir) $(libcmpiOSBase_Common_la_OBJECTS) $(libcmpiOSBase_Common_la_LIBADD) $(LIBS) | ||
946 | 700 | libcmpiOSBase_ComputerSystemProvider.la: $(libcmpiOSBase_ComputerSystemProvider_la_OBJECTS) $(libcmpiOSBase_ComputerSystemProvider_la_DEPENDENCIES) | ||
947 | 701 | $(libcmpiOSBase_ComputerSystemProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_ComputerSystemProvider_la_OBJECTS) $(libcmpiOSBase_ComputerSystemProvider_la_LIBADD) $(LIBS) | ||
948 | 702 | libcmpiOSBase_OSProcessProvider.la: $(libcmpiOSBase_OSProcessProvider_la_OBJECTS) $(libcmpiOSBase_OSProcessProvider_la_DEPENDENCIES) | ||
949 | 703 | $(libcmpiOSBase_OSProcessProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OSProcessProvider_la_OBJECTS) $(libcmpiOSBase_OSProcessProvider_la_LIBADD) $(LIBS) | ||
950 | 704 | libcmpiOSBase_OperatingSystemProvider.la: $(libcmpiOSBase_OperatingSystemProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemProvider_la_DEPENDENCIES) | ||
951 | 705 | $(libcmpiOSBase_OperatingSystemProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OperatingSystemProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemProvider_la_LIBADD) $(LIBS) | ||
952 | 706 | libcmpiOSBase_OperatingSystemStatisticalDataProvider.la: $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_DEPENDENCIES) | ||
953 | 707 | $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LIBADD) $(LIBS) | ||
954 | 708 | libcmpiOSBase_OperatingSystemStatisticsProvider.la: $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_DEPENDENCIES) | ||
955 | 709 | $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_LIBADD) $(LIBS) | ||
956 | 710 | libcmpiOSBase_ProcessorProvider.la: $(libcmpiOSBase_ProcessorProvider_la_OBJECTS) $(libcmpiOSBase_ProcessorProvider_la_DEPENDENCIES) | ||
957 | 711 | $(libcmpiOSBase_ProcessorProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_ProcessorProvider_la_OBJECTS) $(libcmpiOSBase_ProcessorProvider_la_LIBADD) $(LIBS) | ||
958 | 712 | libcmpiOSBase_RunningOSProvider.la: $(libcmpiOSBase_RunningOSProvider_la_OBJECTS) $(libcmpiOSBase_RunningOSProvider_la_DEPENDENCIES) | ||
959 | 713 | $(libcmpiOSBase_RunningOSProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_RunningOSProvider_la_OBJECTS) $(libcmpiOSBase_RunningOSProvider_la_LIBADD) $(LIBS) | ||
960 | 714 | libcmpiOSBase_UnixProcessProvider.la: $(libcmpiOSBase_UnixProcessProvider_la_OBJECTS) $(libcmpiOSBase_UnixProcessProvider_la_DEPENDENCIES) | ||
961 | 715 | $(libcmpiOSBase_UnixProcessProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_UnixProcessProvider_la_OBJECTS) $(libcmpiOSBase_UnixProcessProvider_la_LIBADD) $(LIBS) | ||
962 | 716 | libdmiinfo.la: $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_DEPENDENCIES) | ||
963 | 717 | $(LINK) -rpath $(libdir) $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_LIBADD) $(LIBS) | ||
964 | 718 | |||
965 | 719 | clean-noinstPROGRAMS: | ||
966 | 720 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ | ||
967 | 721 | f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ | ||
968 | 722 | echo " rm -f $$p $$f"; \ | ||
969 | 723 | rm -f $$p $$f ; \ | ||
970 | 724 | done | ||
971 | 725 | dmitest$(EXEEXT): $(dmitest_OBJECTS) $(dmitest_DEPENDENCIES) | ||
972 | 726 | @rm -f dmitest$(EXEEXT) | ||
973 | 727 | $(LINK) $(dmitest_OBJECTS) $(dmitest_LDADD) $(LIBS) | ||
974 | 728 | install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS) | ||
975 | 729 | @$(NORMAL_INSTALL) | ||
976 | 730 | test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" | ||
977 | 731 | @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ | ||
978 | 732 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
979 | 733 | if test -f $$d$$p; then \ | ||
980 | 734 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | ||
981 | 735 | echo " $(pkgdataSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ | ||
982 | 736 | $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ | ||
983 | 737 | else :; fi; \ | ||
984 | 738 | done | ||
985 | 739 | |||
986 | 740 | uninstall-pkgdataSCRIPTS: | ||
987 | 741 | @$(NORMAL_UNINSTALL) | ||
988 | 742 | @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ | ||
989 | 743 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | ||
990 | 744 | echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ | ||
991 | 745 | rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ | ||
992 | 746 | done | ||
993 | 747 | install-testsuiteSCRIPTS: $(testsuite_SCRIPTS) | ||
994 | 748 | @$(NORMAL_INSTALL) | ||
995 | 749 | test -z "$(testsuitedir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitedir)" | ||
996 | 750 | @list='$(testsuite_SCRIPTS)'; for p in $$list; do \ | ||
997 | 751 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
998 | 752 | if test -f $$d$$p; then \ | ||
999 | 753 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | ||
1000 | 754 | echo " $(testsuiteSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitedir)/$$f'"; \ | ||
1001 | 755 | $(testsuiteSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitedir)/$$f"; \ | ||
1002 | 756 | else :; fi; \ | ||
1003 | 757 | done | ||
1004 | 758 | |||
1005 | 759 | uninstall-testsuiteSCRIPTS: | ||
1006 | 760 | @$(NORMAL_UNINSTALL) | ||
1007 | 761 | @list='$(testsuite_SCRIPTS)'; for p in $$list; do \ | ||
1008 | 762 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | ||
1009 | 763 | echo " rm -f '$(DESTDIR)$(testsuitedir)/$$f'"; \ | ||
1010 | 764 | rm -f "$(DESTDIR)$(testsuitedir)/$$f"; \ | ||
1011 | 765 | done | ||
1012 | 766 | install-testsuitesystemSCRIPTS: $(testsuitesystem_SCRIPTS) | ||
1013 | 767 | @$(NORMAL_INSTALL) | ||
1014 | 768 | test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)" | ||
1015 | 769 | @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \ | ||
1016 | 770 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
1017 | 771 | if test -f $$d$$p; then \ | ||
1018 | 772 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | ||
1019 | 773 | echo " $(testsuitesystemSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ | ||
1020 | 774 | $(testsuitesystemSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ | ||
1021 | 775 | else :; fi; \ | ||
1022 | 776 | done | ||
1023 | 777 | |||
1024 | 778 | uninstall-testsuitesystemSCRIPTS: | ||
1025 | 779 | @$(NORMAL_UNINSTALL) | ||
1026 | 780 | @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \ | ||
1027 | 781 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | ||
1028 | 782 | echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ | ||
1029 | 783 | rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ | ||
1030 | 784 | done | ||
1031 | 785 | |||
1032 | 786 | mostlyclean-compile: | ||
1033 | 787 | -rm -f *.$(OBJEXT) | ||
1034 | 788 | |||
1035 | 789 | distclean-compile: | ||
1036 | 790 | -rm -f *.tab.c | ||
1037 | 791 | |||
1038 | 792 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_BaseBoard.Plo@am__quote@ | ||
1039 | 793 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_Common.Plo@am__quote@ | ||
1040 | 794 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_ComputerSystem.Plo@am__quote@ | ||
1041 | 795 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_OperatingSystem.Plo@am__quote@ | ||
1042 | 796 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_OperatingSystemStatisticalData.Plo@am__quote@ | ||
1043 | 797 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_Processor.Plo@am__quote@ | ||
1044 | 798 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_UnixProcess.Plo@am__quote@ | ||
1045 | 799 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_BaseBoard.Plo@am__quote@ | ||
1046 | 800 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_BaseBoardProvider.Plo@am__quote@ | ||
1047 | 801 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_CSBaseBoardProvider.Plo@am__quote@ | ||
1048 | 802 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_CSProcessorProvider.Plo@am__quote@ | ||
1049 | 803 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_Common.Plo@am__quote@ | ||
1050 | 804 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_ComputerSystem.Plo@am__quote@ | ||
1051 | 805 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_ComputerSystemProvider.Plo@am__quote@ | ||
1052 | 806 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OSProcessProvider.Plo@am__quote@ | ||
1053 | 807 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystem.Plo@am__quote@ | ||
1054 | 808 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemProvider.Plo@am__quote@ | ||
1055 | 809 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemStatisticalData.Plo@am__quote@ | ||
1056 | 810 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemStatisticalDataProvider.Plo@am__quote@ | ||
1057 | 811 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemStatisticsProvider.Plo@am__quote@ | ||
1058 | 812 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_Processor.Plo@am__quote@ | ||
1059 | 813 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_ProcessorProvider.Plo@am__quote@ | ||
1060 | 814 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_RunningOSProvider.Plo@am__quote@ | ||
1061 | 815 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_UnixProcess.Plo@am__quote@ | ||
1062 | 816 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_UnixProcessProvider.Plo@am__quote@ | ||
1063 | 817 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dmiinfo.Plo@am__quote@ | ||
1064 | 818 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dmitest.Po@am__quote@ | ||
1065 | 819 | |||
1066 | 820 | .c.o: | ||
1067 | 821 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
1068 | 822 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
1069 | 823 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
1070 | 824 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
1071 | 825 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
1072 | 826 | |||
1073 | 827 | .c.obj: | ||
1074 | 828 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
1075 | 829 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
1076 | 830 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
1077 | 831 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
1078 | 832 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
1079 | 833 | |||
1080 | 834 | .c.lo: | ||
1081 | 835 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
1082 | 836 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
1083 | 837 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
1084 | 838 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
1085 | 839 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
1086 | 840 | |||
1087 | 841 | mostlyclean-libtool: | ||
1088 | 842 | -rm -f *.lo | ||
1089 | 843 | |||
1090 | 844 | clean-libtool: | ||
1091 | 845 | -rm -rf .libs _libs | ||
1092 | 846 | |||
1093 | 847 | distclean-libtool: | ||
1094 | 848 | -rm -f libtool | ||
1095 | 849 | install-docDATA: $(doc_DATA) | ||
1096 | 850 | @$(NORMAL_INSTALL) | ||
1097 | 851 | test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" | ||
1098 | 852 | @list='$(doc_DATA)'; for p in $$list; do \ | ||
1099 | 853 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
1100 | 854 | f=$(am__strip_dir) \ | ||
1101 | 855 | echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ | ||
1102 | 856 | $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ | ||
1103 | 857 | done | ||
1104 | 858 | |||
1105 | 859 | uninstall-docDATA: | ||
1106 | 860 | @$(NORMAL_UNINSTALL) | ||
1107 | 861 | @list='$(doc_DATA)'; for p in $$list; do \ | ||
1108 | 862 | f=$(am__strip_dir) \ | ||
1109 | 863 | echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ | ||
1110 | 864 | rm -f "$(DESTDIR)$(docdir)/$$f"; \ | ||
1111 | 865 | done | ||
1112 | 866 | install-pkgdataDATA: $(pkgdata_DATA) | ||
1113 | 867 | @$(NORMAL_INSTALL) | ||
1114 | 868 | test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" | ||
1115 | 869 | @list='$(pkgdata_DATA)'; for p in $$list; do \ | ||
1116 | 870 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
1117 | 871 | f=$(am__strip_dir) \ | ||
1118 | 872 | echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ | ||
1119 | 873 | $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ | ||
1120 | 874 | done | ||
1121 | 875 | |||
1122 | 876 | uninstall-pkgdataDATA: | ||
1123 | 877 | @$(NORMAL_UNINSTALL) | ||
1124 | 878 | @list='$(pkgdata_DATA)'; for p in $$list; do \ | ||
1125 | 879 | f=$(am__strip_dir) \ | ||
1126 | 880 | echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ | ||
1127 | 881 | rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ | ||
1128 | 882 | done | ||
1129 | 883 | install-testsuitecimDATA: $(testsuitecim_DATA) | ||
1130 | 884 | @$(NORMAL_INSTALL) | ||
1131 | 885 | test -z "$(testsuitecimdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitecimdir)" | ||
1132 | 886 | @list='$(testsuitecim_DATA)'; for p in $$list; do \ | ||
1133 | 887 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
1134 | 888 | f=$(am__strip_dir) \ | ||
1135 | 889 | echo " $(testsuitecimDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitecimdir)/$$f'"; \ | ||
1136 | 890 | $(testsuitecimDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitecimdir)/$$f"; \ | ||
1137 | 891 | done | ||
1138 | 892 | |||
1139 | 893 | uninstall-testsuitecimDATA: | ||
1140 | 894 | @$(NORMAL_UNINSTALL) | ||
1141 | 895 | @list='$(testsuitecim_DATA)'; for p in $$list; do \ | ||
1142 | 896 | f=$(am__strip_dir) \ | ||
1143 | 897 | echo " rm -f '$(DESTDIR)$(testsuitecimdir)/$$f'"; \ | ||
1144 | 898 | rm -f "$(DESTDIR)$(testsuitecimdir)/$$f"; \ | ||
1145 | 899 | done | ||
1146 | 900 | install-testsuitesystemDATA: $(testsuitesystem_DATA) | ||
1147 | 901 | @$(NORMAL_INSTALL) | ||
1148 | 902 | test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)" | ||
1149 | 903 | @list='$(testsuitesystem_DATA)'; for p in $$list; do \ | ||
1150 | 904 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
1151 | 905 | f=$(am__strip_dir) \ | ||
1152 | 906 | echo " $(testsuitesystemDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ | ||
1153 | 907 | $(testsuitesystemDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ | ||
1154 | 908 | done | ||
1155 | 909 | |||
1156 | 910 | uninstall-testsuitesystemDATA: | ||
1157 | 911 | @$(NORMAL_UNINSTALL) | ||
1158 | 912 | @list='$(testsuitesystem_DATA)'; for p in $$list; do \ | ||
1159 | 913 | f=$(am__strip_dir) \ | ||
1160 | 914 | echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ | ||
1161 | 915 | rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ | ||
1162 | 916 | done | ||
1163 | 917 | install-sblimincHEADERS: $(sbliminc_HEADERS) | ||
1164 | 918 | @$(NORMAL_INSTALL) | ||
1165 | 919 | test -z "$(sblimincdir)" || $(MKDIR_P) "$(DESTDIR)$(sblimincdir)" | ||
1166 | 920 | @list='$(sbliminc_HEADERS)'; for p in $$list; do \ | ||
1167 | 921 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
1168 | 922 | f=$(am__strip_dir) \ | ||
1169 | 923 | echo " $(sblimincHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sblimincdir)/$$f'"; \ | ||
1170 | 924 | $(sblimincHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sblimincdir)/$$f"; \ | ||
1171 | 925 | done | ||
1172 | 926 | |||
1173 | 927 | uninstall-sblimincHEADERS: | ||
1174 | 928 | @$(NORMAL_UNINSTALL) | ||
1175 | 929 | @list='$(sbliminc_HEADERS)'; for p in $$list; do \ | ||
1176 | 930 | f=$(am__strip_dir) \ | ||
1177 | 931 | echo " rm -f '$(DESTDIR)$(sblimincdir)/$$f'"; \ | ||
1178 | 932 | rm -f "$(DESTDIR)$(sblimincdir)/$$f"; \ | ||
1179 | 933 | done | ||
1180 | 934 | |||
1181 | 935 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
1182 | 936 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
1183 | 937 | unique=`for i in $$list; do \ | ||
1184 | 938 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
1185 | 939 | done | \ | ||
1186 | 940 | $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ | ||
1187 | 941 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
1188 | 942 | mkid -fID $$unique | ||
1189 | 943 | tags: TAGS | ||
1190 | 944 | |||
1191 | 945 | TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | ||
1192 | 946 | $(TAGS_FILES) $(LISP) | ||
1193 | 947 | tags=; \ | ||
1194 | 948 | here=`pwd`; \ | ||
1195 | 949 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | ||
1196 | 950 | unique=`for i in $$list; do \ | ||
1197 | 951 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
1198 | 952 | done | \ | ||
1199 | 953 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
1200 | 954 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
1201 | 955 | if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ | ||
1202 | 956 | test -n "$$unique" || unique=$$empty_fix; \ | ||
1203 | 957 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
1204 | 958 | $$tags $$unique; \ | ||
1205 | 959 | fi | ||
1206 | 960 | ctags: CTAGS | ||
1207 | 961 | CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | ||
1208 | 962 | $(TAGS_FILES) $(LISP) | ||
1209 | 963 | tags=; \ | ||
1210 | 964 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | ||
1211 | 965 | unique=`for i in $$list; do \ | ||
1212 | 966 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
1213 | 967 | done | \ | ||
1214 | 968 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
1215 | 969 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
1216 | 970 | test -z "$(CTAGS_ARGS)$$tags$$unique" \ | ||
1217 | 971 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
1218 | 972 | $$tags $$unique | ||
1219 | 973 | |||
1220 | 974 | GTAGS: | ||
1221 | 975 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
1222 | 976 | && cd $(top_srcdir) \ | ||
1223 | 977 | && gtags -i $(GTAGS_ARGS) $$here | ||
1224 | 978 | |||
1225 | 979 | distclean-tags: | ||
1226 | 980 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
1227 | 981 | |||
1228 | 982 | distdir: $(DISTFILES) | ||
1229 | 983 | $(am__remove_distdir) | ||
1230 | 984 | test -d $(distdir) || mkdir $(distdir) | ||
1231 | 985 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
1232 | 986 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
1233 | 987 | list='$(DISTFILES)'; \ | ||
1234 | 988 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
1235 | 989 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
1236 | 990 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
1237 | 991 | case $$dist_files in \ | ||
1238 | 992 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
1239 | 993 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
1240 | 994 | sort -u` ;; \ | ||
1241 | 995 | esac; \ | ||
1242 | 996 | for file in $$dist_files; do \ | ||
1243 | 997 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
1244 | 998 | if test -d $$d/$$file; then \ | ||
1245 | 999 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
1246 | 1000 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
1247 | 1001 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | ||
1248 | 1002 | fi; \ | ||
1249 | 1003 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | ||
1250 | 1004 | else \ | ||
1251 | 1005 | test -f $(distdir)/$$file \ | ||
1252 | 1006 | || cp -p $$d/$$file $(distdir)/$$file \ | ||
1253 | 1007 | || exit 1; \ | ||
1254 | 1008 | fi; \ | ||
1255 | 1009 | done | ||
1256 | 1010 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
1257 | 1011 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ | ||
1258 | 1012 | dist-hook | ||
1259 | 1013 | -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ | ||
1260 | 1014 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ | ||
1261 | 1015 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | ||
1262 | 1016 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | ||
1263 | 1017 | || chmod -R a+r $(distdir) | ||
1264 | 1018 | dist-gzip: distdir | ||
1265 | 1019 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | ||
1266 | 1020 | $(am__remove_distdir) | ||
1267 | 1021 | |||
1268 | 1022 | dist-bzip2: distdir | ||
1269 | 1023 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | ||
1270 | 1024 | $(am__remove_distdir) | ||
1271 | 1025 | |||
1272 | 1026 | dist-lzma: distdir | ||
1273 | 1027 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | ||
1274 | 1028 | $(am__remove_distdir) | ||
1275 | 1029 | |||
1276 | 1030 | dist-tarZ: distdir | ||
1277 | 1031 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | ||
1278 | 1032 | $(am__remove_distdir) | ||
1279 | 1033 | |||
1280 | 1034 | dist-shar: distdir | ||
1281 | 1035 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | ||
1282 | 1036 | $(am__remove_distdir) | ||
1283 | 1037 | |||
1284 | 1038 | dist-zip: distdir | ||
1285 | 1039 | -rm -f $(distdir).zip | ||
1286 | 1040 | zip -rq $(distdir).zip $(distdir) | ||
1287 | 1041 | $(am__remove_distdir) | ||
1288 | 1042 | |||
1289 | 1043 | dist dist-all: distdir | ||
1290 | 1044 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | ||
1291 | 1045 | $(am__remove_distdir) | ||
1292 | 1046 | |||
1293 | 1047 | # This target untars the dist file and tries a VPATH configuration. Then | ||
1294 | 1048 | # it guarantees that the distribution is self-contained by making another | ||
1295 | 1049 | # tarfile. | ||
1296 | 1050 | distcheck: dist | ||
1297 | 1051 | case '$(DIST_ARCHIVES)' in \ | ||
1298 | 1052 | *.tar.gz*) \ | ||
1299 | 1053 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ | ||
1300 | 1054 | *.tar.bz2*) \ | ||
1301 | 1055 | bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ | ||
1302 | 1056 | *.tar.lzma*) \ | ||
1303 | 1057 | unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ | ||
1304 | 1058 | *.tar.Z*) \ | ||
1305 | 1059 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | ||
1306 | 1060 | *.shar.gz*) \ | ||
1307 | 1061 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ | ||
1308 | 1062 | *.zip*) \ | ||
1309 | 1063 | unzip $(distdir).zip ;;\ | ||
1310 | 1064 | esac | ||
1311 | 1065 | chmod -R a-w $(distdir); chmod a+w $(distdir) | ||
1312 | 1066 | mkdir $(distdir)/_build | ||
1313 | 1067 | mkdir $(distdir)/_inst | ||
1314 | 1068 | chmod a-w $(distdir) | ||
1315 | 1069 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ | ||
1316 | 1070 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | ||
1317 | 1071 | && cd $(distdir)/_build \ | ||
1318 | 1072 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | ||
1319 | 1073 | $(DISTCHECK_CONFIGURE_FLAGS) \ | ||
1320 | 1074 | && $(MAKE) $(AM_MAKEFLAGS) \ | ||
1321 | 1075 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | ||
1322 | 1076 | && $(MAKE) $(AM_MAKEFLAGS) check \ | ||
1323 | 1077 | && $(MAKE) $(AM_MAKEFLAGS) install \ | ||
1324 | 1078 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | ||
1325 | 1079 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ | ||
1326 | 1080 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ | ||
1327 | 1081 | distuninstallcheck \ | ||
1328 | 1082 | && chmod -R a-w "$$dc_install_base" \ | ||
1329 | 1083 | && ({ \ | ||
1330 | 1084 | (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ | ||
1331 | 1085 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ | ||
1332 | 1086 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ | ||
1333 | 1087 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ | ||
1334 | 1088 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ | ||
1335 | 1089 | } || { rm -rf "$$dc_destdir"; exit 1; }) \ | ||
1336 | 1090 | && rm -rf "$$dc_destdir" \ | ||
1337 | 1091 | && $(MAKE) $(AM_MAKEFLAGS) dist \ | ||
1338 | 1092 | && rm -rf $(DIST_ARCHIVES) \ | ||
1339 | 1093 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck | ||
1340 | 1094 | $(am__remove_distdir) | ||
1341 | 1095 | @(echo "$(distdir) archives ready for distribution: "; \ | ||
1342 | 1096 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | ||
1343 | 1097 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' | ||
1344 | 1098 | distuninstallcheck: | ||
1345 | 1099 | @cd $(distuninstallcheck_dir) \ | ||
1346 | 1100 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | ||
1347 | 1101 | || { echo "ERROR: files left after uninstall:" ; \ | ||
1348 | 1102 | if test -n "$(DESTDIR)"; then \ | ||
1349 | 1103 | echo " (check DESTDIR support)"; \ | ||
1350 | 1104 | fi ; \ | ||
1351 | 1105 | $(distuninstallcheck_listfiles) ; \ | ||
1352 | 1106 | exit 1; } >&2 | ||
1353 | 1107 | distcleancheck: distclean | ||
1354 | 1108 | @if test '$(srcdir)' = . ; then \ | ||
1355 | 1109 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ | ||
1356 | 1110 | exit 1 ; \ | ||
1357 | 1111 | fi | ||
1358 | 1112 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ | ||
1359 | 1113 | || { echo "ERROR: files left in build directory after distclean:" ; \ | ||
1360 | 1114 | $(distcleancheck_listfiles) ; \ | ||
1361 | 1115 | exit 1; } >&2 | ||
1362 | 1116 | check-am: all-am | ||
1363 | 1117 | check: check-am | ||
1364 | 1118 | all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ | ||
1365 | 1119 | $(HEADERS) config.h | ||
1366 | 1120 | installdirs: | ||
1367 | 1121 | for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(providerdir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitedir)" "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitecimdir)" "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(sblimincdir)"; do \ | ||
1368 | 1122 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
1369 | 1123 | done | ||
1370 | 1124 | install: install-am | ||
1371 | 1125 | install-exec: install-exec-am | ||
1372 | 1126 | install-data: install-data-am | ||
1373 | 1127 | uninstall: uninstall-am | ||
1374 | 1128 | |||
1375 | 1129 | install-am: all-am | ||
1376 | 1130 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
1377 | 1131 | |||
1378 | 1132 | installcheck: installcheck-am | ||
1379 | 1133 | install-strip: | ||
1380 | 1134 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
1381 | 1135 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
1382 | 1136 | `test -z '$(STRIP)' || \ | ||
1383 | 1137 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
1384 | 1138 | mostlyclean-generic: | ||
1385 | 1139 | |||
1386 | 1140 | clean-generic: | ||
1387 | 1141 | |||
1388 | 1142 | distclean-generic: | ||
1389 | 1143 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
1390 | 1144 | |||
1391 | 1145 | maintainer-clean-generic: | ||
1392 | 1146 | @echo "This command is intended for maintainers to use" | ||
1393 | 1147 | @echo "it deletes files that may require special tools to rebuild." | ||
1394 | 1148 | clean: clean-am | ||
1395 | 1149 | |||
1396 | 1150 | clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ | ||
1397 | 1151 | clean-noinstPROGRAMS clean-providerLTLIBRARIES mostlyclean-am | ||
1398 | 1152 | |||
1399 | 1153 | distclean: distclean-am | ||
1400 | 1154 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
1401 | 1155 | -rm -rf ./$(DEPDIR) | ||
1402 | 1156 | -rm -f Makefile | ||
1403 | 1157 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
1404 | 1158 | distclean-hdr distclean-libtool distclean-tags | ||
1405 | 1159 | |||
1406 | 1160 | dvi: dvi-am | ||
1407 | 1161 | |||
1408 | 1162 | dvi-am: | ||
1409 | 1163 | |||
1410 | 1164 | html: html-am | ||
1411 | 1165 | |||
1412 | 1166 | info: info-am | ||
1413 | 1167 | |||
1414 | 1168 | info-am: | ||
1415 | 1169 | |||
1416 | 1170 | install-data-am: install-docDATA install-pkgdataDATA \ | ||
1417 | 1171 | install-pkgdataSCRIPTS install-providerLTLIBRARIES \ | ||
1418 | 1172 | install-sblimincHEADERS install-testsuiteSCRIPTS \ | ||
1419 | 1173 | install-testsuitecimDATA install-testsuitesystemDATA \ | ||
1420 | 1174 | install-testsuitesystemSCRIPTS | ||
1421 | 1175 | |||
1422 | 1176 | install-dvi: install-dvi-am | ||
1423 | 1177 | |||
1424 | 1178 | install-exec-am: install-libLTLIBRARIES | ||
1425 | 1179 | |||
1426 | 1180 | install-html: install-html-am | ||
1427 | 1181 | |||
1428 | 1182 | install-info: install-info-am | ||
1429 | 1183 | |||
1430 | 1184 | install-man: | ||
1431 | 1185 | |||
1432 | 1186 | install-pdf: install-pdf-am | ||
1433 | 1187 | |||
1434 | 1188 | install-ps: install-ps-am | ||
1435 | 1189 | |||
1436 | 1190 | installcheck-am: | ||
1437 | 1191 | |||
1438 | 1192 | maintainer-clean: maintainer-clean-am | ||
1439 | 1193 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
1440 | 1194 | -rm -rf $(top_srcdir)/autom4te.cache | ||
1441 | 1195 | -rm -rf ./$(DEPDIR) | ||
1442 | 1196 | -rm -f Makefile | ||
1443 | 1197 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
1444 | 1198 | |||
1445 | 1199 | mostlyclean: mostlyclean-am | ||
1446 | 1200 | |||
1447 | 1201 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
1448 | 1202 | mostlyclean-libtool | ||
1449 | 1203 | |||
1450 | 1204 | pdf: pdf-am | ||
1451 | 1205 | |||
1452 | 1206 | pdf-am: | ||
1453 | 1207 | |||
1454 | 1208 | ps: ps-am | ||
1455 | 1209 | |||
1456 | 1210 | ps-am: | ||
1457 | 1211 | |||
1458 | 1212 | uninstall-am: uninstall-docDATA uninstall-libLTLIBRARIES \ | ||
1459 | 1213 | uninstall-pkgdataDATA uninstall-pkgdataSCRIPTS \ | ||
1460 | 1214 | uninstall-providerLTLIBRARIES uninstall-sblimincHEADERS \ | ||
1461 | 1215 | uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \ | ||
1462 | 1216 | uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS | ||
1463 | 1217 | |||
1464 | 1218 | .MAKE: install-am install-strip | ||
1465 | 1219 | |||
1466 | 1220 | .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ | ||
1467 | 1221 | clean-generic clean-libLTLIBRARIES clean-libtool \ | ||
1468 | 1222 | clean-noinstPROGRAMS clean-providerLTLIBRARIES ctags dist \ | ||
1469 | 1223 | dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \ | ||
1470 | 1224 | dist-tarZ dist-zip distcheck distclean distclean-compile \ | ||
1471 | 1225 | distclean-generic distclean-hdr distclean-libtool \ | ||
1472 | 1226 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ | ||
1473 | 1227 | dvi-am html html-am info info-am install install-am \ | ||
1474 | 1228 | install-data install-data-am install-docDATA install-dvi \ | ||
1475 | 1229 | install-dvi-am install-exec install-exec-am install-html \ | ||
1476 | 1230 | install-html-am install-info install-info-am \ | ||
1477 | 1231 | install-libLTLIBRARIES install-man install-pdf install-pdf-am \ | ||
1478 | 1232 | install-pkgdataDATA install-pkgdataSCRIPTS \ | ||
1479 | 1233 | install-providerLTLIBRARIES install-ps install-ps-am \ | ||
1480 | 1234 | install-sblimincHEADERS install-strip install-testsuiteSCRIPTS \ | ||
1481 | 1235 | install-testsuitecimDATA install-testsuitesystemDATA \ | ||
1482 | 1236 | install-testsuitesystemSCRIPTS installcheck installcheck-am \ | ||
1483 | 1237 | installdirs maintainer-clean maintainer-clean-generic \ | ||
1484 | 1238 | mostlyclean mostlyclean-compile mostlyclean-generic \ | ||
1485 | 1239 | mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ | ||
1486 | 1240 | uninstall-am uninstall-docDATA uninstall-libLTLIBRARIES \ | ||
1487 | 1241 | uninstall-pkgdataDATA uninstall-pkgdataSCRIPTS \ | ||
1488 | 1242 | uninstall-providerLTLIBRARIES uninstall-sblimincHEADERS \ | ||
1489 | 1243 | uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \ | ||
1490 | 1244 | uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS | ||
1491 | 1245 | |||
1492 | 1246 | |||
1493 | 1247 | # Register the provider(s) and class definition(s) to the current CIM server/CIMOM | ||
1494 | 1248 | postinstall: | ||
1495 | 1249 | sh $(srcdir)/provider-register.sh -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS) | ||
1496 | 1250 | |||
1497 | 1251 | preuninstall: | ||
1498 | 1252 | sh $(srcdir)/provider-register.sh -d -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS) | ||
1499 | 1253 | |||
1500 | 1254 | dist-hook: | ||
1501 | 1255 | test -d "$(distdir)" && rm -rf `find $(distdir) -type d -name CVS` | ||
1502 | 1256 | |||
1503 | 1257 | @TESTSUITE_TRUE@runtest: install | ||
1504 | 1258 | @TESTSUITE_TRUE@ cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh | ||
1505 | 1259 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
1506 | 1260 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
1507 | 1261 | .NOEXPORT: | ||
1508 | 1262 | 0 | ||
1509 | === modified file 'ChangeLog' | |||
1510 | --- ChangeLog 2009-07-29 14:43:34 +0000 | |||
1511 | +++ ChangeLog 2013-01-12 05:25:23 +0000 | |||
1512 | @@ -1,3 +1,72 @@ | |||
1513 | 1 | 2012-11-02 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1514 | 2 | |||
1515 | 3 | * NEWS, OSBase_UnixProcess.c: | ||
1516 | 4 | |||
1517 | 5 | Fixed 3582069: Linux_UnixProcess command injection vulnerability | ||
1518 | 6 | |||
1519 | 7 | 2012-02-07 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1520 | 8 | |||
1521 | 9 | * Makefile.am, NEWS: | ||
1522 | 10 | |||
1523 | 11 | Fixed 3424288: Underlinked libcmpiOSBase_ProcessorProvider.so | ||
1524 | 12 | |||
1525 | 13 | 2011-05-23 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1526 | 14 | |||
1527 | 15 | * NEWS, OSBase_OperatingSystem.c: | ||
1528 | 16 | |||
1529 | 17 | Fixed 3306580: wrong OperatingSystem.Version prop value on RHEL6 | ||
1530 | 18 | |||
1531 | 19 | 2011-05-23 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1532 | 20 | |||
1533 | 21 | * NEWS, test/test-cmpi-base.sh: | ||
1534 | 22 | |||
1535 | 23 | Fixed 3275169: bash error reported in provider bootstrap scripts | ||
1536 | 24 | |||
1537 | 25 | 2011-01-04 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1538 | 26 | |||
1539 | 27 | * ChangeLog, NEWS, configure.ac: | ||
1540 | 28 | |||
1541 | 29 | Update release info for 1.6.1 | ||
1542 | 30 | |||
1543 | 31 | 2010-12-20 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1544 | 32 | |||
1545 | 33 | * NEWS, OSBase_Processor.c, OSBase_Processor.h, | ||
1546 | 34 | cmpiOSBase_ProcessorProvider.c: | ||
1547 | 35 | |||
1548 | 36 | Fixed 2610775: ProcessorProvider crashes on exit | ||
1549 | 37 | |||
1550 | 38 | 2010-12-20 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1551 | 39 | |||
1552 | 40 | * NEWS, OSBase_Common.c: | ||
1553 | 41 | |||
1554 | 42 | Fixed 2836926: _osbase_common_init unreliable | ||
1555 | 43 | |||
1556 | 44 | 2010-01-21 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1557 | 45 | |||
1558 | 46 | * contributions.txt: | ||
1559 | 47 | |||
1560 | 48 | Changed sfcb to sblim-cmpi-base in contributions file | ||
1561 | 49 | |||
1562 | 50 | 2009-12-15 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1563 | 51 | |||
1564 | 52 | * NEWS, cmpiOSBase_OperatingSystem.c: | ||
1565 | 53 | |||
1566 | 54 | Fixed 2882514: leak in | ||
1567 | 55 | sblim-cmpi-base-1.5.9/cmpiOSBase_OperatingSystem.c | ||
1568 | 56 | |||
1569 | 57 | 2009-08-25 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1570 | 58 | |||
1571 | 59 | * NEWS, OSBase_OperatingSystemStatisticalData.c, contributions.txt: | ||
1572 | 60 | |||
1573 | 61 | Fixed 2843613: Missing fclose in sblim-cmpi-base (patch by | ||
1574 | 62 | Michal Hrušecký) | ||
1575 | 63 | |||
1576 | 64 | 2009-07-24 Tyrel Datwyler <tyreld@us.ibm.com> | ||
1577 | 65 | |||
1578 | 66 | * ChangeLog, NEWS, configure.ac: | ||
1579 | 67 | |||
1580 | 68 | Updated for 1.6.0 release | ||
1581 | 69 | |||
1582 | 1 | 2009-07-24 Tyrel Datwyler <tyreld@us.ibm.com> | 70 | 2009-07-24 Tyrel Datwyler <tyreld@us.ibm.com> |
1583 | 2 | 71 | ||
1584 | 3 | * COPYING, Makefile.am, NEWS, OSBase_BaseBoard.c, | 72 | * COPYING, Makefile.am, NEWS, OSBase_BaseBoard.c, |
1585 | @@ -283,7 +352,7 @@ | |||
1586 | 283 | [ 1395363 ] Providers' postinstall step location dependent. Fixed | 352 | [ 1395363 ] Providers' postinstall step location dependent. Fixed |
1587 | 284 | Makefile and updated autoconf/deployment files from cmpi-samples. | 353 | Makefile and updated autoconf/deployment files from cmpi-samples. |
1588 | 285 | 354 | ||
1590 | 286 | 2006-01-23 Lynn Moss | 355 | 2006-01-23 Lynn Moss <lynn@us.ibm.com> |
1591 | 287 | 356 | ||
1592 | 288 | * Makefile.am: | 357 | * Makefile.am: |
1593 | 289 | 358 | ||
1594 | @@ -1516,7 +1585,7 @@ | |||
1595 | 1516 | 1585 | ||
1596 | 1517 | Updated setting.cmpi to support Pegasus | 1586 | Updated setting.cmpi to support Pegasus |
1597 | 1518 | 1587 | ||
1599 | 1519 | 2003-03-25 Adrian Schuur | 1588 | 2003-03-25 Adrian Schuur <schuur@de.ibm.com> |
1600 | 1520 | 1589 | ||
1601 | 1521 | * cimibase.h: | 1590 | * cimibase.h: |
1602 | 1522 | 1591 | ||
1603 | 1523 | 1592 | ||
1604 | === modified file 'INSTALL' | |||
1605 | --- INSTALL 2009-01-26 14:11:21 +0000 | |||
1606 | +++ INSTALL 2013-01-12 05:25:23 +0000 | |||
1607 | @@ -2,18 +2,24 @@ | |||
1608 | 2 | ************************* | 2 | ************************* |
1609 | 3 | 3 | ||
1610 | 4 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, | 4 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, |
1612 | 5 | 2006, 2007 Free Software Foundation, Inc. | 5 | 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
1613 | 6 | 6 | ||
1616 | 7 | This file is free documentation; the Free Software Foundation gives | 7 | Copying and distribution of this file, with or without modification, |
1617 | 8 | unlimited permission to copy, distribute and modify it. | 8 | are permitted in any medium without royalty provided the copyright |
1618 | 9 | notice and this notice are preserved. This file is offered as-is, | ||
1619 | 10 | without warranty of any kind. | ||
1620 | 9 | 11 | ||
1621 | 10 | Basic Installation | 12 | Basic Installation |
1622 | 11 | ================== | 13 | ================== |
1623 | 12 | 14 | ||
1625 | 13 | Briefly, the shell commands `./configure; make; make install' should | 15 | Briefly, the shell commands `./configure; make; make install' should |
1626 | 14 | configure, build, and install this package. The following | 16 | configure, build, and install this package. The following |
1627 | 15 | more-detailed instructions are generic; see the `README' file for | 17 | more-detailed instructions are generic; see the `README' file for |
1629 | 16 | instructions specific to this package. | 18 | instructions specific to this package. Some packages provide this |
1630 | 19 | `INSTALL' file but do not implement all of the features documented | ||
1631 | 20 | below. The lack of an optional feature in a given package is not | ||
1632 | 21 | necessarily a bug. More recommendations for GNU packages can be found | ||
1633 | 22 | in *note Makefile Conventions: (standards)Makefile Conventions. | ||
1634 | 17 | 23 | ||
1635 | 18 | The `configure' shell script attempts to guess correct values for | 24 | The `configure' shell script attempts to guess correct values for |
1636 | 19 | various system-dependent variables used during compilation. It uses | 25 | various system-dependent variables used during compilation. It uses |
1637 | @@ -42,7 +48,7 @@ | |||
1638 | 42 | you want to change it or regenerate `configure' using a newer version | 48 | you want to change it or regenerate `configure' using a newer version |
1639 | 43 | of `autoconf'. | 49 | of `autoconf'. |
1640 | 44 | 50 | ||
1642 | 45 | The simplest way to compile this package is: | 51 | The simplest way to compile this package is: |
1643 | 46 | 52 | ||
1644 | 47 | 1. `cd' to the directory containing the package's source code and type | 53 | 1. `cd' to the directory containing the package's source code and type |
1645 | 48 | `./configure' to configure the package for your system. | 54 | `./configure' to configure the package for your system. |
1646 | @@ -53,12 +59,22 @@ | |||
1647 | 53 | 2. Type `make' to compile the package. | 59 | 2. Type `make' to compile the package. |
1648 | 54 | 60 | ||
1649 | 55 | 3. Optionally, type `make check' to run any self-tests that come with | 61 | 3. Optionally, type `make check' to run any self-tests that come with |
1651 | 56 | the package. | 62 | the package, generally using the just-built uninstalled binaries. |
1652 | 57 | 63 | ||
1653 | 58 | 4. Type `make install' to install the programs and any data files and | 64 | 4. Type `make install' to install the programs and any data files and |
1657 | 59 | documentation. | 65 | documentation. When installing into a prefix owned by root, it is |
1658 | 60 | 66 | recommended that the package be configured and built as a regular | |
1659 | 61 | 5. You can remove the program binaries and object files from the | 67 | user, and only the `make install' phase executed with root |
1660 | 68 | privileges. | ||
1661 | 69 | |||
1662 | 70 | 5. Optionally, type `make installcheck' to repeat any self-tests, but | ||
1663 | 71 | this time using the binaries in their final installed location. | ||
1664 | 72 | This target does not install anything. Running this target as a | ||
1665 | 73 | regular user, particularly if the prior `make install' required | ||
1666 | 74 | root privileges, verifies that the installation completed | ||
1667 | 75 | correctly. | ||
1668 | 76 | |||
1669 | 77 | 6. You can remove the program binaries and object files from the | ||
1670 | 62 | source code directory by typing `make clean'. To also remove the | 78 | source code directory by typing `make clean'. To also remove the |
1671 | 63 | files that `configure' created (so you can compile the package for | 79 | files that `configure' created (so you can compile the package for |
1672 | 64 | a different kind of computer), type `make distclean'. There is | 80 | a different kind of computer), type `make distclean'. There is |
1673 | @@ -67,15 +83,22 @@ | |||
1674 | 67 | all sorts of other programs in order to regenerate files that came | 83 | all sorts of other programs in order to regenerate files that came |
1675 | 68 | with the distribution. | 84 | with the distribution. |
1676 | 69 | 85 | ||
1679 | 70 | 6. Often, you can also type `make uninstall' to remove the installed | 86 | 7. Often, you can also type `make uninstall' to remove the installed |
1680 | 71 | files again. | 87 | files again. In practice, not all packages have tested that |
1681 | 88 | uninstallation works correctly, even though it is required by the | ||
1682 | 89 | GNU Coding Standards. | ||
1683 | 90 | |||
1684 | 91 | 8. Some packages, particularly those that use Automake, provide `make | ||
1685 | 92 | distcheck', which can by used by developers to test that all other | ||
1686 | 93 | targets like `make install' and `make uninstall' work correctly. | ||
1687 | 94 | This target is generally not run by end users. | ||
1688 | 72 | 95 | ||
1689 | 73 | Compilers and Options | 96 | Compilers and Options |
1690 | 74 | ===================== | 97 | ===================== |
1691 | 75 | 98 | ||
1695 | 76 | Some systems require unusual options for compilation or linking that the | 99 | Some systems require unusual options for compilation or linking that |
1696 | 77 | `configure' script does not know about. Run `./configure --help' for | 100 | the `configure' script does not know about. Run `./configure --help' |
1697 | 78 | details on some of the pertinent environment variables. | 101 | for details on some of the pertinent environment variables. |
1698 | 79 | 102 | ||
1699 | 80 | You can give `configure' initial values for configuration parameters | 103 | You can give `configure' initial values for configuration parameters |
1700 | 81 | by setting variables in the command line or in the environment. Here | 104 | by setting variables in the command line or in the environment. Here |
1701 | @@ -88,25 +111,41 @@ | |||
1702 | 88 | Compiling For Multiple Architectures | 111 | Compiling For Multiple Architectures |
1703 | 89 | ==================================== | 112 | ==================================== |
1704 | 90 | 113 | ||
1706 | 91 | You can compile the package for more than one kind of computer at the | 114 | You can compile the package for more than one kind of computer at the |
1707 | 92 | same time, by placing the object files for each architecture in their | 115 | same time, by placing the object files for each architecture in their |
1708 | 93 | own directory. To do this, you can use GNU `make'. `cd' to the | 116 | own directory. To do this, you can use GNU `make'. `cd' to the |
1709 | 94 | directory where you want the object files and executables to go and run | 117 | directory where you want the object files and executables to go and run |
1710 | 95 | the `configure' script. `configure' automatically checks for the | 118 | the `configure' script. `configure' automatically checks for the |
1712 | 96 | source code in the directory that `configure' is in and in `..'. | 119 | source code in the directory that `configure' is in and in `..'. This |
1713 | 120 | is known as a "VPATH" build. | ||
1714 | 97 | 121 | ||
1715 | 98 | With a non-GNU `make', it is safer to compile the package for one | 122 | With a non-GNU `make', it is safer to compile the package for one |
1716 | 99 | architecture at a time in the source code directory. After you have | 123 | architecture at a time in the source code directory. After you have |
1717 | 100 | installed the package for one architecture, use `make distclean' before | 124 | installed the package for one architecture, use `make distclean' before |
1718 | 101 | reconfiguring for another architecture. | 125 | reconfiguring for another architecture. |
1719 | 102 | 126 | ||
1720 | 127 | On MacOS X 10.5 and later systems, you can create libraries and | ||
1721 | 128 | executables that work on multiple system types--known as "fat" or | ||
1722 | 129 | "universal" binaries--by specifying multiple `-arch' options to the | ||
1723 | 130 | compiler but only a single `-arch' option to the preprocessor. Like | ||
1724 | 131 | this: | ||
1725 | 132 | |||
1726 | 133 | ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | ||
1727 | 134 | CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | ||
1728 | 135 | CPP="gcc -E" CXXCPP="g++ -E" | ||
1729 | 136 | |||
1730 | 137 | This is not guaranteed to produce working output in all cases, you | ||
1731 | 138 | may have to build one architecture at a time and combine the results | ||
1732 | 139 | using the `lipo' tool if you have problems. | ||
1733 | 140 | |||
1734 | 103 | Installation Names | 141 | Installation Names |
1735 | 104 | ================== | 142 | ================== |
1736 | 105 | 143 | ||
1738 | 106 | By default, `make install' installs the package's commands under | 144 | By default, `make install' installs the package's commands under |
1739 | 107 | `/usr/local/bin', include files under `/usr/local/include', etc. You | 145 | `/usr/local/bin', include files under `/usr/local/include', etc. You |
1740 | 108 | can specify an installation prefix other than `/usr/local' by giving | 146 | can specify an installation prefix other than `/usr/local' by giving |
1742 | 109 | `configure' the option `--prefix=PREFIX'. | 147 | `configure' the option `--prefix=PREFIX', where PREFIX must be an |
1743 | 148 | absolute file name. | ||
1744 | 110 | 149 | ||
1745 | 111 | You can specify separate installation prefixes for | 150 | You can specify separate installation prefixes for |
1746 | 112 | architecture-specific files and architecture-independent files. If you | 151 | architecture-specific files and architecture-independent files. If you |
1747 | @@ -117,16 +156,47 @@ | |||
1748 | 117 | In addition, if you use an unusual directory layout you can give | 156 | In addition, if you use an unusual directory layout you can give |
1749 | 118 | options like `--bindir=DIR' to specify different values for particular | 157 | options like `--bindir=DIR' to specify different values for particular |
1750 | 119 | kinds of files. Run `configure --help' for a list of the directories | 158 | kinds of files. Run `configure --help' for a list of the directories |
1752 | 120 | you can set and what kinds of files go in them. | 159 | you can set and what kinds of files go in them. In general, the |
1753 | 160 | default for these options is expressed in terms of `${prefix}', so that | ||
1754 | 161 | specifying just `--prefix' will affect all of the other directory | ||
1755 | 162 | specifications that were not explicitly provided. | ||
1756 | 163 | |||
1757 | 164 | The most portable way to affect installation locations is to pass the | ||
1758 | 165 | correct locations to `configure'; however, many packages provide one or | ||
1759 | 166 | both of the following shortcuts of passing variable assignments to the | ||
1760 | 167 | `make install' command line to change installation locations without | ||
1761 | 168 | having to reconfigure or recompile. | ||
1762 | 169 | |||
1763 | 170 | The first method involves providing an override variable for each | ||
1764 | 171 | affected directory. For example, `make install | ||
1765 | 172 | prefix=/alternate/directory' will choose an alternate location for all | ||
1766 | 173 | directory configuration variables that were expressed in terms of | ||
1767 | 174 | `${prefix}'. Any directories that were specified during `configure', | ||
1768 | 175 | but not in terms of `${prefix}', must each be overridden at install | ||
1769 | 176 | time for the entire installation to be relocated. The approach of | ||
1770 | 177 | makefile variable overrides for each directory variable is required by | ||
1771 | 178 | the GNU Coding Standards, and ideally causes no recompilation. | ||
1772 | 179 | However, some platforms have known limitations with the semantics of | ||
1773 | 180 | shared libraries that end up requiring recompilation when using this | ||
1774 | 181 | method, particularly noticeable in packages that use GNU Libtool. | ||
1775 | 182 | |||
1776 | 183 | The second method involves providing the `DESTDIR' variable. For | ||
1777 | 184 | example, `make install DESTDIR=/alternate/directory' will prepend | ||
1778 | 185 | `/alternate/directory' before all installation names. The approach of | ||
1779 | 186 | `DESTDIR' overrides is not required by the GNU Coding Standards, and | ||
1780 | 187 | does not work on platforms that have drive letters. On the other hand, | ||
1781 | 188 | it does better at avoiding recompilation issues, and works well even | ||
1782 | 189 | when some directory options were not specified in terms of `${prefix}' | ||
1783 | 190 | at `configure' time. | ||
1784 | 191 | |||
1785 | 192 | Optional Features | ||
1786 | 193 | ================= | ||
1787 | 121 | 194 | ||
1788 | 122 | If the package supports it, you can cause programs to be installed | 195 | If the package supports it, you can cause programs to be installed |
1789 | 123 | with an extra prefix or suffix on their names by giving `configure' the | 196 | with an extra prefix or suffix on their names by giving `configure' the |
1790 | 124 | option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. | 197 | option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
1791 | 125 | 198 | ||
1796 | 126 | Optional Features | 199 | Some packages pay attention to `--enable-FEATURE' options to |
1793 | 127 | ================= | ||
1794 | 128 | |||
1795 | 129 | Some packages pay attention to `--enable-FEATURE' options to | ||
1797 | 130 | `configure', where FEATURE indicates an optional part of the package. | 200 | `configure', where FEATURE indicates an optional part of the package. |
1798 | 131 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE | 201 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
1799 | 132 | is something like `gnu-as' or `x' (for the X Window System). The | 202 | is something like `gnu-as' or `x' (for the X Window System). The |
1800 | @@ -138,14 +208,53 @@ | |||
1801 | 138 | you can use the `configure' options `--x-includes=DIR' and | 208 | you can use the `configure' options `--x-includes=DIR' and |
1802 | 139 | `--x-libraries=DIR' to specify their locations. | 209 | `--x-libraries=DIR' to specify their locations. |
1803 | 140 | 210 | ||
1804 | 211 | Some packages offer the ability to configure how verbose the | ||
1805 | 212 | execution of `make' will be. For these packages, running `./configure | ||
1806 | 213 | --enable-silent-rules' sets the default to minimal output, which can be | ||
1807 | 214 | overridden with `make V=1'; while running `./configure | ||
1808 | 215 | --disable-silent-rules' sets the default to verbose, which can be | ||
1809 | 216 | overridden with `make V=0'. | ||
1810 | 217 | |||
1811 | 218 | Particular systems | ||
1812 | 219 | ================== | ||
1813 | 220 | |||
1814 | 221 | On HP-UX, the default C compiler is not ANSI C compatible. If GNU | ||
1815 | 222 | CC is not installed, it is recommended to use the following options in | ||
1816 | 223 | order to use an ANSI C compiler: | ||
1817 | 224 | |||
1818 | 225 | ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" | ||
1819 | 226 | |||
1820 | 227 | and if that doesn't work, install pre-built binaries of GCC for HP-UX. | ||
1821 | 228 | |||
1822 | 229 | On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot | ||
1823 | 230 | parse its `<wchar.h>' header file. The option `-nodtk' can be used as | ||
1824 | 231 | a workaround. If GNU CC is not installed, it is therefore recommended | ||
1825 | 232 | to try | ||
1826 | 233 | |||
1827 | 234 | ./configure CC="cc" | ||
1828 | 235 | |||
1829 | 236 | and if that doesn't work, try | ||
1830 | 237 | |||
1831 | 238 | ./configure CC="cc -nodtk" | ||
1832 | 239 | |||
1833 | 240 | On Solaris, don't put `/usr/ucb' early in your `PATH'. This | ||
1834 | 241 | directory contains several dysfunctional programs; working variants of | ||
1835 | 242 | these programs are available in `/usr/bin'. So, if you need `/usr/ucb' | ||
1836 | 243 | in your `PATH', put it _after_ `/usr/bin'. | ||
1837 | 244 | |||
1838 | 245 | On Haiku, software installed for all users goes in `/boot/common', | ||
1839 | 246 | not `/usr/local'. It is recommended to use the following options: | ||
1840 | 247 | |||
1841 | 248 | ./configure --prefix=/boot/common | ||
1842 | 249 | |||
1843 | 141 | Specifying the System Type | 250 | Specifying the System Type |
1844 | 142 | ========================== | 251 | ========================== |
1845 | 143 | 252 | ||
1851 | 144 | There may be some features `configure' cannot figure out automatically, | 253 | There may be some features `configure' cannot figure out |
1852 | 145 | but needs to determine by the type of machine the package will run on. | 254 | automatically, but needs to determine by the type of machine the package |
1853 | 146 | Usually, assuming the package is built to be run on the _same_ | 255 | will run on. Usually, assuming the package is built to be run on the |
1854 | 147 | architectures, `configure' can figure that out, but if it prints a | 256 | _same_ architectures, `configure' can figure that out, but if it prints |
1855 | 148 | message saying it cannot guess the machine type, give it the | 257 | a message saying it cannot guess the machine type, give it the |
1856 | 149 | `--build=TYPE' option. TYPE can either be a short name for the system | 258 | `--build=TYPE' option. TYPE can either be a short name for the system |
1857 | 150 | type, such as `sun4', or a canonical name which has the form: | 259 | type, such as `sun4', or a canonical name which has the form: |
1858 | 151 | 260 | ||
1859 | @@ -153,7 +262,8 @@ | |||
1860 | 153 | 262 | ||
1861 | 154 | where SYSTEM can have one of these forms: | 263 | where SYSTEM can have one of these forms: |
1862 | 155 | 264 | ||
1864 | 156 | OS KERNEL-OS | 265 | OS |
1865 | 266 | KERNEL-OS | ||
1866 | 157 | 267 | ||
1867 | 158 | See the file `config.sub' for the possible values of each field. If | 268 | See the file `config.sub' for the possible values of each field. If |
1868 | 159 | `config.sub' isn't included in this package, then this package doesn't | 269 | `config.sub' isn't included in this package, then this package doesn't |
1869 | @@ -171,9 +281,9 @@ | |||
1870 | 171 | Sharing Defaults | 281 | Sharing Defaults |
1871 | 172 | ================ | 282 | ================ |
1872 | 173 | 283 | ||
1876 | 174 | If you want to set default values for `configure' scripts to share, you | 284 | If you want to set default values for `configure' scripts to share, |
1877 | 175 | can create a site shell script called `config.site' that gives default | 285 | you can create a site shell script called `config.site' that gives |
1878 | 176 | values for variables like `CC', `cache_file', and `prefix'. | 286 | default values for variables like `CC', `cache_file', and `prefix'. |
1879 | 177 | `configure' looks for `PREFIX/share/config.site' if it exists, then | 287 | `configure' looks for `PREFIX/share/config.site' if it exists, then |
1880 | 178 | `PREFIX/etc/config.site' if it exists. Or, you can set the | 288 | `PREFIX/etc/config.site' if it exists. Or, you can set the |
1881 | 179 | `CONFIG_SITE' environment variable to the location of the site script. | 289 | `CONFIG_SITE' environment variable to the location of the site script. |
1882 | @@ -182,7 +292,7 @@ | |||
1883 | 182 | Defining Variables | 292 | Defining Variables |
1884 | 183 | ================== | 293 | ================== |
1885 | 184 | 294 | ||
1887 | 185 | Variables not defined in a site shell script can be set in the | 295 | Variables not defined in a site shell script can be set in the |
1888 | 186 | environment passed to `configure'. However, some packages may run | 296 | environment passed to `configure'. However, some packages may run |
1889 | 187 | configure again during the build, and the customized values of these | 297 | configure again during the build, and the customized values of these |
1890 | 188 | variables may be lost. In order to avoid this problem, you should set | 298 | variables may be lost. In order to avoid this problem, you should set |
1891 | @@ -201,11 +311,19 @@ | |||
1892 | 201 | `configure' Invocation | 311 | `configure' Invocation |
1893 | 202 | ====================== | 312 | ====================== |
1894 | 203 | 313 | ||
1896 | 204 | `configure' recognizes the following options to control how it operates. | 314 | `configure' recognizes the following options to control how it |
1897 | 315 | operates. | ||
1898 | 205 | 316 | ||
1899 | 206 | `--help' | 317 | `--help' |
1900 | 207 | `-h' | 318 | `-h' |
1902 | 208 | Print a summary of the options to `configure', and exit. | 319 | Print a summary of all of the options to `configure', and exit. |
1903 | 320 | |||
1904 | 321 | `--help=short' | ||
1905 | 322 | `--help=recursive' | ||
1906 | 323 | Print a summary of the options unique to this package's | ||
1907 | 324 | `configure', and exit. The `short' variant lists options used | ||
1908 | 325 | only in the top level, while the `recursive' variant lists options | ||
1909 | 326 | also present in any nested packages. | ||
1910 | 209 | 327 | ||
1911 | 210 | `--version' | 328 | `--version' |
1912 | 211 | `-V' | 329 | `-V' |
1913 | @@ -232,6 +350,16 @@ | |||
1914 | 232 | Look for the package's source code in directory DIR. Usually | 350 | Look for the package's source code in directory DIR. Usually |
1915 | 233 | `configure' can determine that directory automatically. | 351 | `configure' can determine that directory automatically. |
1916 | 234 | 352 | ||
1917 | 353 | `--prefix=DIR' | ||
1918 | 354 | Use DIR as the installation prefix. *note Installation Names:: | ||
1919 | 355 | for more details, including other options available for fine-tuning | ||
1920 | 356 | the installation locations. | ||
1921 | 357 | |||
1922 | 358 | `--no-create' | ||
1923 | 359 | `-n' | ||
1924 | 360 | Run the configure checks, but stop before creating any output | ||
1925 | 361 | files. | ||
1926 | 362 | |||
1927 | 235 | `configure' also accepts some other, not widely useful, options. Run | 363 | `configure' also accepts some other, not widely useful, options. Run |
1928 | 236 | `configure --help' for more details. | 364 | `configure --help' for more details. |
1929 | 237 | 365 | ||
1930 | 238 | 366 | ||
1931 | === modified file 'Makefile.am' | |||
1932 | --- Makefile.am 2011-10-16 11:55:22 +0000 | |||
1933 | +++ Makefile.am 2013-01-12 05:25:23 +0000 | |||
1934 | @@ -1,4 +1,4 @@ | |||
1936 | 1 | # $Id: Makefile.am,v 1.17 2009/07/25 00:37:30 tyreld Exp $ | 1 | # $Id: Makefile.am,v 1.19 2012/11/29 06:22:20 tyreld Exp $ |
1937 | 2 | # ================================================================== | 2 | # ================================================================== |
1938 | 3 | # (C) Copyright IBM Corp. 2005, 2009 | 3 | # (C) Copyright IBM Corp. 2005, 2009 |
1939 | 4 | # | 4 | # |
1940 | @@ -14,6 +14,7 @@ | |||
1941 | 14 | # Description: Automake input file for OS Base Providers | 14 | # Description: Automake input file for OS Base Providers |
1942 | 15 | # ================================================================== | 15 | # ================================================================== |
1943 | 16 | 16 | ||
1944 | 17 | AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2 | ||
1945 | 17 | 18 | ||
1946 | 18 | # SBLIM Include Directory | 19 | # SBLIM Include Directory |
1947 | 19 | sblimincdir = $(includedir)/sblim | 20 | sblimincdir = $(includedir)/sblim |
1948 | 20 | 21 | ||
1949 | === modified file 'Makefile.in' | |||
1950 | --- Makefile.in 2011-10-16 11:55:22 +0000 | |||
1951 | +++ Makefile.in 2013-01-12 05:25:23 +0000 | |||
1952 | @@ -1,8 +1,9 @@ | |||
1954 | 1 | # Makefile.in generated by automake 1.10.1 from Makefile.am. | 1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. |
1955 | 2 | # @configure_input@ | 2 | # @configure_input@ |
1956 | 3 | 3 | ||
1957 | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
1959 | 5 | # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | 5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
1960 | 6 | # Inc. | ||
1961 | 6 | # This Makefile.in is free software; the Free Software Foundation | 7 | # This Makefile.in is free software; the Free Software Foundation |
1962 | 7 | # gives unlimited permission to copy and/or distribute it, | 8 | # gives unlimited permission to copy and/or distribute it, |
1963 | 8 | # with or without modifications, as long as this notice is preserved. | 9 | # with or without modifications, as long as this notice is preserved. |
1964 | @@ -14,7 +15,7 @@ | |||
1965 | 14 | 15 | ||
1966 | 15 | @SET_MAKE@ | 16 | @SET_MAKE@ |
1967 | 16 | 17 | ||
1969 | 17 | # $Id: Makefile.am,v 1.17 2009/07/25 00:37:30 tyreld Exp $ | 18 | # $Id: Makefile.am,v 1.19 2012/11/29 06:22:20 tyreld Exp $ |
1970 | 18 | # ================================================================== | 19 | # ================================================================== |
1971 | 19 | # (C) Copyright IBM Corp. 2005, 2009 | 20 | # (C) Copyright IBM Corp. 2005, 2009 |
1972 | 20 | # | 21 | # |
1973 | @@ -36,8 +37,9 @@ | |||
1974 | 36 | 37 | ||
1975 | 37 | VPATH = @srcdir@ | 38 | VPATH = @srcdir@ |
1976 | 38 | pkgdatadir = $(datadir)/@PACKAGE@ | 39 | pkgdatadir = $(datadir)/@PACKAGE@ |
1977 | 40 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
1978 | 39 | pkglibdir = $(libdir)/@PACKAGE@ | 41 | pkglibdir = $(libdir)/@PACKAGE@ |
1980 | 40 | pkgincludedir = $(includedir)/@PACKAGE@ | 42 | pkglibexecdir = $(libexecdir)/@PACKAGE@ |
1981 | 41 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | 43 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
1982 | 42 | install_sh_DATA = $(install_sh) -c -m 644 | 44 | install_sh_DATA = $(install_sh) -c -m 644 |
1983 | 43 | install_sh_PROGRAM = $(install_sh) -c | 45 | install_sh_PROGRAM = $(install_sh) -c |
1984 | @@ -71,19 +73,33 @@ | |||
1985 | 71 | mkinstalldirs = $(install_sh) -d | 73 | mkinstalldirs = $(install_sh) -d |
1986 | 72 | CONFIG_HEADER = config.h | 74 | CONFIG_HEADER = config.h |
1987 | 73 | CONFIG_CLEAN_FILES = sblim-cmpi-base.spec | 75 | CONFIG_CLEAN_FILES = sblim-cmpi-base.spec |
1988 | 76 | CONFIG_CLEAN_VPATH_FILES = | ||
1989 | 74 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | 77 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
1990 | 75 | am__vpath_adj = case $$p in \ | 78 | am__vpath_adj = case $$p in \ |
1991 | 76 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | 79 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
1992 | 77 | *) f=$$p;; \ | 80 | *) f=$$p;; \ |
1993 | 78 | esac; | 81 | esac; |
1995 | 79 | am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; | 82 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
1996 | 83 | am__install_max = 40 | ||
1997 | 84 | am__nobase_strip_setup = \ | ||
1998 | 85 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
1999 | 86 | am__nobase_strip = \ | ||
2000 | 87 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
2001 | 88 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
2002 | 89 | for p in $$list; do echo "$$p $$p"; done | \ | ||
2003 | 90 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
2004 | 91 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
2005 | 92 | if (++n[$$2] == $(am__install_max)) \ | ||
2006 | 93 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
2007 | 94 | END { for (dir in files) print dir, files[dir] }' | ||
2008 | 95 | am__base_list = \ | ||
2009 | 96 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
2010 | 97 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
2011 | 80 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(providerdir)" \ | 98 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(providerdir)" \ |
2012 | 81 | "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitedir)" \ | 99 | "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitedir)" \ |
2013 | 82 | "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(docdir)" \ | 100 | "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(docdir)" \ |
2014 | 83 | "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitecimdir)" \ | 101 | "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitecimdir)" \ |
2015 | 84 | "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(sblimincdir)" | 102 | "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(sblimincdir)" |
2016 | 85 | libLTLIBRARIES_INSTALL = $(INSTALL) | ||
2017 | 86 | providerLTLIBRARIES_INSTALL = $(INSTALL) | ||
2018 | 87 | LTLIBRARIES = $(lib_LTLIBRARIES) $(provider_LTLIBRARIES) | 103 | LTLIBRARIES = $(lib_LTLIBRARIES) $(provider_LTLIBRARIES) |
2019 | 88 | libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES = | 104 | libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES = |
2020 | 89 | am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \ | 105 | am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \ |
2021 | @@ -211,14 +227,12 @@ | |||
2022 | 211 | am_dmitest_OBJECTS = dmitest.$(OBJEXT) | 227 | am_dmitest_OBJECTS = dmitest.$(OBJEXT) |
2023 | 212 | dmitest_OBJECTS = $(am_dmitest_OBJECTS) | 228 | dmitest_OBJECTS = $(am_dmitest_OBJECTS) |
2024 | 213 | dmitest_DEPENDENCIES = | 229 | dmitest_DEPENDENCIES = |
2025 | 214 | pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT) | ||
2026 | 215 | testsuiteSCRIPT_INSTALL = $(INSTALL_SCRIPT) | ||
2027 | 216 | testsuitesystemSCRIPT_INSTALL = $(INSTALL_SCRIPT) | ||
2028 | 217 | SCRIPTS = $(pkgdata_SCRIPTS) $(testsuite_SCRIPTS) \ | 230 | SCRIPTS = $(pkgdata_SCRIPTS) $(testsuite_SCRIPTS) \ |
2029 | 218 | $(testsuitesystem_SCRIPTS) | 231 | $(testsuitesystem_SCRIPTS) |
2030 | 219 | DEFAULT_INCLUDES = -I.@am__isrc@ | 232 | DEFAULT_INCLUDES = -I.@am__isrc@ |
2031 | 220 | depcomp = $(SHELL) $(top_srcdir)/depcomp | 233 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
2032 | 221 | am__depfiles_maybe = depfiles | 234 | am__depfiles_maybe = depfiles |
2033 | 235 | am__mv = mv -f | ||
2034 | 222 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | 236 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
2035 | 223 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | 237 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
2036 | 224 | LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | 238 | LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
2037 | @@ -254,13 +268,8 @@ | |||
2038 | 254 | $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \ | 268 | $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \ |
2039 | 255 | $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \ | 269 | $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \ |
2040 | 256 | $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES) | 270 | $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES) |
2041 | 257 | docDATA_INSTALL = $(INSTALL_DATA) | ||
2042 | 258 | pkgdataDATA_INSTALL = $(INSTALL_DATA) | ||
2043 | 259 | testsuitecimDATA_INSTALL = $(INSTALL_DATA) | ||
2044 | 260 | testsuitesystemDATA_INSTALL = $(INSTALL_DATA) | ||
2045 | 261 | DATA = $(doc_DATA) $(pkgdata_DATA) $(testsuitecim_DATA) \ | 271 | DATA = $(doc_DATA) $(pkgdata_DATA) $(testsuitecim_DATA) \ |
2046 | 262 | $(testsuitesystem_DATA) | 272 | $(testsuitesystem_DATA) |
2047 | 263 | sblimincHEADERS_INSTALL = $(INSTALL_HEADER) | ||
2048 | 264 | HEADERS = $(noinst_HEADERS) $(sbliminc_HEADERS) | 273 | HEADERS = $(noinst_HEADERS) $(sbliminc_HEADERS) |
2049 | 265 | ETAGS = etags | 274 | ETAGS = etags |
2050 | 266 | CTAGS = ctags | 275 | CTAGS = ctags |
2051 | @@ -268,11 +277,11 @@ | |||
2052 | 268 | distdir = $(PACKAGE)-$(VERSION) | 277 | distdir = $(PACKAGE)-$(VERSION) |
2053 | 269 | top_distdir = $(distdir) | 278 | top_distdir = $(distdir) |
2054 | 270 | am__remove_distdir = \ | 279 | am__remove_distdir = \ |
2059 | 271 | { test ! -d $(distdir) \ | 280 | { test ! -d "$(distdir)" \ |
2060 | 272 | || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ | 281 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
2061 | 273 | && rm -fr $(distdir); }; } | 282 | && rm -fr "$(distdir)"; }; } |
2058 | 274 | DIST_ARCHIVES = $(distdir).tar.gz | ||
2062 | 275 | GZIP_ENV = --best | 283 | GZIP_ENV = --best |
2063 | 284 | DIST_ARCHIVES = $(distdir).tar.bz2 | ||
2064 | 276 | distuninstallcheck_listfiles = find . -type f -print | 285 | distuninstallcheck_listfiles = find . -type f -print |
2065 | 277 | distcleancheck_listfiles = find . -type f -print | 286 | distcleancheck_listfiles = find . -type f -print |
2066 | 278 | ACLOCAL = @ACLOCAL@ | 287 | ACLOCAL = @ACLOCAL@ |
2067 | @@ -288,44 +297,46 @@ | |||
2068 | 288 | CIMSERVER = @CIMSERVER@ | 297 | CIMSERVER = @CIMSERVER@ |
2069 | 289 | CPP = @CPP@ | 298 | CPP = @CPP@ |
2070 | 290 | CPPFLAGS = @CPPFLAGS@ | 299 | CPPFLAGS = @CPPFLAGS@ |
2071 | 291 | CXX = @CXX@ | ||
2072 | 292 | CXXCPP = @CXXCPP@ | ||
2073 | 293 | CXXDEPMODE = @CXXDEPMODE@ | ||
2074 | 294 | CXXFLAGS = @CXXFLAGS@ | ||
2075 | 295 | CYGPATH_W = @CYGPATH_W@ | 300 | CYGPATH_W = @CYGPATH_W@ |
2076 | 296 | DEFS = @DEFS@ | 301 | DEFS = @DEFS@ |
2077 | 297 | DEPDIR = @DEPDIR@ | 302 | DEPDIR = @DEPDIR@ |
2078 | 298 | DSYMUTIL = @DSYMUTIL@ | 303 | DSYMUTIL = @DSYMUTIL@ |
2080 | 299 | ECHO = @ECHO@ | 304 | DUMPBIN = @DUMPBIN@ |
2081 | 300 | ECHO_C = @ECHO_C@ | 305 | ECHO_C = @ECHO_C@ |
2082 | 301 | ECHO_N = @ECHO_N@ | 306 | ECHO_N = @ECHO_N@ |
2083 | 302 | ECHO_T = @ECHO_T@ | 307 | ECHO_T = @ECHO_T@ |
2084 | 303 | EGREP = @EGREP@ | 308 | EGREP = @EGREP@ |
2085 | 304 | EXEEXT = @EXEEXT@ | 309 | EXEEXT = @EXEEXT@ |
2088 | 305 | F77 = @F77@ | 310 | FGREP = @FGREP@ |
2087 | 306 | FFLAGS = @FFLAGS@ | ||
2089 | 307 | GREP = @GREP@ | 311 | GREP = @GREP@ |
2090 | 308 | INSTALL = @INSTALL@ | 312 | INSTALL = @INSTALL@ |
2091 | 309 | INSTALL_DATA = @INSTALL_DATA@ | 313 | INSTALL_DATA = @INSTALL_DATA@ |
2092 | 310 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | 314 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
2093 | 311 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | 315 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
2094 | 312 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | 316 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
2095 | 317 | LD = @LD@ | ||
2096 | 313 | LDFLAGS = @LDFLAGS@ | 318 | LDFLAGS = @LDFLAGS@ |
2097 | 314 | LIBOBJS = @LIBOBJS@ | 319 | LIBOBJS = @LIBOBJS@ |
2098 | 315 | LIBS = @LIBS@ | 320 | LIBS = @LIBS@ |
2099 | 316 | LIBTOOL = @LIBTOOL@ | 321 | LIBTOOL = @LIBTOOL@ |
2100 | 317 | LINDHELP = @LINDHELP@ | 322 | LINDHELP = @LINDHELP@ |
2101 | 323 | LIPO = @LIPO@ | ||
2102 | 318 | LN_S = @LN_S@ | 324 | LN_S = @LN_S@ |
2103 | 319 | LTLIBOBJS = @LTLIBOBJS@ | 325 | LTLIBOBJS = @LTLIBOBJS@ |
2104 | 320 | MAKEINFO = @MAKEINFO@ | 326 | MAKEINFO = @MAKEINFO@ |
2105 | 321 | MKDIR_P = @MKDIR_P@ | 327 | MKDIR_P = @MKDIR_P@ |
2106 | 328 | NM = @NM@ | ||
2107 | 322 | NMEDIT = @NMEDIT@ | 329 | NMEDIT = @NMEDIT@ |
2108 | 330 | OBJDUMP = @OBJDUMP@ | ||
2109 | 323 | OBJEXT = @OBJEXT@ | 331 | OBJEXT = @OBJEXT@ |
2110 | 332 | OTOOL = @OTOOL@ | ||
2111 | 333 | OTOOL64 = @OTOOL64@ | ||
2112 | 324 | PACKAGE = @PACKAGE@ | 334 | PACKAGE = @PACKAGE@ |
2113 | 325 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | 335 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
2114 | 326 | PACKAGE_NAME = @PACKAGE_NAME@ | 336 | PACKAGE_NAME = @PACKAGE_NAME@ |
2115 | 327 | PACKAGE_STRING = @PACKAGE_STRING@ | 337 | PACKAGE_STRING = @PACKAGE_STRING@ |
2116 | 328 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | 338 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
2117 | 339 | PACKAGE_URL = @PACKAGE_URL@ | ||
2118 | 329 | PACKAGE_VERSION = @PACKAGE_VERSION@ | 340 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
2119 | 330 | PATH_SEPARATOR = @PATH_SEPARATOR@ | 341 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
2120 | 331 | PROVIDERDIR = @PROVIDERDIR@ | 342 | PROVIDERDIR = @PROVIDERDIR@ |
2121 | @@ -342,8 +353,7 @@ | |||
2122 | 342 | abs_top_builddir = @abs_top_builddir@ | 353 | abs_top_builddir = @abs_top_builddir@ |
2123 | 343 | abs_top_srcdir = @abs_top_srcdir@ | 354 | abs_top_srcdir = @abs_top_srcdir@ |
2124 | 344 | ac_ct_CC = @ac_ct_CC@ | 355 | ac_ct_CC = @ac_ct_CC@ |
2127 | 345 | ac_ct_CXX = @ac_ct_CXX@ | 356 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
2126 | 346 | ac_ct_F77 = @ac_ct_F77@ | ||
2128 | 347 | am__include = @am__include@ | 357 | am__include = @am__include@ |
2129 | 348 | am__leading_dot = @am__leading_dot@ | 358 | am__leading_dot = @am__leading_dot@ |
2130 | 349 | am__quote = @am__quote@ | 359 | am__quote = @am__quote@ |
2131 | @@ -376,6 +386,7 @@ | |||
2132 | 376 | libexecdir = @libexecdir@ | 386 | libexecdir = @libexecdir@ |
2133 | 377 | localedir = @localedir@ | 387 | localedir = @localedir@ |
2134 | 378 | localstatedir = @localstatedir@ | 388 | localstatedir = @localstatedir@ |
2135 | 389 | lt_ECHO = @lt_ECHO@ | ||
2136 | 379 | mandir = @mandir@ | 390 | mandir = @mandir@ |
2137 | 380 | mkdir_p = @mkdir_p@ | 391 | mkdir_p = @mkdir_p@ |
2138 | 381 | oldincludedir = @oldincludedir@ | 392 | oldincludedir = @oldincludedir@ |
2139 | @@ -388,8 +399,10 @@ | |||
2140 | 388 | srcdir = @srcdir@ | 399 | srcdir = @srcdir@ |
2141 | 389 | sysconfdir = @sysconfdir@ | 400 | sysconfdir = @sysconfdir@ |
2142 | 390 | target_alias = @target_alias@ | 401 | target_alias = @target_alias@ |
2143 | 402 | top_build_prefix = @top_build_prefix@ | ||
2144 | 391 | top_builddir = @top_builddir@ | 403 | top_builddir = @top_builddir@ |
2145 | 392 | top_srcdir = @top_srcdir@ | 404 | top_srcdir = @top_srcdir@ |
2146 | 405 | AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2 | ||
2147 | 393 | 406 | ||
2148 | 394 | # SBLIM Include Directory | 407 | # SBLIM Include Directory |
2149 | 395 | sblimincdir = $(includedir)/sblim | 408 | sblimincdir = $(includedir)/sblim |
2150 | @@ -589,15 +602,15 @@ | |||
2151 | 589 | @for dep in $?; do \ | 602 | @for dep in $?; do \ |
2152 | 590 | case '$(am__configure_deps)' in \ | 603 | case '$(am__configure_deps)' in \ |
2153 | 591 | *$$dep*) \ | 604 | *$$dep*) \ |
2156 | 592 | echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ | 605 | echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
2157 | 593 | cd $(srcdir) && $(AUTOMAKE) --gnu \ | 606 | $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
2158 | 594 | && exit 0; \ | 607 | && exit 0; \ |
2159 | 595 | exit 1;; \ | 608 | exit 1;; \ |
2160 | 596 | esac; \ | 609 | esac; \ |
2161 | 597 | done; \ | 610 | done; \ |
2165 | 598 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ | 611 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
2166 | 599 | cd $(top_srcdir) && \ | 612 | $(am__cd) $(top_srcdir) && \ |
2167 | 600 | $(AUTOMAKE) --gnu Makefile | 613 | $(AUTOMAKE) --gnu Makefile |
2168 | 601 | .PRECIOUS: Makefile | 614 | .PRECIOUS: Makefile |
2169 | 602 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | 615 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
2170 | 603 | @case '$?' in \ | 616 | @case '$?' in \ |
2171 | @@ -613,9 +626,10 @@ | |||
2172 | 613 | $(SHELL) ./config.status --recheck | 626 | $(SHELL) ./config.status --recheck |
2173 | 614 | 627 | ||
2174 | 615 | $(top_srcdir)/configure: $(am__configure_deps) | 628 | $(top_srcdir)/configure: $(am__configure_deps) |
2176 | 616 | cd $(srcdir) && $(AUTOCONF) | 629 | $(am__cd) $(srcdir) && $(AUTOCONF) |
2177 | 617 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | 630 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) |
2179 | 618 | cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | 631 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
2180 | 632 | $(am__aclocal_m4_deps): | ||
2181 | 619 | 633 | ||
2182 | 620 | config.h: stamp-h1 | 634 | config.h: stamp-h1 |
2183 | 621 | @if test ! -f $@; then \ | 635 | @if test ! -f $@; then \ |
2184 | @@ -627,7 +641,7 @@ | |||
2185 | 627 | @rm -f stamp-h1 | 641 | @rm -f stamp-h1 |
2186 | 628 | cd $(top_builddir) && $(SHELL) ./config.status config.h | 642 | cd $(top_builddir) && $(SHELL) ./config.status config.h |
2187 | 629 | $(srcdir)/config.h.in: $(am__configure_deps) | 643 | $(srcdir)/config.h.in: $(am__configure_deps) |
2189 | 630 | cd $(top_srcdir) && $(AUTOHEADER) | 644 | ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
2190 | 631 | rm -f stamp-h1 | 645 | rm -f stamp-h1 |
2191 | 632 | touch $@ | 646 | touch $@ |
2192 | 633 | 647 | ||
2193 | @@ -638,20 +652,24 @@ | |||
2194 | 638 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) | 652 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) |
2195 | 639 | @$(NORMAL_INSTALL) | 653 | @$(NORMAL_INSTALL) |
2196 | 640 | test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" | 654 | test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" |
2198 | 641 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | 655 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ |
2199 | 656 | list2=; for p in $$list; do \ | ||
2200 | 642 | if test -f $$p; then \ | 657 | if test -f $$p; then \ |
2204 | 643 | f=$(am__strip_dir) \ | 658 | list2="$$list2 $$p"; \ |
2202 | 644 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ | ||
2203 | 645 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ | ||
2205 | 646 | else :; fi; \ | 659 | else :; fi; \ |
2207 | 647 | done | 660 | done; \ |
2208 | 661 | test -z "$$list2" || { \ | ||
2209 | 662 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ | ||
2210 | 663 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ | ||
2211 | 664 | } | ||
2212 | 648 | 665 | ||
2213 | 649 | uninstall-libLTLIBRARIES: | 666 | uninstall-libLTLIBRARIES: |
2214 | 650 | @$(NORMAL_UNINSTALL) | 667 | @$(NORMAL_UNINSTALL) |
2219 | 651 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | 668 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ |
2220 | 652 | p=$(am__strip_dir) \ | 669 | for p in $$list; do \ |
2221 | 653 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ | 670 | $(am__strip_dir) \ |
2222 | 654 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ | 671 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ |
2223 | 672 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ | ||
2224 | 655 | done | 673 | done |
2225 | 656 | 674 | ||
2226 | 657 | clean-libLTLIBRARIES: | 675 | clean-libLTLIBRARIES: |
2227 | @@ -665,20 +683,24 @@ | |||
2228 | 665 | install-providerLTLIBRARIES: $(provider_LTLIBRARIES) | 683 | install-providerLTLIBRARIES: $(provider_LTLIBRARIES) |
2229 | 666 | @$(NORMAL_INSTALL) | 684 | @$(NORMAL_INSTALL) |
2230 | 667 | test -z "$(providerdir)" || $(MKDIR_P) "$(DESTDIR)$(providerdir)" | 685 | test -z "$(providerdir)" || $(MKDIR_P) "$(DESTDIR)$(providerdir)" |
2232 | 668 | @list='$(provider_LTLIBRARIES)'; for p in $$list; do \ | 686 | @list='$(provider_LTLIBRARIES)'; test -n "$(providerdir)" || list=; \ |
2233 | 687 | list2=; for p in $$list; do \ | ||
2234 | 669 | if test -f $$p; then \ | 688 | if test -f $$p; then \ |
2238 | 670 | f=$(am__strip_dir) \ | 689 | list2="$$list2 $$p"; \ |
2236 | 671 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(providerdir)/$$f'"; \ | ||
2237 | 672 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(providerdir)/$$f"; \ | ||
2239 | 673 | else :; fi; \ | 690 | else :; fi; \ |
2241 | 674 | done | 691 | done; \ |
2242 | 692 | test -z "$$list2" || { \ | ||
2243 | 693 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(providerdir)'"; \ | ||
2244 | 694 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(providerdir)"; \ | ||
2245 | 695 | } | ||
2246 | 675 | 696 | ||
2247 | 676 | uninstall-providerLTLIBRARIES: | 697 | uninstall-providerLTLIBRARIES: |
2248 | 677 | @$(NORMAL_UNINSTALL) | 698 | @$(NORMAL_UNINSTALL) |
2253 | 678 | @list='$(provider_LTLIBRARIES)'; for p in $$list; do \ | 699 | @list='$(provider_LTLIBRARIES)'; test -n "$(providerdir)" || list=; \ |
2254 | 679 | p=$(am__strip_dir) \ | 700 | for p in $$list; do \ |
2255 | 680 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(providerdir)/$$p'"; \ | 701 | $(am__strip_dir) \ |
2256 | 681 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(providerdir)/$$p"; \ | 702 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(providerdir)/$$f'"; \ |
2257 | 703 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(providerdir)/$$f"; \ | ||
2258 | 682 | done | 704 | done |
2259 | 683 | 705 | ||
2260 | 684 | clean-providerLTLIBRARIES: | 706 | clean-providerLTLIBRARIES: |
2261 | @@ -717,71 +739,118 @@ | |||
2262 | 717 | $(LINK) -rpath $(libdir) $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_LIBADD) $(LIBS) | 739 | $(LINK) -rpath $(libdir) $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_LIBADD) $(LIBS) |
2263 | 718 | 740 | ||
2264 | 719 | clean-noinstPROGRAMS: | 741 | clean-noinstPROGRAMS: |
2270 | 720 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ | 742 | @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ |
2271 | 721 | f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ | 743 | echo " rm -f" $$list; \ |
2272 | 722 | echo " rm -f $$p $$f"; \ | 744 | rm -f $$list || exit $$?; \ |
2273 | 723 | rm -f $$p $$f ; \ | 745 | test -n "$(EXEEXT)" || exit 0; \ |
2274 | 724 | done | 746 | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ |
2275 | 747 | echo " rm -f" $$list; \ | ||
2276 | 748 | rm -f $$list | ||
2277 | 725 | dmitest$(EXEEXT): $(dmitest_OBJECTS) $(dmitest_DEPENDENCIES) | 749 | dmitest$(EXEEXT): $(dmitest_OBJECTS) $(dmitest_DEPENDENCIES) |
2278 | 726 | @rm -f dmitest$(EXEEXT) | 750 | @rm -f dmitest$(EXEEXT) |
2279 | 727 | $(LINK) $(dmitest_OBJECTS) $(dmitest_LDADD) $(LIBS) | 751 | $(LINK) $(dmitest_OBJECTS) $(dmitest_LDADD) $(LIBS) |
2280 | 728 | install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS) | 752 | install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS) |
2281 | 729 | @$(NORMAL_INSTALL) | 753 | @$(NORMAL_INSTALL) |
2282 | 730 | test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" | 754 | test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" |
2284 | 731 | @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ | 755 | @list='$(pkgdata_SCRIPTS)'; test -n "$(pkgdatadir)" || list=; \ |
2285 | 756 | for p in $$list; do \ | ||
2286 | 732 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 757 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2293 | 733 | if test -f $$d$$p; then \ | 758 | if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ |
2294 | 734 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | 759 | done | \ |
2295 | 735 | echo " $(pkgdataSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ | 760 | sed -e 'p;s,.*/,,;n' \ |
2296 | 736 | $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ | 761 | -e 'h;s|.*|.|' \ |
2297 | 737 | else :; fi; \ | 762 | -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ |
2298 | 738 | done | 763 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ |
2299 | 764 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | ||
2300 | 765 | if ($$2 == $$4) { files[d] = files[d] " " $$1; \ | ||
2301 | 766 | if (++n[d] == $(am__install_max)) { \ | ||
2302 | 767 | print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ | ||
2303 | 768 | else { print "f", d "/" $$4, $$1 } } \ | ||
2304 | 769 | END { for (d in files) print "f", d, files[d] }' | \ | ||
2305 | 770 | while read type dir files; do \ | ||
2306 | 771 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | ||
2307 | 772 | test -z "$$files" || { \ | ||
2308 | 773 | echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkgdatadir)$$dir'"; \ | ||
2309 | 774 | $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkgdatadir)$$dir" || exit $$?; \ | ||
2310 | 775 | } \ | ||
2311 | 776 | ; done | ||
2312 | 739 | 777 | ||
2313 | 740 | uninstall-pkgdataSCRIPTS: | 778 | uninstall-pkgdataSCRIPTS: |
2314 | 741 | @$(NORMAL_UNINSTALL) | 779 | @$(NORMAL_UNINSTALL) |
2320 | 742 | @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ | 780 | @list='$(pkgdata_SCRIPTS)'; test -n "$(pkgdatadir)" || exit 0; \ |
2321 | 743 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | 781 | files=`for p in $$list; do echo "$$p"; done | \ |
2322 | 744 | echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ | 782 | sed -e 's,.*/,,;$(transform)'`; \ |
2323 | 745 | rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ | 783 | test -n "$$list" || exit 0; \ |
2324 | 746 | done | 784 | echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \ |
2325 | 785 | cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files | ||
2326 | 747 | install-testsuiteSCRIPTS: $(testsuite_SCRIPTS) | 786 | install-testsuiteSCRIPTS: $(testsuite_SCRIPTS) |
2327 | 748 | @$(NORMAL_INSTALL) | 787 | @$(NORMAL_INSTALL) |
2328 | 749 | test -z "$(testsuitedir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitedir)" | 788 | test -z "$(testsuitedir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitedir)" |
2330 | 750 | @list='$(testsuite_SCRIPTS)'; for p in $$list; do \ | 789 | @list='$(testsuite_SCRIPTS)'; test -n "$(testsuitedir)" || list=; \ |
2331 | 790 | for p in $$list; do \ | ||
2332 | 751 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 791 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2339 | 752 | if test -f $$d$$p; then \ | 792 | if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ |
2340 | 753 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | 793 | done | \ |
2341 | 754 | echo " $(testsuiteSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitedir)/$$f'"; \ | 794 | sed -e 'p;s,.*/,,;n' \ |
2342 | 755 | $(testsuiteSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitedir)/$$f"; \ | 795 | -e 'h;s|.*|.|' \ |
2343 | 756 | else :; fi; \ | 796 | -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ |
2344 | 757 | done | 797 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ |
2345 | 798 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | ||
2346 | 799 | if ($$2 == $$4) { files[d] = files[d] " " $$1; \ | ||
2347 | 800 | if (++n[d] == $(am__install_max)) { \ | ||
2348 | 801 | print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ | ||
2349 | 802 | else { print "f", d "/" $$4, $$1 } } \ | ||
2350 | 803 | END { for (d in files) print "f", d, files[d] }' | \ | ||
2351 | 804 | while read type dir files; do \ | ||
2352 | 805 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | ||
2353 | 806 | test -z "$$files" || { \ | ||
2354 | 807 | echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(testsuitedir)$$dir'"; \ | ||
2355 | 808 | $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(testsuitedir)$$dir" || exit $$?; \ | ||
2356 | 809 | } \ | ||
2357 | 810 | ; done | ||
2358 | 758 | 811 | ||
2359 | 759 | uninstall-testsuiteSCRIPTS: | 812 | uninstall-testsuiteSCRIPTS: |
2360 | 760 | @$(NORMAL_UNINSTALL) | 813 | @$(NORMAL_UNINSTALL) |
2366 | 761 | @list='$(testsuite_SCRIPTS)'; for p in $$list; do \ | 814 | @list='$(testsuite_SCRIPTS)'; test -n "$(testsuitedir)" || exit 0; \ |
2367 | 762 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | 815 | files=`for p in $$list; do echo "$$p"; done | \ |
2368 | 763 | echo " rm -f '$(DESTDIR)$(testsuitedir)/$$f'"; \ | 816 | sed -e 's,.*/,,;$(transform)'`; \ |
2369 | 764 | rm -f "$(DESTDIR)$(testsuitedir)/$$f"; \ | 817 | test -n "$$list" || exit 0; \ |
2370 | 765 | done | 818 | echo " ( cd '$(DESTDIR)$(testsuitedir)' && rm -f" $$files ")"; \ |
2371 | 819 | cd "$(DESTDIR)$(testsuitedir)" && rm -f $$files | ||
2372 | 766 | install-testsuitesystemSCRIPTS: $(testsuitesystem_SCRIPTS) | 820 | install-testsuitesystemSCRIPTS: $(testsuitesystem_SCRIPTS) |
2373 | 767 | @$(NORMAL_INSTALL) | 821 | @$(NORMAL_INSTALL) |
2374 | 768 | test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)" | 822 | test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)" |
2376 | 769 | @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \ | 823 | @list='$(testsuitesystem_SCRIPTS)'; test -n "$(testsuitesystemdir)" || list=; \ |
2377 | 824 | for p in $$list; do \ | ||
2378 | 770 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 825 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2385 | 771 | if test -f $$d$$p; then \ | 826 | if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ |
2386 | 772 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | 827 | done | \ |
2387 | 773 | echo " $(testsuitesystemSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ | 828 | sed -e 'p;s,.*/,,;n' \ |
2388 | 774 | $(testsuitesystemSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ | 829 | -e 'h;s|.*|.|' \ |
2389 | 775 | else :; fi; \ | 830 | -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ |
2390 | 776 | done | 831 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ |
2391 | 832 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | ||
2392 | 833 | if ($$2 == $$4) { files[d] = files[d] " " $$1; \ | ||
2393 | 834 | if (++n[d] == $(am__install_max)) { \ | ||
2394 | 835 | print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ | ||
2395 | 836 | else { print "f", d "/" $$4, $$1 } } \ | ||
2396 | 837 | END { for (d in files) print "f", d, files[d] }' | \ | ||
2397 | 838 | while read type dir files; do \ | ||
2398 | 839 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | ||
2399 | 840 | test -z "$$files" || { \ | ||
2400 | 841 | echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(testsuitesystemdir)$$dir'"; \ | ||
2401 | 842 | $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(testsuitesystemdir)$$dir" || exit $$?; \ | ||
2402 | 843 | } \ | ||
2403 | 844 | ; done | ||
2404 | 777 | 845 | ||
2405 | 778 | uninstall-testsuitesystemSCRIPTS: | 846 | uninstall-testsuitesystemSCRIPTS: |
2406 | 779 | @$(NORMAL_UNINSTALL) | 847 | @$(NORMAL_UNINSTALL) |
2412 | 780 | @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \ | 848 | @list='$(testsuitesystem_SCRIPTS)'; test -n "$(testsuitesystemdir)" || exit 0; \ |
2413 | 781 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | 849 | files=`for p in $$list; do echo "$$p"; done | \ |
2414 | 782 | echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ | 850 | sed -e 's,.*/,,;$(transform)'`; \ |
2415 | 783 | rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ | 851 | test -n "$$list" || exit 0; \ |
2416 | 784 | done | 852 | echo " ( cd '$(DESTDIR)$(testsuitesystemdir)' && rm -f" $$files ")"; \ |
2417 | 853 | cd "$(DESTDIR)$(testsuitesystemdir)" && rm -f $$files | ||
2418 | 785 | 854 | ||
2419 | 786 | mostlyclean-compile: | 855 | mostlyclean-compile: |
2420 | 787 | -rm -f *.$(OBJEXT) | 856 | -rm -f *.$(OBJEXT) |
2421 | @@ -819,21 +888,21 @@ | |||
2422 | 819 | 888 | ||
2423 | 820 | .c.o: | 889 | .c.o: |
2424 | 821 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | 890 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
2426 | 822 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | 891 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
2427 | 823 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | 892 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
2428 | 824 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | 893 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2429 | 825 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | 894 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< |
2430 | 826 | 895 | ||
2431 | 827 | .c.obj: | 896 | .c.obj: |
2432 | 828 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | 897 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
2434 | 829 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | 898 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
2435 | 830 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | 899 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
2436 | 831 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | 900 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2437 | 832 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | 901 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` |
2438 | 833 | 902 | ||
2439 | 834 | .c.lo: | 903 | .c.lo: |
2440 | 835 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | 904 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
2442 | 836 | @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | 905 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo |
2443 | 837 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | 906 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ |
2444 | 838 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | 907 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2445 | 839 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | 908 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< |
2446 | @@ -845,106 +914,121 @@ | |||
2447 | 845 | -rm -rf .libs _libs | 914 | -rm -rf .libs _libs |
2448 | 846 | 915 | ||
2449 | 847 | distclean-libtool: | 916 | distclean-libtool: |
2451 | 848 | -rm -f libtool | 917 | -rm -f libtool config.lt |
2452 | 849 | install-docDATA: $(doc_DATA) | 918 | install-docDATA: $(doc_DATA) |
2453 | 850 | @$(NORMAL_INSTALL) | 919 | @$(NORMAL_INSTALL) |
2454 | 851 | test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" | 920 | test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" |
2456 | 852 | @list='$(doc_DATA)'; for p in $$list; do \ | 921 | @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ |
2457 | 922 | for p in $$list; do \ | ||
2458 | 853 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 923 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2462 | 854 | f=$(am__strip_dir) \ | 924 | echo "$$d$$p"; \ |
2463 | 855 | echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ | 925 | done | $(am__base_list) | \ |
2464 | 856 | $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ | 926 | while read files; do \ |
2465 | 927 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ | ||
2466 | 928 | $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ | ||
2467 | 857 | done | 929 | done |
2468 | 858 | 930 | ||
2469 | 859 | uninstall-docDATA: | 931 | uninstall-docDATA: |
2470 | 860 | @$(NORMAL_UNINSTALL) | 932 | @$(NORMAL_UNINSTALL) |
2476 | 861 | @list='$(doc_DATA)'; for p in $$list; do \ | 933 | @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ |
2477 | 862 | f=$(am__strip_dir) \ | 934 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
2478 | 863 | echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ | 935 | test -n "$$files" || exit 0; \ |
2479 | 864 | rm -f "$(DESTDIR)$(docdir)/$$f"; \ | 936 | echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \ |
2480 | 865 | done | 937 | cd "$(DESTDIR)$(docdir)" && rm -f $$files |
2481 | 866 | install-pkgdataDATA: $(pkgdata_DATA) | 938 | install-pkgdataDATA: $(pkgdata_DATA) |
2482 | 867 | @$(NORMAL_INSTALL) | 939 | @$(NORMAL_INSTALL) |
2483 | 868 | test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" | 940 | test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" |
2485 | 869 | @list='$(pkgdata_DATA)'; for p in $$list; do \ | 941 | @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ |
2486 | 942 | for p in $$list; do \ | ||
2487 | 870 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 943 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2491 | 871 | f=$(am__strip_dir) \ | 944 | echo "$$d$$p"; \ |
2492 | 872 | echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ | 945 | done | $(am__base_list) | \ |
2493 | 873 | $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ | 946 | while read files; do \ |
2494 | 947 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \ | ||
2495 | 948 | $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \ | ||
2496 | 874 | done | 949 | done |
2497 | 875 | 950 | ||
2498 | 876 | uninstall-pkgdataDATA: | 951 | uninstall-pkgdataDATA: |
2499 | 877 | @$(NORMAL_UNINSTALL) | 952 | @$(NORMAL_UNINSTALL) |
2505 | 878 | @list='$(pkgdata_DATA)'; for p in $$list; do \ | 953 | @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ |
2506 | 879 | f=$(am__strip_dir) \ | 954 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
2507 | 880 | echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ | 955 | test -n "$$files" || exit 0; \ |
2508 | 881 | rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ | 956 | echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \ |
2509 | 882 | done | 957 | cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files |
2510 | 883 | install-testsuitecimDATA: $(testsuitecim_DATA) | 958 | install-testsuitecimDATA: $(testsuitecim_DATA) |
2511 | 884 | @$(NORMAL_INSTALL) | 959 | @$(NORMAL_INSTALL) |
2512 | 885 | test -z "$(testsuitecimdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitecimdir)" | 960 | test -z "$(testsuitecimdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitecimdir)" |
2514 | 886 | @list='$(testsuitecim_DATA)'; for p in $$list; do \ | 961 | @list='$(testsuitecim_DATA)'; test -n "$(testsuitecimdir)" || list=; \ |
2515 | 962 | for p in $$list; do \ | ||
2516 | 887 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 963 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2520 | 888 | f=$(am__strip_dir) \ | 964 | echo "$$d$$p"; \ |
2521 | 889 | echo " $(testsuitecimDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitecimdir)/$$f'"; \ | 965 | done | $(am__base_list) | \ |
2522 | 890 | $(testsuitecimDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitecimdir)/$$f"; \ | 966 | while read files; do \ |
2523 | 967 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(testsuitecimdir)'"; \ | ||
2524 | 968 | $(INSTALL_DATA) $$files "$(DESTDIR)$(testsuitecimdir)" || exit $$?; \ | ||
2525 | 891 | done | 969 | done |
2526 | 892 | 970 | ||
2527 | 893 | uninstall-testsuitecimDATA: | 971 | uninstall-testsuitecimDATA: |
2528 | 894 | @$(NORMAL_UNINSTALL) | 972 | @$(NORMAL_UNINSTALL) |
2534 | 895 | @list='$(testsuitecim_DATA)'; for p in $$list; do \ | 973 | @list='$(testsuitecim_DATA)'; test -n "$(testsuitecimdir)" || list=; \ |
2535 | 896 | f=$(am__strip_dir) \ | 974 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
2536 | 897 | echo " rm -f '$(DESTDIR)$(testsuitecimdir)/$$f'"; \ | 975 | test -n "$$files" || exit 0; \ |
2537 | 898 | rm -f "$(DESTDIR)$(testsuitecimdir)/$$f"; \ | 976 | echo " ( cd '$(DESTDIR)$(testsuitecimdir)' && rm -f" $$files ")"; \ |
2538 | 899 | done | 977 | cd "$(DESTDIR)$(testsuitecimdir)" && rm -f $$files |
2539 | 900 | install-testsuitesystemDATA: $(testsuitesystem_DATA) | 978 | install-testsuitesystemDATA: $(testsuitesystem_DATA) |
2540 | 901 | @$(NORMAL_INSTALL) | 979 | @$(NORMAL_INSTALL) |
2541 | 902 | test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)" | 980 | test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)" |
2543 | 903 | @list='$(testsuitesystem_DATA)'; for p in $$list; do \ | 981 | @list='$(testsuitesystem_DATA)'; test -n "$(testsuitesystemdir)" || list=; \ |
2544 | 982 | for p in $$list; do \ | ||
2545 | 904 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 983 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2549 | 905 | f=$(am__strip_dir) \ | 984 | echo "$$d$$p"; \ |
2550 | 906 | echo " $(testsuitesystemDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ | 985 | done | $(am__base_list) | \ |
2551 | 907 | $(testsuitesystemDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ | 986 | while read files; do \ |
2552 | 987 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(testsuitesystemdir)'"; \ | ||
2553 | 988 | $(INSTALL_DATA) $$files "$(DESTDIR)$(testsuitesystemdir)" || exit $$?; \ | ||
2554 | 908 | done | 989 | done |
2555 | 909 | 990 | ||
2556 | 910 | uninstall-testsuitesystemDATA: | 991 | uninstall-testsuitesystemDATA: |
2557 | 911 | @$(NORMAL_UNINSTALL) | 992 | @$(NORMAL_UNINSTALL) |
2563 | 912 | @list='$(testsuitesystem_DATA)'; for p in $$list; do \ | 993 | @list='$(testsuitesystem_DATA)'; test -n "$(testsuitesystemdir)" || list=; \ |
2564 | 913 | f=$(am__strip_dir) \ | 994 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
2565 | 914 | echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \ | 995 | test -n "$$files" || exit 0; \ |
2566 | 915 | rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \ | 996 | echo " ( cd '$(DESTDIR)$(testsuitesystemdir)' && rm -f" $$files ")"; \ |
2567 | 916 | done | 997 | cd "$(DESTDIR)$(testsuitesystemdir)" && rm -f $$files |
2568 | 917 | install-sblimincHEADERS: $(sbliminc_HEADERS) | 998 | install-sblimincHEADERS: $(sbliminc_HEADERS) |
2569 | 918 | @$(NORMAL_INSTALL) | 999 | @$(NORMAL_INSTALL) |
2570 | 919 | test -z "$(sblimincdir)" || $(MKDIR_P) "$(DESTDIR)$(sblimincdir)" | 1000 | test -z "$(sblimincdir)" || $(MKDIR_P) "$(DESTDIR)$(sblimincdir)" |
2572 | 920 | @list='$(sbliminc_HEADERS)'; for p in $$list; do \ | 1001 | @list='$(sbliminc_HEADERS)'; test -n "$(sblimincdir)" || list=; \ |
2573 | 1002 | for p in $$list; do \ | ||
2574 | 921 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 1003 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
2578 | 922 | f=$(am__strip_dir) \ | 1004 | echo "$$d$$p"; \ |
2579 | 923 | echo " $(sblimincHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sblimincdir)/$$f'"; \ | 1005 | done | $(am__base_list) | \ |
2580 | 924 | $(sblimincHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sblimincdir)/$$f"; \ | 1006 | while read files; do \ |
2581 | 1007 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(sblimincdir)'"; \ | ||
2582 | 1008 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(sblimincdir)" || exit $$?; \ | ||
2583 | 925 | done | 1009 | done |
2584 | 926 | 1010 | ||
2585 | 927 | uninstall-sblimincHEADERS: | 1011 | uninstall-sblimincHEADERS: |
2586 | 928 | @$(NORMAL_UNINSTALL) | 1012 | @$(NORMAL_UNINSTALL) |
2592 | 929 | @list='$(sbliminc_HEADERS)'; for p in $$list; do \ | 1013 | @list='$(sbliminc_HEADERS)'; test -n "$(sblimincdir)" || list=; \ |
2593 | 930 | f=$(am__strip_dir) \ | 1014 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
2594 | 931 | echo " rm -f '$(DESTDIR)$(sblimincdir)/$$f'"; \ | 1015 | test -n "$$files" || exit 0; \ |
2595 | 932 | rm -f "$(DESTDIR)$(sblimincdir)/$$f"; \ | 1016 | echo " ( cd '$(DESTDIR)$(sblimincdir)' && rm -f" $$files ")"; \ |
2596 | 933 | done | 1017 | cd "$(DESTDIR)$(sblimincdir)" && rm -f $$files |
2597 | 934 | 1018 | ||
2598 | 935 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | 1019 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
2599 | 936 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | 1020 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
2600 | 937 | unique=`for i in $$list; do \ | 1021 | unique=`for i in $$list; do \ |
2601 | 938 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 1022 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2602 | 939 | done | \ | 1023 | done | \ |
2604 | 940 | $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ | 1024 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
2605 | 941 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | 1025 | END { if (nonempty) { for (i in files) print i; }; }'`; \ |
2606 | 942 | mkid -fID $$unique | 1026 | mkid -fID $$unique |
2607 | 943 | tags: TAGS | 1027 | tags: TAGS |
2608 | 944 | 1028 | ||
2609 | 945 | TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | 1029 | TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
2610 | 946 | $(TAGS_FILES) $(LISP) | 1030 | $(TAGS_FILES) $(LISP) |
2612 | 947 | tags=; \ | 1031 | set x; \ |
2613 | 948 | here=`pwd`; \ | 1032 | here=`pwd`; \ |
2614 | 949 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | 1033 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
2615 | 950 | unique=`for i in $$list; do \ | 1034 | unique=`for i in $$list; do \ |
2616 | @@ -952,36 +1036,41 @@ | |||
2617 | 952 | done | \ | 1036 | done | \ |
2618 | 953 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | 1037 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
2619 | 954 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | 1038 | END { if (nonempty) { for (i in files) print i; }; }'`; \ |
2621 | 955 | if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ | 1039 | shift; \ |
2622 | 1040 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
2623 | 956 | test -n "$$unique" || unique=$$empty_fix; \ | 1041 | test -n "$$unique" || unique=$$empty_fix; \ |
2626 | 957 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | 1042 | if test $$# -gt 0; then \ |
2627 | 958 | $$tags $$unique; \ | 1043 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
2628 | 1044 | "$$@" $$unique; \ | ||
2629 | 1045 | else \ | ||
2630 | 1046 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
2631 | 1047 | $$unique; \ | ||
2632 | 1048 | fi; \ | ||
2633 | 959 | fi | 1049 | fi |
2634 | 960 | ctags: CTAGS | 1050 | ctags: CTAGS |
2635 | 961 | CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | 1051 | CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
2636 | 962 | $(TAGS_FILES) $(LISP) | 1052 | $(TAGS_FILES) $(LISP) |
2637 | 963 | tags=; \ | ||
2638 | 964 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | 1053 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
2639 | 965 | unique=`for i in $$list; do \ | 1054 | unique=`for i in $$list; do \ |
2640 | 966 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 1055 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2641 | 967 | done | \ | 1056 | done | \ |
2642 | 968 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | 1057 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
2643 | 969 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | 1058 | END { if (nonempty) { for (i in files) print i; }; }'`; \ |
2645 | 970 | test -z "$(CTAGS_ARGS)$$tags$$unique" \ | 1059 | test -z "$(CTAGS_ARGS)$$unique" \ |
2646 | 971 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | 1060 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
2648 | 972 | $$tags $$unique | 1061 | $$unique |
2649 | 973 | 1062 | ||
2650 | 974 | GTAGS: | 1063 | GTAGS: |
2651 | 975 | here=`$(am__cd) $(top_builddir) && pwd` \ | 1064 | here=`$(am__cd) $(top_builddir) && pwd` \ |
2654 | 976 | && cd $(top_srcdir) \ | 1065 | && $(am__cd) $(top_srcdir) \ |
2655 | 977 | && gtags -i $(GTAGS_ARGS) $$here | 1066 | && gtags -i $(GTAGS_ARGS) "$$here" |
2656 | 978 | 1067 | ||
2657 | 979 | distclean-tags: | 1068 | distclean-tags: |
2658 | 980 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 1069 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
2659 | 981 | 1070 | ||
2660 | 982 | distdir: $(DISTFILES) | 1071 | distdir: $(DISTFILES) |
2661 | 983 | $(am__remove_distdir) | 1072 | $(am__remove_distdir) |
2663 | 984 | test -d $(distdir) || mkdir $(distdir) | 1073 | test -d "$(distdir)" || mkdir "$(distdir)" |
2664 | 985 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | 1074 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
2665 | 986 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | 1075 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
2666 | 987 | list='$(DISTFILES)'; \ | 1076 | list='$(DISTFILES)'; \ |
2667 | @@ -997,28 +1086,33 @@ | |||
2668 | 997 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | 1086 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
2669 | 998 | if test -d $$d/$$file; then \ | 1087 | if test -d $$d/$$file; then \ |
2670 | 999 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | 1088 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
2671 | 1089 | if test -d "$(distdir)/$$file"; then \ | ||
2672 | 1090 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
2673 | 1091 | fi; \ | ||
2674 | 1000 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | 1092 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
2676 | 1001 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | 1093 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
2677 | 1094 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
2678 | 1002 | fi; \ | 1095 | fi; \ |
2680 | 1003 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | 1096 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
2681 | 1004 | else \ | 1097 | else \ |
2684 | 1005 | test -f $(distdir)/$$file \ | 1098 | test -f "$(distdir)/$$file" \ |
2685 | 1006 | || cp -p $$d/$$file $(distdir)/$$file \ | 1099 | || cp -p $$d/$$file "$(distdir)/$$file" \ |
2686 | 1007 | || exit 1; \ | 1100 | || exit 1; \ |
2687 | 1008 | fi; \ | 1101 | fi; \ |
2688 | 1009 | done | 1102 | done |
2689 | 1010 | $(MAKE) $(AM_MAKEFLAGS) \ | 1103 | $(MAKE) $(AM_MAKEFLAGS) \ |
2690 | 1011 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ | 1104 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ |
2691 | 1012 | dist-hook | 1105 | dist-hook |
2693 | 1013 | -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ | 1106 | -test -n "$(am__skip_mode_fix)" \ |
2694 | 1107 | || find "$(distdir)" -type d ! -perm -755 \ | ||
2695 | 1108 | -exec chmod u+rwx,go+rx {} \; -o \ | ||
2696 | 1014 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ | 1109 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
2697 | 1015 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | 1110 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
2698 | 1016 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | 1111 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
2700 | 1017 | || chmod -R a+r $(distdir) | 1112 | || chmod -R a+r "$(distdir)" |
2701 | 1018 | dist-gzip: distdir | 1113 | dist-gzip: distdir |
2702 | 1019 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | 1114 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
2703 | 1020 | $(am__remove_distdir) | 1115 | $(am__remove_distdir) |
2704 | 1021 | |||
2705 | 1022 | dist-bzip2: distdir | 1116 | dist-bzip2: distdir |
2706 | 1023 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | 1117 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
2707 | 1024 | $(am__remove_distdir) | 1118 | $(am__remove_distdir) |
2708 | @@ -1027,6 +1121,10 @@ | |||
2709 | 1027 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | 1121 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
2710 | 1028 | $(am__remove_distdir) | 1122 | $(am__remove_distdir) |
2711 | 1029 | 1123 | ||
2712 | 1124 | dist-xz: distdir | ||
2713 | 1125 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | ||
2714 | 1126 | $(am__remove_distdir) | ||
2715 | 1127 | |||
2716 | 1030 | dist-tarZ: distdir | 1128 | dist-tarZ: distdir |
2717 | 1031 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | 1129 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
2718 | 1032 | $(am__remove_distdir) | 1130 | $(am__remove_distdir) |
2719 | @@ -1041,7 +1139,7 @@ | |||
2720 | 1041 | $(am__remove_distdir) | 1139 | $(am__remove_distdir) |
2721 | 1042 | 1140 | ||
2722 | 1043 | dist dist-all: distdir | 1141 | dist dist-all: distdir |
2724 | 1044 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | 1142 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
2725 | 1045 | $(am__remove_distdir) | 1143 | $(am__remove_distdir) |
2726 | 1046 | 1144 | ||
2727 | 1047 | # This target untars the dist file and tries a VPATH configuration. Then | 1145 | # This target untars the dist file and tries a VPATH configuration. Then |
2728 | @@ -1050,15 +1148,17 @@ | |||
2729 | 1050 | distcheck: dist | 1148 | distcheck: dist |
2730 | 1051 | case '$(DIST_ARCHIVES)' in \ | 1149 | case '$(DIST_ARCHIVES)' in \ |
2731 | 1052 | *.tar.gz*) \ | 1150 | *.tar.gz*) \ |
2733 | 1053 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ | 1151 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
2734 | 1054 | *.tar.bz2*) \ | 1152 | *.tar.bz2*) \ |
2736 | 1055 | bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ | 1153 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
2737 | 1056 | *.tar.lzma*) \ | 1154 | *.tar.lzma*) \ |
2739 | 1057 | unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ | 1155 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
2740 | 1156 | *.tar.xz*) \ | ||
2741 | 1157 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | ||
2742 | 1058 | *.tar.Z*) \ | 1158 | *.tar.Z*) \ |
2743 | 1059 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | 1159 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
2744 | 1060 | *.shar.gz*) \ | 1160 | *.shar.gz*) \ |
2746 | 1061 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ | 1161 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
2747 | 1062 | *.zip*) \ | 1162 | *.zip*) \ |
2748 | 1063 | unzip $(distdir).zip ;;\ | 1163 | unzip $(distdir).zip ;;\ |
2749 | 1064 | esac | 1164 | esac |
2750 | @@ -1066,9 +1166,11 @@ | |||
2751 | 1066 | mkdir $(distdir)/_build | 1166 | mkdir $(distdir)/_build |
2752 | 1067 | mkdir $(distdir)/_inst | 1167 | mkdir $(distdir)/_inst |
2753 | 1068 | chmod a-w $(distdir) | 1168 | chmod a-w $(distdir) |
2754 | 1169 | test -d $(distdir)/_build || exit 0; \ | ||
2755 | 1069 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ | 1170 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
2756 | 1070 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | 1171 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
2758 | 1071 | && cd $(distdir)/_build \ | 1172 | && am__cwd=`pwd` \ |
2759 | 1173 | && $(am__cd) $(distdir)/_build \ | ||
2760 | 1072 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | 1174 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
2761 | 1073 | $(DISTCHECK_CONFIGURE_FLAGS) \ | 1175 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
2762 | 1074 | && $(MAKE) $(AM_MAKEFLAGS) \ | 1176 | && $(MAKE) $(AM_MAKEFLAGS) \ |
2763 | @@ -1090,13 +1192,15 @@ | |||
2764 | 1090 | && rm -rf "$$dc_destdir" \ | 1192 | && rm -rf "$$dc_destdir" \ |
2765 | 1091 | && $(MAKE) $(AM_MAKEFLAGS) dist \ | 1193 | && $(MAKE) $(AM_MAKEFLAGS) dist \ |
2766 | 1092 | && rm -rf $(DIST_ARCHIVES) \ | 1194 | && rm -rf $(DIST_ARCHIVES) \ |
2768 | 1093 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck | 1195 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
2769 | 1196 | && cd "$$am__cwd" \ | ||
2770 | 1197 | || exit 1 | ||
2771 | 1094 | $(am__remove_distdir) | 1198 | $(am__remove_distdir) |
2772 | 1095 | @(echo "$(distdir) archives ready for distribution: "; \ | 1199 | @(echo "$(distdir) archives ready for distribution: "; \ |
2773 | 1096 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | 1200 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
2774 | 1097 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' | 1201 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
2775 | 1098 | distuninstallcheck: | 1202 | distuninstallcheck: |
2777 | 1099 | @cd $(distuninstallcheck_dir) \ | 1203 | @$(am__cd) '$(distuninstallcheck_dir)' \ |
2778 | 1100 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | 1204 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
2779 | 1101 | || { echo "ERROR: files left after uninstall:" ; \ | 1205 | || { echo "ERROR: files left after uninstall:" ; \ |
2780 | 1102 | if test -n "$(DESTDIR)"; then \ | 1206 | if test -n "$(DESTDIR)"; then \ |
2781 | @@ -1141,6 +1245,7 @@ | |||
2782 | 1141 | 1245 | ||
2783 | 1142 | distclean-generic: | 1246 | distclean-generic: |
2784 | 1143 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | 1247 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
2785 | 1248 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
2786 | 1144 | 1249 | ||
2787 | 1145 | maintainer-clean-generic: | 1250 | maintainer-clean-generic: |
2788 | 1146 | @echo "This command is intended for maintainers to use" | 1251 | @echo "This command is intended for maintainers to use" |
2789 | @@ -1163,6 +1268,8 @@ | |||
2790 | 1163 | 1268 | ||
2791 | 1164 | html: html-am | 1269 | html: html-am |
2792 | 1165 | 1270 | ||
2793 | 1271 | html-am: | ||
2794 | 1272 | |||
2795 | 1166 | info: info-am | 1273 | info: info-am |
2796 | 1167 | 1274 | ||
2797 | 1168 | info-am: | 1275 | info-am: |
2798 | @@ -1175,18 +1282,28 @@ | |||
2799 | 1175 | 1282 | ||
2800 | 1176 | install-dvi: install-dvi-am | 1283 | install-dvi: install-dvi-am |
2801 | 1177 | 1284 | ||
2802 | 1285 | install-dvi-am: | ||
2803 | 1286 | |||
2804 | 1178 | install-exec-am: install-libLTLIBRARIES | 1287 | install-exec-am: install-libLTLIBRARIES |
2805 | 1179 | 1288 | ||
2806 | 1180 | install-html: install-html-am | 1289 | install-html: install-html-am |
2807 | 1181 | 1290 | ||
2808 | 1291 | install-html-am: | ||
2809 | 1292 | |||
2810 | 1182 | install-info: install-info-am | 1293 | install-info: install-info-am |
2811 | 1183 | 1294 | ||
2812 | 1295 | install-info-am: | ||
2813 | 1296 | |||
2814 | 1184 | install-man: | 1297 | install-man: |
2815 | 1185 | 1298 | ||
2816 | 1186 | install-pdf: install-pdf-am | 1299 | install-pdf: install-pdf-am |
2817 | 1187 | 1300 | ||
2818 | 1301 | install-pdf-am: | ||
2819 | 1302 | |||
2820 | 1188 | install-ps: install-ps-am | 1303 | install-ps: install-ps-am |
2821 | 1189 | 1304 | ||
2822 | 1305 | install-ps-am: | ||
2823 | 1306 | |||
2824 | 1190 | installcheck-am: | 1307 | installcheck-am: |
2825 | 1191 | 1308 | ||
2826 | 1192 | maintainer-clean: maintainer-clean-am | 1309 | maintainer-clean: maintainer-clean-am |
2827 | @@ -1215,21 +1332,21 @@ | |||
2828 | 1215 | uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \ | 1332 | uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \ |
2829 | 1216 | uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS | 1333 | uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS |
2830 | 1217 | 1334 | ||
2832 | 1218 | .MAKE: install-am install-strip | 1335 | .MAKE: all install-am install-strip |
2833 | 1219 | 1336 | ||
2834 | 1220 | .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ | 1337 | .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ |
2835 | 1221 | clean-generic clean-libLTLIBRARIES clean-libtool \ | 1338 | clean-generic clean-libLTLIBRARIES clean-libtool \ |
2836 | 1222 | clean-noinstPROGRAMS clean-providerLTLIBRARIES ctags dist \ | 1339 | clean-noinstPROGRAMS clean-providerLTLIBRARIES ctags dist \ |
2837 | 1223 | dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \ | 1340 | dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \ |
2847 | 1224 | dist-tarZ dist-zip distcheck distclean distclean-compile \ | 1341 | dist-tarZ dist-xz dist-zip distcheck distclean \ |
2848 | 1225 | distclean-generic distclean-hdr distclean-libtool \ | 1342 | distclean-compile distclean-generic distclean-hdr \ |
2849 | 1226 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ | 1343 | distclean-libtool distclean-tags distcleancheck distdir \ |
2850 | 1227 | dvi-am html html-am info info-am install install-am \ | 1344 | distuninstallcheck dvi dvi-am html html-am info info-am \ |
2851 | 1228 | install-data install-data-am install-docDATA install-dvi \ | 1345 | install install-am install-data install-data-am \ |
2852 | 1229 | install-dvi-am install-exec install-exec-am install-html \ | 1346 | install-docDATA install-dvi install-dvi-am install-exec \ |
2853 | 1230 | install-html-am install-info install-info-am \ | 1347 | install-exec-am install-html install-html-am install-info \ |
2854 | 1231 | install-libLTLIBRARIES install-man install-pdf install-pdf-am \ | 1348 | install-info-am install-libLTLIBRARIES install-man install-pdf \ |
2855 | 1232 | install-pkgdataDATA install-pkgdataSCRIPTS \ | 1349 | install-pdf-am install-pkgdataDATA install-pkgdataSCRIPTS \ |
2856 | 1233 | install-providerLTLIBRARIES install-ps install-ps-am \ | 1350 | install-providerLTLIBRARIES install-ps install-ps-am \ |
2857 | 1234 | install-sblimincHEADERS install-strip install-testsuiteSCRIPTS \ | 1351 | install-sblimincHEADERS install-strip install-testsuiteSCRIPTS \ |
2858 | 1235 | install-testsuitecimDATA install-testsuitesystemDATA \ | 1352 | install-testsuitecimDATA install-testsuitesystemDATA \ |
2859 | @@ -1256,6 +1373,7 @@ | |||
2860 | 1256 | 1373 | ||
2861 | 1257 | @TESTSUITE_TRUE@runtest: install | 1374 | @TESTSUITE_TRUE@runtest: install |
2862 | 1258 | @TESTSUITE_TRUE@ cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh | 1375 | @TESTSUITE_TRUE@ cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh |
2863 | 1376 | |||
2864 | 1259 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | 1377 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
2865 | 1260 | # Otherwise a system limit (for SysV at least) may be exceeded. | 1378 | # Otherwise a system limit (for SysV at least) may be exceeded. |
2866 | 1261 | .NOEXPORT: | 1379 | .NOEXPORT: |
2867 | 1262 | 1380 | ||
2868 | === modified file 'NEWS' | |||
2869 | --- NEWS 2009-07-29 14:43:34 +0000 | |||
2870 | +++ NEWS 2013-01-12 05:25:23 +0000 | |||
2871 | @@ -1,3 +1,21 @@ | |||
2872 | 1 | Changes in Version 1.6.2 | ||
2873 | 2 | ======================== | ||
2874 | 3 | |||
2875 | 4 | Bugs Fixed: | ||
2876 | 5 | - 3275169 bash error reported in provider bootstrap scripts | ||
2877 | 6 | - 3306580 wrong OperatingSystem.Version prop value on RHEL6 | ||
2878 | 7 | - 3424288 Underlinked libcmpiOSBase_ProcessorProvider.so | ||
2879 | 8 | - 3582069 Linux_UnixProcess command injection vulnerability | ||
2880 | 9 | |||
2881 | 10 | Changes in Version 1.6.1 | ||
2882 | 11 | ======================== | ||
2883 | 12 | |||
2884 | 13 | Bugs Fixed: | ||
2885 | 14 | - 2843613 Missing fclose in sblim-cmpi-base | ||
2886 | 15 | - 2882514 leak in sblim-cmpi-base-1.5.9/cmpiOSBase_OperatingSystem.c | ||
2887 | 16 | - 2836926 _osbase_common_init unreliable | ||
2888 | 17 | - 2610775 ProcessorProvider crashes on exit | ||
2889 | 18 | |||
2890 | 1 | Changes in Version 1.6.0 | 19 | Changes in Version 1.6.0 |
2891 | 2 | ======================== | 20 | ======================== |
2892 | 3 | 21 | ||
2893 | 4 | 22 | ||
2894 | === modified file 'OSBase_Common.c' | |||
2895 | --- OSBase_Common.c 2009-07-29 14:43:34 +0000 | |||
2896 | +++ OSBase_Common.c 2013-01-12 05:25:23 +0000 | |||
2897 | @@ -42,6 +42,7 @@ | |||
2898 | 42 | 42 | ||
2899 | 43 | /* ---------------------------------------------------------------------------*/ | 43 | /* ---------------------------------------------------------------------------*/ |
2900 | 44 | 44 | ||
2901 | 45 | #define DEFAULT_HOST_NAME "localhost.localdomain" | ||
2902 | 45 | char * CIM_HOST_NAME = NULL; | 46 | char * CIM_HOST_NAME = NULL; |
2903 | 46 | char * CIM_OS_NAME = NULL; | 47 | char * CIM_OS_NAME = NULL; |
2904 | 47 | int CIM_OS_TIMEZONE = 999; | 48 | int CIM_OS_TIMEZONE = 999; |
2905 | @@ -155,7 +156,9 @@ | |||
2906 | 155 | _OSBASE_TRACE(4,("--- _init_system_name() called : init")); | 156 | _OSBASE_TRACE(4,("--- _init_system_name() called : init")); |
2907 | 156 | 157 | ||
2908 | 157 | host = calloc(1,255); | 158 | host = calloc(1,255); |
2910 | 158 | if ( gethostname(host, 255 ) == -1 ) { return; } | 159 | if ( gethostname(host, 255 ) == -1 ) { |
2911 | 160 | _OSBASE_TRACE(4,("--- _init_system_name() : gethostname returned -1")); | ||
2912 | 161 | } | ||
2913 | 159 | /* if host does not contain a '.' we can suppose, that the domain is not | 162 | /* if host does not contain a '.' we can suppose, that the domain is not |
2914 | 160 | * available in the current value. but we try to get the full qualified | 163 | * available in the current value. but we try to get the full qualified |
2915 | 161 | * hostname. | 164 | * hostname. |
2916 | @@ -185,6 +188,9 @@ | |||
2917 | 185 | strcat( CIM_HOST_NAME, "."); | 188 | strcat( CIM_HOST_NAME, "."); |
2918 | 186 | strcat( CIM_HOST_NAME, domain ); | 189 | strcat( CIM_HOST_NAME, domain ); |
2919 | 187 | } | 190 | } |
2920 | 191 | } else { | ||
2921 | 192 | CIM_HOST_NAME = calloc(1, (strlen(DEFAULT_HOST_NAME) + 1)); | ||
2922 | 193 | strcpy(CIM_HOST_NAME, DEFAULT_HOST_NAME); | ||
2923 | 188 | } | 194 | } |
2924 | 189 | 195 | ||
2925 | 190 | if(host) free(host); | 196 | if(host) free(host); |
2926 | 191 | 197 | ||
2927 | === modified file 'OSBase_OperatingSystem.c' | |||
2928 | --- OSBase_OperatingSystem.c 2009-07-29 14:43:34 +0000 | |||
2929 | +++ OSBase_OperatingSystem.c 2013-01-12 05:25:23 +0000 | |||
2930 | @@ -143,7 +143,7 @@ | |||
2931 | 143 | 143 | ||
2932 | 144 | _OSBASE_TRACE(4,("--- _init_os_distro() called : init")); | 144 | _OSBASE_TRACE(4,("--- _init_os_distro() called : init")); |
2933 | 145 | 145 | ||
2935 | 146 | rc = runcommand( "find /etc/ -type f -maxdepth 1 -name *release* 2>/dev/null" , NULL , &hdout , NULL ); | 146 | rc = runcommand( "find /etc/ -maxdepth 1 -type f -name *release 2>/dev/null" , NULL , &hdout , NULL ); |
2936 | 147 | if( rc == 0 && *hdout != NULL) { | 147 | if( rc == 0 && *hdout != NULL) { |
2937 | 148 | while (hdout[j] && hdout[j][0]) { | 148 | while (hdout[j] && hdout[j][0]) { |
2938 | 149 | if (strstr(hdout[j],"lsb-release") && hdout[j+1] && hdout[j+1][0]) { | 149 | if (strstr(hdout[j],"lsb-release") && hdout[j+1] && hdout[j+1][0]) { |
2939 | 150 | 150 | ||
2940 | === modified file 'OSBase_OperatingSystemStatisticalData.c' | |||
2941 | --- OSBase_OperatingSystemStatisticalData.c 2009-07-29 14:43:34 +0000 | |||
2942 | +++ OSBase_OperatingSystemStatisticalData.c 2013-01-12 05:25:23 +0000 | |||
2943 | @@ -155,6 +155,7 @@ | |||
2944 | 155 | if ((f = fopen(DATA_FILE,"r")) != NULL) { | 155 | if ((f = fopen(DATA_FILE,"r")) != NULL) { |
2945 | 156 | read_count = fread(buf,sizeof(char),sizeof(buf)-1,f); | 156 | read_count = fread(buf,sizeof(char),sizeof(buf)-1,f); |
2946 | 157 | buf[read_count] = '\0'; | 157 | buf[read_count] = '\0'; |
2947 | 158 | fclose(f); | ||
2948 | 158 | 159 | ||
2949 | 159 | /* read cpu data | 160 | /* read cpu data |
2950 | 160 | * | 161 | * |
2951 | 161 | 162 | ||
2952 | === modified file 'OSBase_Processor.c' | |||
2953 | --- OSBase_Processor.c 2009-07-29 14:43:34 +0000 | |||
2954 | +++ OSBase_Processor.c 2013-01-12 05:25:23 +0000 | |||
2955 | @@ -56,6 +56,7 @@ | |||
2956 | 56 | #define SAMPLE_PERIOD 60 | 56 | #define SAMPLE_PERIOD 60 |
2957 | 57 | #define SAMPLE_INTERVAL 10 | 57 | #define SAMPLE_INTERVAL 10 |
2958 | 58 | static int SAMPLE_CPU = 1; | 58 | static int SAMPLE_CPU = 1; |
2959 | 59 | static int running = 1; | ||
2960 | 59 | 60 | ||
2961 | 60 | static pthread_t tid; | 61 | static pthread_t tid; |
2962 | 61 | 62 | ||
2963 | @@ -123,12 +124,6 @@ | |||
2964 | 123 | struct cpu_sample * cur_ptr; | 124 | struct cpu_sample * cur_ptr; |
2965 | 124 | int i; | 125 | int i; |
2966 | 125 | 126 | ||
2967 | 126 | /* SAMPLE_CPU = 0; */ | ||
2968 | 127 | /* pthread_join(tid, NULL); */ | ||
2969 | 128 | |||
2970 | 129 | pthread_cancel(tid); | ||
2971 | 130 | /* sleep(1); */ | ||
2972 | 131 | |||
2973 | 132 | for (i = 0; i < num_cpus; i++) { | 127 | for (i = 0; i < num_cpus; i++) { |
2974 | 133 | cur_ptr = cpu_samples[i]->next; | 128 | cur_ptr = cpu_samples[i]->next; |
2975 | 134 | cpu_samples[i]->next = NULL; | 129 | cpu_samples[i]->next = NULL; |
2976 | @@ -143,6 +138,13 @@ | |||
2977 | 143 | /* free(cpu_loads); */ | 138 | /* free(cpu_loads); */ |
2978 | 144 | } | 139 | } |
2979 | 145 | 140 | ||
2980 | 141 | int proc_cancel_thread() { | ||
2981 | 142 | running = 0; | ||
2982 | 143 | pthread_join(tid, NULL); | ||
2983 | 144 | |||
2984 | 145 | return 1; | ||
2985 | 146 | } | ||
2986 | 147 | |||
2987 | 146 | int enum_all_processor( struct processorlist ** lptr ) { | 148 | int enum_all_processor( struct processorlist ** lptr ) { |
2988 | 147 | struct processorlist * lptrhelp = NULL; | 149 | struct processorlist * lptrhelp = NULL; |
2989 | 148 | char ** hdout = NULL; | 150 | char ** hdout = NULL; |
2990 | @@ -555,7 +557,7 @@ | |||
2991 | 555 | int count = 0; | 557 | int count = 0; |
2992 | 556 | int i; | 558 | int i; |
2993 | 557 | 559 | ||
2995 | 558 | while (1) { | 560 | while (running) { |
2996 | 559 | sleep(SAMPLE_INTERVAL); | 561 | sleep(SAMPLE_INTERVAL); |
2997 | 560 | 562 | ||
2998 | 561 | for (i = 0; i < num_cpus; i++) { | 563 | for (i = 0; i < num_cpus; i++) { |
2999 | 562 | 564 | ||
3000 | === modified file 'OSBase_Processor.h' | |||
3001 | --- OSBase_Processor.h 2009-07-29 14:43:34 +0000 | |||
3002 | +++ OSBase_Processor.h 2013-01-12 05:25:23 +0000 | |||
3003 | @@ -58,6 +58,8 @@ | |||
3004 | 58 | void free_processorlist( struct processorlist * ); | 58 | void free_processorlist( struct processorlist * ); |
3005 | 59 | void free_processor( struct cim_processor * ); | 59 | void free_processor( struct cim_processor * ); |
3006 | 60 | 60 | ||
3007 | 61 | int proc_cancel_thread(); | ||
3008 | 62 | |||
3009 | 61 | /* ---------------------------------------------------------------------------*/ | 63 | /* ---------------------------------------------------------------------------*/ |
3010 | 62 | 64 | ||
3011 | 63 | #ifdef __cplusplus | 65 | #ifdef __cplusplus |
3012 | 64 | 66 | ||
3013 | === modified file 'OSBase_UnixProcess.c' | |||
3014 | --- OSBase_UnixProcess.c 2009-07-29 14:43:34 +0000 | |||
3015 | +++ OSBase_UnixProcess.c 2013-01-12 05:25:23 +0000 | |||
3016 | @@ -86,21 +86,28 @@ | |||
3017 | 86 | char * cmd = NULL; | 86 | char * cmd = NULL; |
3018 | 87 | char * str = NULL; | 87 | char * str = NULL; |
3019 | 88 | char * ptr = NULL; | 88 | char * ptr = NULL; |
3021 | 89 | DIR * dpid = NULL; | 89 | char buf[256]; |
3022 | 90 | int len = 0; | ||
3023 | 90 | int i = 0; | 91 | int i = 0; |
3024 | 91 | int rc = 0; | 92 | int rc = 0; |
3025 | 92 | 93 | ||
3026 | 93 | _OSBASE_TRACE(3,("--- get_process_data() called")); | 94 | _OSBASE_TRACE(3,("--- get_process_data() called")); |
3027 | 94 | 95 | ||
3031 | 95 | cmd = (char*)malloc((strlen(pid)+100)); | 96 | sscanf(pid, "%[0-9] %n", buf, &len); |
3032 | 96 | sprintf(cmd, "ps -p %s --no-headers -eo pid,ppid,tty,pri,nice,uid,gid,pmem,pcpu,cputime,session,state,args",pid); | 97 | if (len != strlen(pid)) { |
3033 | 97 | rc = runcommand( cmd , NULL, &hdout, NULL ); | 98 | _OSBASE_TRACE(3,("--- get_process_data() failed : PID %s not valid", pid)); |
3034 | 99 | return -1; | ||
3035 | 100 | } | ||
3036 | 101 | |||
3037 | 102 | cmd = (char*)malloc(len + 100); | ||
3038 | 103 | sprintf(cmd, "ps -p %s --no-headers -o pid,ppid,tty,pri,nice,uid,gid,pmem,pcpu,cputime,session,state,args",buf); | ||
3039 | 104 | rc = runcommand( cmd , NULL, &hdout, NULL ); | ||
3040 | 98 | if (rc == 0) { | 105 | if (rc == 0) { |
3041 | 99 | while( hdout[i] ) { | 106 | while( hdout[i] ) { |
3042 | 100 | if((ptr=strchr(hdout[i], '\n'))) { *ptr = '\0'; } | 107 | if((ptr=strchr(hdout[i], '\n'))) { *ptr = '\0'; } |
3043 | 101 | str = hdout[i]; | 108 | str = hdout[i]; |
3044 | 102 | while( *str == ' ' ) { str = str+1; } | 109 | while( *str == ' ' ) { str = str+1; } |
3046 | 103 | if( strncmp( str,pid,strlen(pid)) == 0 ) { | 110 | if( strncmp( str,buf,len) == 0 ) { |
3047 | 104 | rc = _process_data( hdout[i], sptr ); | 111 | rc = _process_data( hdout[i], sptr ); |
3048 | 105 | break; | 112 | break; |
3049 | 106 | } | 113 | } |
3050 | @@ -108,7 +115,6 @@ | |||
3051 | 108 | } | 115 | } |
3052 | 109 | free ( cmd ); | 116 | free ( cmd ); |
3053 | 110 | freeresultbuf( hdout ); | 117 | freeresultbuf( hdout ); |
3054 | 111 | closedir(dpid); | ||
3055 | 112 | } | 118 | } |
3056 | 113 | else { | 119 | else { |
3057 | 114 | _OSBASE_TRACE(3,("--- get_process_data() failed : PID %s not valid",pid)); | 120 | _OSBASE_TRACE(3,("--- get_process_data() failed : PID %s not valid",pid)); |
3058 | 115 | 121 | ||
3059 | === modified file 'aclocal.m4' | |||
3060 | --- aclocal.m4 2009-01-26 14:11:21 +0000 | |||
3061 | +++ aclocal.m4 2013-01-12 05:25:23 +0000 | |||
3062 | @@ -1,7 +1,7 @@ | |||
3064 | 1 | # generated automatically by aclocal 1.10.1 -*- Autoconf -*- | 1 | # generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
3065 | 2 | 2 | ||
3066 | 3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
3068 | 4 | # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | 4 | # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
3069 | 5 | # This file is free software; the Free Software Foundation | 5 | # This file is free software; the Free Software Foundation |
3070 | 6 | # gives unlimited permission to copy and/or distribute it, | 6 | # gives unlimited permission to copy and/or distribute it, |
3071 | 7 | # with or without modifications, as long as this notice is preserved. | 7 | # with or without modifications, as long as this notice is preserved. |
3072 | @@ -13,108 +13,194 @@ | |||
3073 | 13 | 13 | ||
3074 | 14 | m4_ifndef([AC_AUTOCONF_VERSION], | 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
3075 | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
3078 | 16 | m4_if(AC_AUTOCONF_VERSION, [2.61],, | 16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |
3079 | 17 | [m4_warning([this file was generated for autoconf 2.61. | 17 | [m4_warning([this file was generated for autoconf 2.68. |
3080 | 18 | You have another version of autoconf. It may work, but is not guaranteed to. | 18 | You have another version of autoconf. It may work, but is not guaranteed to. |
3081 | 19 | If you have problems, you may need to regenerate the build system entirely. | 19 | If you have problems, you may need to regenerate the build system entirely. |
3082 | 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
3083 | 21 | 21 | ||
3084 | 22 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- | 22 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
3141 | 23 | 23 | # | |
3142 | 24 | # serial 52 AC_PROG_LIBTOOL | 24 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
3143 | 25 | 25 | # 2006, 2007, 2008 Free Software Foundation, Inc. | |
3144 | 26 | 26 | # Written by Gordon Matzigkeit, 1996 | |
3145 | 27 | # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) | 27 | # |
3146 | 28 | # ----------------------------------------------------------- | 28 | # This file is free software; the Free Software Foundation gives |
3147 | 29 | # If this macro is not defined by Autoconf, define it here. | 29 | # unlimited permission to copy and/or distribute it, with or without |
3148 | 30 | m4_ifdef([AC_PROVIDE_IFELSE], | 30 | # modifications, as long as this notice is preserved. |
3149 | 31 | [], | 31 | |
3150 | 32 | [m4_define([AC_PROVIDE_IFELSE], | 32 | m4_define([_LT_COPYING], [dnl |
3151 | 33 | [m4_ifdef([AC_PROVIDE_$1], | 33 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
3152 | 34 | [$2], [$3])])]) | 34 | # 2006, 2007, 2008 Free Software Foundation, Inc. |
3153 | 35 | 35 | # Written by Gordon Matzigkeit, 1996 | |
3154 | 36 | 36 | # | |
3155 | 37 | # AC_PROG_LIBTOOL | 37 | # This file is part of GNU Libtool. |
3156 | 38 | # --------------- | 38 | # |
3157 | 39 | AC_DEFUN([AC_PROG_LIBTOOL], | 39 | # GNU Libtool is free software; you can redistribute it and/or |
3158 | 40 | [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl | 40 | # modify it under the terms of the GNU General Public License as |
3159 | 41 | dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX | 41 | # published by the Free Software Foundation; either version 2 of |
3160 | 42 | dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. | 42 | # the License, or (at your option) any later version. |
3161 | 43 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | 43 | # |
3162 | 44 | [AC_LIBTOOL_CXX], | 44 | # As a special exception to the GNU General Public License, |
3163 | 45 | [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX | 45 | # if you distribute this file as part of a program or library that |
3164 | 46 | ])]) | 46 | # is built using GNU Libtool, you may include this file under the |
3165 | 47 | dnl And a similar setup for Fortran 77 support | 47 | # same distribution terms that you use for the rest of that program. |
3166 | 48 | AC_PROVIDE_IFELSE([AC_PROG_F77], | 48 | # |
3167 | 49 | [AC_LIBTOOL_F77], | 49 | # GNU Libtool is distributed in the hope that it will be useful, |
3168 | 50 | [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 | 50 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
3169 | 51 | ])]) | 51 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3170 | 52 | 52 | # GNU General Public License for more details. | |
3171 | 53 | dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. | 53 | # |
3172 | 54 | dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run | 54 | # You should have received a copy of the GNU General Public License |
3173 | 55 | dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. | 55 | # along with GNU Libtool; see the file COPYING. If not, a copy |
3174 | 56 | AC_PROVIDE_IFELSE([AC_PROG_GCJ], | 56 | # can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
3175 | 57 | [AC_LIBTOOL_GCJ], | 57 | # obtained by writing to the Free Software Foundation, Inc., |
3176 | 58 | [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], | 58 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
3177 | 59 | [AC_LIBTOOL_GCJ], | 59 | ]) |
3178 | 60 | [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], | 60 | |
3179 | 61 | [AC_LIBTOOL_GCJ], | 61 | # serial 56 LT_INIT |
3180 | 62 | [ifdef([AC_PROG_GCJ], | 62 | |
3181 | 63 | [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) | 63 | |
3182 | 64 | ifdef([A][M_PROG_GCJ], | 64 | # LT_PREREQ(VERSION) |
3183 | 65 | [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) | 65 | # ------------------ |
3184 | 66 | ifdef([LT_AC_PROG_GCJ], | 66 | # Complain and exit if this libtool version is less that VERSION. |
3185 | 67 | [define([LT_AC_PROG_GCJ], | 67 | m4_defun([LT_PREREQ], |
3186 | 68 | defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) | 68 | [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, |
3187 | 69 | ])])# AC_PROG_LIBTOOL | 69 | [m4_default([$3], |
3188 | 70 | 70 | [m4_fatal([Libtool version $1 or higher is required], | |
3189 | 71 | 71 | 63)])], | |
3190 | 72 | # _AC_PROG_LIBTOOL | 72 | [$2])]) |
3191 | 73 | # ---------------- | 73 | |
3192 | 74 | AC_DEFUN([_AC_PROG_LIBTOOL], | 74 | |
3193 | 75 | [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl | 75 | # _LT_CHECK_BUILDDIR |
3194 | 76 | AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl | 76 | # ------------------ |
3195 | 77 | AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl | 77 | # Complain if the absolute build directory name contains unusual characters |
3196 | 78 | AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl | 78 | m4_defun([_LT_CHECK_BUILDDIR], |
3197 | 79 | [case `pwd` in | ||
3198 | 80 | *\ * | *\ *) | ||
3199 | 81 | AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; | ||
3200 | 82 | esac | ||
3201 | 83 | ]) | ||
3202 | 84 | |||
3203 | 85 | |||
3204 | 86 | # LT_INIT([OPTIONS]) | ||
3205 | 87 | # ------------------ | ||
3206 | 88 | AC_DEFUN([LT_INIT], | ||
3207 | 89 | [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT | ||
3208 | 90 | AC_BEFORE([$0], [LT_LANG])dnl | ||
3209 | 91 | AC_BEFORE([$0], [LT_OUTPUT])dnl | ||
3210 | 92 | AC_BEFORE([$0], [LTDL_INIT])dnl | ||
3211 | 93 | m4_require([_LT_CHECK_BUILDDIR])dnl | ||
3212 | 94 | |||
3213 | 95 | dnl Autoconf doesn't catch unexpanded LT_ macros by default: | ||
3214 | 96 | m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl | ||
3215 | 97 | m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl | ||
3216 | 98 | dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 | ||
3217 | 99 | dnl unless we require an AC_DEFUNed macro: | ||
3218 | 100 | AC_REQUIRE([LTOPTIONS_VERSION])dnl | ||
3219 | 101 | AC_REQUIRE([LTSUGAR_VERSION])dnl | ||
3220 | 102 | AC_REQUIRE([LTVERSION_VERSION])dnl | ||
3221 | 103 | AC_REQUIRE([LTOBSOLETE_VERSION])dnl | ||
3222 | 104 | m4_require([_LT_PROG_LTMAIN])dnl | ||
3223 | 105 | |||
3224 | 106 | dnl Parse OPTIONS | ||
3225 | 107 | _LT_SET_OPTIONS([$0], [$1]) | ||
3226 | 79 | 108 | ||
3227 | 80 | # This can be used to rebuild libtool when needed | 109 | # This can be used to rebuild libtool when needed |
3229 | 81 | LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" | 110 | LIBTOOL_DEPS="$ltmain" |
3230 | 82 | 111 | ||
3231 | 83 | # Always use our own libtool. | 112 | # Always use our own libtool. |
3232 | 84 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 113 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
3233 | 85 | AC_SUBST(LIBTOOL)dnl | 114 | AC_SUBST(LIBTOOL)dnl |
3234 | 86 | 115 | ||
3248 | 87 | # Prevent multiple expansion | 116 | _LT_SETUP |
3249 | 88 | define([AC_PROG_LIBTOOL], []) | 117 | |
3250 | 89 | ])# _AC_PROG_LIBTOOL | 118 | # Only expand once: |
3251 | 90 | 119 | m4_define([LT_INIT]) | |
3252 | 91 | 120 | ])# LT_INIT | |
3253 | 92 | # AC_LIBTOOL_SETUP | 121 | |
3254 | 93 | # ---------------- | 122 | # Old names: |
3255 | 94 | AC_DEFUN([AC_LIBTOOL_SETUP], | 123 | AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) |
3256 | 95 | [AC_PREREQ(2.50)dnl | 124 | AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) |
3257 | 96 | AC_REQUIRE([AC_ENABLE_SHARED])dnl | 125 | dnl aclocal-1.4 backwards compatibility: |
3258 | 97 | AC_REQUIRE([AC_ENABLE_STATIC])dnl | 126 | dnl AC_DEFUN([AC_PROG_LIBTOOL], []) |
3259 | 98 | AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl | 127 | dnl AC_DEFUN([AM_PROG_LIBTOOL], []) |
3260 | 99 | AC_REQUIRE([AC_CANONICAL_HOST])dnl | 128 | |
3261 | 129 | |||
3262 | 130 | # _LT_CC_BASENAME(CC) | ||
3263 | 131 | # ------------------- | ||
3264 | 132 | # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. | ||
3265 | 133 | m4_defun([_LT_CC_BASENAME], | ||
3266 | 134 | [for cc_temp in $1""; do | ||
3267 | 135 | case $cc_temp in | ||
3268 | 136 | compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; | ||
3269 | 137 | distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; | ||
3270 | 138 | \-*) ;; | ||
3271 | 139 | *) break;; | ||
3272 | 140 | esac | ||
3273 | 141 | done | ||
3274 | 142 | cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | ||
3275 | 143 | ]) | ||
3276 | 144 | |||
3277 | 145 | |||
3278 | 146 | # _LT_FILEUTILS_DEFAULTS | ||
3279 | 147 | # ---------------------- | ||
3280 | 148 | # It is okay to use these file commands and assume they have been set | ||
3281 | 149 | # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. | ||
3282 | 150 | m4_defun([_LT_FILEUTILS_DEFAULTS], | ||
3283 | 151 | [: ${CP="cp -f"} | ||
3284 | 152 | : ${MV="mv -f"} | ||
3285 | 153 | : ${RM="rm -f"} | ||
3286 | 154 | ])# _LT_FILEUTILS_DEFAULTS | ||
3287 | 155 | |||
3288 | 156 | |||
3289 | 157 | # _LT_SETUP | ||
3290 | 158 | # --------- | ||
3291 | 159 | m4_defun([_LT_SETUP], | ||
3292 | 160 | [AC_REQUIRE([AC_CANONICAL_HOST])dnl | ||
3293 | 100 | AC_REQUIRE([AC_CANONICAL_BUILD])dnl | 161 | AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
3294 | 162 | _LT_DECL([], [host_alias], [0], [The host system])dnl | ||
3295 | 163 | _LT_DECL([], [host], [0])dnl | ||
3296 | 164 | _LT_DECL([], [host_os], [0])dnl | ||
3297 | 165 | dnl | ||
3298 | 166 | _LT_DECL([], [build_alias], [0], [The build system])dnl | ||
3299 | 167 | _LT_DECL([], [build], [0])dnl | ||
3300 | 168 | _LT_DECL([], [build_os], [0])dnl | ||
3301 | 169 | dnl | ||
3302 | 101 | AC_REQUIRE([AC_PROG_CC])dnl | 170 | AC_REQUIRE([AC_PROG_CC])dnl |
3307 | 102 | AC_REQUIRE([AC_PROG_LD])dnl | 171 | AC_REQUIRE([LT_PATH_LD])dnl |
3308 | 103 | AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl | 172 | AC_REQUIRE([LT_PATH_NM])dnl |
3309 | 104 | AC_REQUIRE([AC_PROG_NM])dnl | 173 | dnl |
3306 | 105 | |||
3310 | 106 | AC_REQUIRE([AC_PROG_LN_S])dnl | 174 | AC_REQUIRE([AC_PROG_LN_S])dnl |
3322 | 107 | AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl | 175 | test -z "$LN_S" && LN_S="ln -s" |
3323 | 108 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! | 176 | _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl |
3324 | 109 | AC_REQUIRE([AC_OBJEXT])dnl | 177 | dnl |
3325 | 110 | AC_REQUIRE([AC_EXEEXT])dnl | 178 | AC_REQUIRE([LT_CMD_MAX_LEN])dnl |
3326 | 111 | dnl | 179 | _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl |
3327 | 112 | AC_LIBTOOL_SYS_MAX_CMD_LEN | 180 | _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl |
3328 | 113 | AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE | 181 | dnl |
3329 | 114 | AC_LIBTOOL_OBJDIR | 182 | m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
3330 | 115 | 183 | m4_require([_LT_CHECK_SHELL_FEATURES])dnl | |
3331 | 116 | AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl | 184 | m4_require([_LT_CMD_RELOAD])dnl |
3332 | 117 | _LT_AC_PROG_ECHO_BACKSLASH | 185 | m4_require([_LT_CHECK_MAGIC_METHOD])dnl |
3333 | 186 | m4_require([_LT_CMD_OLD_ARCHIVE])dnl | ||
3334 | 187 | m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl | ||
3335 | 188 | |||
3336 | 189 | _LT_CONFIG_LIBTOOL_INIT([ | ||
3337 | 190 | # See if we are running on zsh, and set the options which allow our | ||
3338 | 191 | # commands through without removal of \ escapes INIT. | ||
3339 | 192 | if test -n "\${ZSH_VERSION+set}" ; then | ||
3340 | 193 | setopt NO_GLOB_SUBST | ||
3341 | 194 | fi | ||
3342 | 195 | ]) | ||
3343 | 196 | if test -n "${ZSH_VERSION+set}" ; then | ||
3344 | 197 | setopt NO_GLOB_SUBST | ||
3345 | 198 | fi | ||
3346 | 199 | |||
3347 | 200 | _LT_CHECK_OBJDIR | ||
3348 | 201 | |||
3349 | 202 | m4_require([_LT_TAG_COMPILER])dnl | ||
3350 | 203 | _LT_PROG_ECHO_BACKSLASH | ||
3351 | 118 | 204 | ||
3352 | 119 | case $host_os in | 205 | case $host_os in |
3353 | 120 | aix3*) | 206 | aix3*) |
3354 | @@ -130,116 +216,652 @@ | |||
3355 | 130 | 216 | ||
3356 | 131 | # Sed substitution that helps us do robust quoting. It backslashifies | 217 | # Sed substitution that helps us do robust quoting. It backslashifies |
3357 | 132 | # metacharacters that are still active within double-quoted strings. | 218 | # metacharacters that are still active within double-quoted strings. |
3360 | 133 | Xsed='sed -e 1s/^X//' | 219 | sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' |
3359 | 134 | [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] | ||
3361 | 135 | 220 | ||
3362 | 136 | # Same as above, but do not quote variable references. | 221 | # Same as above, but do not quote variable references. |
3364 | 137 | [double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] | 222 | double_quote_subst='s/\([["`\\]]\)/\\\1/g' |
3365 | 138 | 223 | ||
3366 | 139 | # Sed substitution to delay expansion of an escaped shell variable in a | 224 | # Sed substitution to delay expansion of an escaped shell variable in a |
3367 | 140 | # double_quote_subst'ed string. | 225 | # double_quote_subst'ed string. |
3368 | 141 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | 226 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
3369 | 142 | 227 | ||
3370 | 228 | # Sed substitution to delay expansion of an escaped single quote. | ||
3371 | 229 | delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' | ||
3372 | 230 | |||
3373 | 143 | # Sed substitution to avoid accidental globbing in evaled expressions | 231 | # Sed substitution to avoid accidental globbing in evaled expressions |
3374 | 144 | no_glob_subst='s/\*/\\\*/g' | 232 | no_glob_subst='s/\*/\\\*/g' |
3375 | 145 | 233 | ||
3376 | 146 | # Constants: | ||
3377 | 147 | rm="rm -f" | ||
3378 | 148 | |||
3379 | 149 | # Global variables: | 234 | # Global variables: |
3381 | 150 | default_ofile=libtool | 235 | ofile=libtool |
3382 | 151 | can_build_shared=yes | 236 | can_build_shared=yes |
3383 | 152 | 237 | ||
3384 | 153 | # All known linkers require a `.a' archive for static linking (except MSVC, | 238 | # All known linkers require a `.a' archive for static linking (except MSVC, |
3385 | 154 | # which needs '.lib'). | 239 | # which needs '.lib'). |
3386 | 155 | libext=a | 240 | libext=a |
3389 | 156 | ltmain="$ac_aux_dir/ltmain.sh" | 241 | |
3388 | 157 | ofile="$default_ofile" | ||
3390 | 158 | with_gnu_ld="$lt_cv_prog_gnu_ld" | 242 | with_gnu_ld="$lt_cv_prog_gnu_ld" |
3391 | 159 | 243 | ||
3392 | 160 | AC_CHECK_TOOL(AR, ar, false) | ||
3393 | 161 | AC_CHECK_TOOL(RANLIB, ranlib, :) | ||
3394 | 162 | AC_CHECK_TOOL(STRIP, strip, :) | ||
3395 | 163 | |||
3396 | 164 | old_CC="$CC" | 244 | old_CC="$CC" |
3397 | 165 | old_CFLAGS="$CFLAGS" | 245 | old_CFLAGS="$CFLAGS" |
3398 | 166 | 246 | ||
3399 | 167 | # Set sane defaults for various variables | 247 | # Set sane defaults for various variables |
3400 | 168 | test -z "$AR" && AR=ar | ||
3401 | 169 | test -z "$AR_FLAGS" && AR_FLAGS=cru | ||
3402 | 170 | test -z "$AS" && AS=as | ||
3403 | 171 | test -z "$CC" && CC=cc | 248 | test -z "$CC" && CC=cc |
3404 | 172 | test -z "$LTCC" && LTCC=$CC | 249 | test -z "$LTCC" && LTCC=$CC |
3405 | 173 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS | 250 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
3406 | 174 | test -z "$DLLTOOL" && DLLTOOL=dlltool | ||
3407 | 175 | test -z "$LD" && LD=ld | 251 | test -z "$LD" && LD=ld |
3408 | 176 | test -z "$LN_S" && LN_S="ln -s" | ||
3409 | 177 | test -z "$MAGIC_CMD" && MAGIC_CMD=file | ||
3410 | 178 | test -z "$NM" && NM=nm | ||
3411 | 179 | test -z "$SED" && SED=sed | ||
3412 | 180 | test -z "$OBJDUMP" && OBJDUMP=objdump | ||
3413 | 181 | test -z "$RANLIB" && RANLIB=: | ||
3414 | 182 | test -z "$STRIP" && STRIP=: | ||
3415 | 183 | test -z "$ac_objext" && ac_objext=o | 252 | test -z "$ac_objext" && ac_objext=o |
3416 | 184 | 253 | ||
3417 | 185 | # Determine commands to create old-style static archives. | ||
3418 | 186 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' | ||
3419 | 187 | old_postinstall_cmds='chmod 644 $oldlib' | ||
3420 | 188 | old_postuninstall_cmds= | ||
3421 | 189 | |||
3422 | 190 | if test -n "$RANLIB"; then | ||
3423 | 191 | case $host_os in | ||
3424 | 192 | openbsd*) | ||
3425 | 193 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" | ||
3426 | 194 | ;; | ||
3427 | 195 | *) | ||
3428 | 196 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" | ||
3429 | 197 | ;; | ||
3430 | 198 | esac | ||
3431 | 199 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | ||
3432 | 200 | fi | ||
3433 | 201 | |||
3434 | 202 | _LT_CC_BASENAME([$compiler]) | 254 | _LT_CC_BASENAME([$compiler]) |
3435 | 203 | 255 | ||
3436 | 204 | # Only perform the check for file, if the check method requires it | 256 | # Only perform the check for file, if the check method requires it |
3437 | 257 | test -z "$MAGIC_CMD" && MAGIC_CMD=file | ||
3438 | 205 | case $deplibs_check_method in | 258 | case $deplibs_check_method in |
3439 | 206 | file_magic*) | 259 | file_magic*) |
3440 | 207 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 260 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
3442 | 208 | AC_PATH_MAGIC | 261 | _LT_PATH_MAGIC |
3443 | 209 | fi | 262 | fi |
3444 | 210 | ;; | 263 | ;; |
3445 | 211 | esac | 264 | esac |
3446 | 212 | 265 | ||
3447 | 213 | _LT_REQUIRED_DARWIN_CHECKS | ||
3448 | 214 | |||
3449 | 215 | AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) | ||
3450 | 216 | AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], | ||
3451 | 217 | enable_win32_dll=yes, enable_win32_dll=no) | ||
3452 | 218 | |||
3453 | 219 | AC_ARG_ENABLE([libtool-lock], | ||
3454 | 220 | [AC_HELP_STRING([--disable-libtool-lock], | ||
3455 | 221 | [avoid locking (might break parallel builds)])]) | ||
3456 | 222 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | ||
3457 | 223 | |||
3458 | 224 | AC_ARG_WITH([pic], | ||
3459 | 225 | [AC_HELP_STRING([--with-pic], | ||
3460 | 226 | [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], | ||
3461 | 227 | [pic_mode="$withval"], | ||
3462 | 228 | [pic_mode=default]) | ||
3463 | 229 | test -z "$pic_mode" && pic_mode=default | ||
3464 | 230 | |||
3465 | 231 | # Use C for the default configuration in the libtool script | 266 | # Use C for the default configuration in the libtool script |
3473 | 232 | tagname= | 267 | LT_SUPPORTED_TAG([CC]) |
3474 | 233 | AC_LIBTOOL_LANG_C_CONFIG | 268 | _LT_LANG_C_CONFIG |
3475 | 234 | _LT_AC_TAGCONFIG | 269 | _LT_LANG_DEFAULT_CONFIG |
3476 | 235 | ])# AC_LIBTOOL_SETUP | 270 | _LT_CONFIG_COMMANDS |
3477 | 236 | 271 | ])# _LT_SETUP | |
3478 | 237 | 272 | ||
3479 | 238 | # _LT_AC_SYS_COMPILER | 273 | |
3480 | 274 | # _LT_PROG_LTMAIN | ||
3481 | 275 | # --------------- | ||
3482 | 276 | # Note that this code is called both from `configure', and `config.status' | ||
3483 | 277 | # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, | ||
3484 | 278 | # `config.status' has no value for ac_aux_dir unless we are using Automake, | ||
3485 | 279 | # so we pass a copy along to make sure it has a sensible value anyway. | ||
3486 | 280 | m4_defun([_LT_PROG_LTMAIN], | ||
3487 | 281 | [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl | ||
3488 | 282 | _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) | ||
3489 | 283 | ltmain="$ac_aux_dir/ltmain.sh" | ||
3490 | 284 | ])# _LT_PROG_LTMAIN | ||
3491 | 285 | |||
3492 | 286 | |||
3493 | 287 | |||
3494 | 288 | # So that we can recreate a full libtool script including additional | ||
3495 | 289 | # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS | ||
3496 | 290 | # in macros and then make a single call at the end using the `libtool' | ||
3497 | 291 | # label. | ||
3498 | 292 | |||
3499 | 293 | |||
3500 | 294 | # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) | ||
3501 | 295 | # ---------------------------------------- | ||
3502 | 296 | # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. | ||
3503 | 297 | m4_define([_LT_CONFIG_LIBTOOL_INIT], | ||
3504 | 298 | [m4_ifval([$1], | ||
3505 | 299 | [m4_append([_LT_OUTPUT_LIBTOOL_INIT], | ||
3506 | 300 | [$1 | ||
3507 | 301 | ])])]) | ||
3508 | 302 | |||
3509 | 303 | # Initialize. | ||
3510 | 304 | m4_define([_LT_OUTPUT_LIBTOOL_INIT]) | ||
3511 | 305 | |||
3512 | 306 | |||
3513 | 307 | # _LT_CONFIG_LIBTOOL([COMMANDS]) | ||
3514 | 308 | # ------------------------------ | ||
3515 | 309 | # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. | ||
3516 | 310 | m4_define([_LT_CONFIG_LIBTOOL], | ||
3517 | 311 | [m4_ifval([$1], | ||
3518 | 312 | [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], | ||
3519 | 313 | [$1 | ||
3520 | 314 | ])])]) | ||
3521 | 315 | |||
3522 | 316 | # Initialize. | ||
3523 | 317 | m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) | ||
3524 | 318 | |||
3525 | 319 | |||
3526 | 320 | # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) | ||
3527 | 321 | # ----------------------------------------------------- | ||
3528 | 322 | m4_defun([_LT_CONFIG_SAVE_COMMANDS], | ||
3529 | 323 | [_LT_CONFIG_LIBTOOL([$1]) | ||
3530 | 324 | _LT_CONFIG_LIBTOOL_INIT([$2]) | ||
3531 | 325 | ]) | ||
3532 | 326 | |||
3533 | 327 | |||
3534 | 328 | # _LT_FORMAT_COMMENT([COMMENT]) | ||
3535 | 329 | # ----------------------------- | ||
3536 | 330 | # Add leading comment marks to the start of each line, and a trailing | ||
3537 | 331 | # full-stop to the whole comment if one is not present already. | ||
3538 | 332 | m4_define([_LT_FORMAT_COMMENT], | ||
3539 | 333 | [m4_ifval([$1], [ | ||
3540 | 334 | m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], | ||
3541 | 335 | [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) | ||
3542 | 336 | )]) | ||
3543 | 337 | |||
3544 | 338 | |||
3545 | 339 | |||
3546 | 340 | |||
3547 | 341 | |||
3548 | 342 | # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) | ||
3549 | 343 | # ------------------------------------------------------------------- | ||
3550 | 344 | # CONFIGNAME is the name given to the value in the libtool script. | ||
3551 | 345 | # VARNAME is the (base) name used in the configure script. | ||
3552 | 346 | # VALUE may be 0, 1 or 2 for a computed quote escaped value based on | ||
3553 | 347 | # VARNAME. Any other value will be used directly. | ||
3554 | 348 | m4_define([_LT_DECL], | ||
3555 | 349 | [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], | ||
3556 | 350 | [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], | ||
3557 | 351 | [m4_ifval([$1], [$1], [$2])]) | ||
3558 | 352 | lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) | ||
3559 | 353 | m4_ifval([$4], | ||
3560 | 354 | [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) | ||
3561 | 355 | lt_dict_add_subkey([lt_decl_dict], [$2], | ||
3562 | 356 | [tagged?], [m4_ifval([$5], [yes], [no])])]) | ||
3563 | 357 | ]) | ||
3564 | 358 | |||
3565 | 359 | |||
3566 | 360 | # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) | ||
3567 | 361 | # -------------------------------------------------------- | ||
3568 | 362 | m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) | ||
3569 | 363 | |||
3570 | 364 | |||
3571 | 365 | # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) | ||
3572 | 366 | # ------------------------------------------------ | ||
3573 | 367 | m4_define([lt_decl_tag_varnames], | ||
3574 | 368 | [_lt_decl_filter([tagged?], [yes], $@)]) | ||
3575 | 369 | |||
3576 | 370 | |||
3577 | 371 | # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) | ||
3578 | 372 | # --------------------------------------------------------- | ||
3579 | 373 | m4_define([_lt_decl_filter], | ||
3580 | 374 | [m4_case([$#], | ||
3581 | 375 | [0], [m4_fatal([$0: too few arguments: $#])], | ||
3582 | 376 | [1], [m4_fatal([$0: too few arguments: $#: $1])], | ||
3583 | 377 | [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], | ||
3584 | 378 | [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], | ||
3585 | 379 | [lt_dict_filter([lt_decl_dict], $@)])[]dnl | ||
3586 | 380 | ]) | ||
3587 | 381 | |||
3588 | 382 | |||
3589 | 383 | # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) | ||
3590 | 384 | # -------------------------------------------------- | ||
3591 | 385 | m4_define([lt_decl_quote_varnames], | ||
3592 | 386 | [_lt_decl_filter([value], [1], $@)]) | ||
3593 | 387 | |||
3594 | 388 | |||
3595 | 389 | # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) | ||
3596 | 390 | # --------------------------------------------------- | ||
3597 | 391 | m4_define([lt_decl_dquote_varnames], | ||
3598 | 392 | [_lt_decl_filter([value], [2], $@)]) | ||
3599 | 393 | |||
3600 | 394 | |||
3601 | 395 | # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) | ||
3602 | 396 | # --------------------------------------------------- | ||
3603 | 397 | m4_define([lt_decl_varnames_tagged], | ||
3604 | 398 | [m4_assert([$# <= 2])dnl | ||
3605 | 399 | _$0(m4_quote(m4_default([$1], [[, ]])), | ||
3606 | 400 | m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), | ||
3607 | 401 | m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) | ||
3608 | 402 | m4_define([_lt_decl_varnames_tagged], | ||
3609 | 403 | [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) | ||
3610 | 404 | |||
3611 | 405 | |||
3612 | 406 | # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) | ||
3613 | 407 | # ------------------------------------------------ | ||
3614 | 408 | m4_define([lt_decl_all_varnames], | ||
3615 | 409 | [_$0(m4_quote(m4_default([$1], [[, ]])), | ||
3616 | 410 | m4_if([$2], [], | ||
3617 | 411 | m4_quote(lt_decl_varnames), | ||
3618 | 412 | m4_quote(m4_shift($@))))[]dnl | ||
3619 | 413 | ]) | ||
3620 | 414 | m4_define([_lt_decl_all_varnames], | ||
3621 | 415 | [lt_join($@, lt_decl_varnames_tagged([$1], | ||
3622 | 416 | lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl | ||
3623 | 417 | ]) | ||
3624 | 418 | |||
3625 | 419 | |||
3626 | 420 | # _LT_CONFIG_STATUS_DECLARE([VARNAME]) | ||
3627 | 421 | # ------------------------------------ | ||
3628 | 422 | # Quote a variable value, and forward it to `config.status' so that its | ||
3629 | 423 | # declaration there will have the same value as in `configure'. VARNAME | ||
3630 | 424 | # must have a single quote delimited value for this to work. | ||
3631 | 425 | m4_define([_LT_CONFIG_STATUS_DECLARE], | ||
3632 | 426 | [$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) | ||
3633 | 427 | |||
3634 | 428 | |||
3635 | 429 | # _LT_CONFIG_STATUS_DECLARATIONS | ||
3636 | 430 | # ------------------------------ | ||
3637 | 431 | # We delimit libtool config variables with single quotes, so when | ||
3638 | 432 | # we write them to config.status, we have to be sure to quote all | ||
3639 | 433 | # embedded single quotes properly. In configure, this macro expands | ||
3640 | 434 | # each variable declared with _LT_DECL (and _LT_TAGDECL) into: | ||
3641 | 435 | # | ||
3642 | 436 | # <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`' | ||
3643 | 437 | m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], | ||
3644 | 438 | [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), | ||
3645 | 439 | [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) | ||
3646 | 440 | |||
3647 | 441 | |||
3648 | 442 | # _LT_LIBTOOL_TAGS | ||
3649 | 443 | # ---------------- | ||
3650 | 444 | # Output comment and list of tags supported by the script | ||
3651 | 445 | m4_defun([_LT_LIBTOOL_TAGS], | ||
3652 | 446 | [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl | ||
3653 | 447 | available_tags="_LT_TAGS"dnl | ||
3654 | 448 | ]) | ||
3655 | 449 | |||
3656 | 450 | |||
3657 | 451 | # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) | ||
3658 | 452 | # ----------------------------------- | ||
3659 | 453 | # Extract the dictionary values for VARNAME (optionally with TAG) and | ||
3660 | 454 | # expand to a commented shell variable setting: | ||
3661 | 455 | # | ||
3662 | 456 | # # Some comment about what VAR is for. | ||
3663 | 457 | # visible_name=$lt_internal_name | ||
3664 | 458 | m4_define([_LT_LIBTOOL_DECLARE], | ||
3665 | 459 | [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], | ||
3666 | 460 | [description])))[]dnl | ||
3667 | 461 | m4_pushdef([_libtool_name], | ||
3668 | 462 | m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl | ||
3669 | 463 | m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), | ||
3670 | 464 | [0], [_libtool_name=[$]$1], | ||
3671 | 465 | [1], [_libtool_name=$lt_[]$1], | ||
3672 | 466 | [2], [_libtool_name=$lt_[]$1], | ||
3673 | 467 | [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl | ||
3674 | 468 | m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl | ||
3675 | 469 | ]) | ||
3676 | 470 | |||
3677 | 471 | |||
3678 | 472 | # _LT_LIBTOOL_CONFIG_VARS | ||
3679 | 473 | # ----------------------- | ||
3680 | 474 | # Produce commented declarations of non-tagged libtool config variables | ||
3681 | 475 | # suitable for insertion in the LIBTOOL CONFIG section of the `libtool' | ||
3682 | 476 | # script. Tagged libtool config variables (even for the LIBTOOL CONFIG | ||
3683 | 477 | # section) are produced by _LT_LIBTOOL_TAG_VARS. | ||
3684 | 478 | m4_defun([_LT_LIBTOOL_CONFIG_VARS], | ||
3685 | 479 | [m4_foreach([_lt_var], | ||
3686 | 480 | m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), | ||
3687 | 481 | [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) | ||
3688 | 482 | |||
3689 | 483 | |||
3690 | 484 | # _LT_LIBTOOL_TAG_VARS(TAG) | ||
3691 | 485 | # ------------------------- | ||
3692 | 486 | m4_define([_LT_LIBTOOL_TAG_VARS], | ||
3693 | 487 | [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), | ||
3694 | 488 | [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) | ||
3695 | 489 | |||
3696 | 490 | |||
3697 | 491 | # _LT_TAGVAR(VARNAME, [TAGNAME]) | ||
3698 | 492 | # ------------------------------ | ||
3699 | 493 | m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) | ||
3700 | 494 | |||
3701 | 495 | |||
3702 | 496 | # _LT_CONFIG_COMMANDS | ||
3703 | 239 | # ------------------- | 497 | # ------------------- |
3705 | 240 | AC_DEFUN([_LT_AC_SYS_COMPILER], | 498 | # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of |
3706 | 499 | # variables for single and double quote escaping we saved from calls | ||
3707 | 500 | # to _LT_DECL, we can put quote escaped variables declarations | ||
3708 | 501 | # into `config.status', and then the shell code to quote escape them in | ||
3709 | 502 | # for loops in `config.status'. Finally, any additional code accumulated | ||
3710 | 503 | # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. | ||
3711 | 504 | m4_defun([_LT_CONFIG_COMMANDS], | ||
3712 | 505 | [AC_PROVIDE_IFELSE([LT_OUTPUT], | ||
3713 | 506 | dnl If the libtool generation code has been placed in $CONFIG_LT, | ||
3714 | 507 | dnl instead of duplicating it all over again into config.status, | ||
3715 | 508 | dnl then we will have config.status run $CONFIG_LT later, so it | ||
3716 | 509 | dnl needs to know what name is stored there: | ||
3717 | 510 | [AC_CONFIG_COMMANDS([libtool], | ||
3718 | 511 | [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], | ||
3719 | 512 | dnl If the libtool generation code is destined for config.status, | ||
3720 | 513 | dnl expand the accumulated commands and init code now: | ||
3721 | 514 | [AC_CONFIG_COMMANDS([libtool], | ||
3722 | 515 | [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) | ||
3723 | 516 | ])#_LT_CONFIG_COMMANDS | ||
3724 | 517 | |||
3725 | 518 | |||
3726 | 519 | # Initialize. | ||
3727 | 520 | m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], | ||
3728 | 521 | [ | ||
3729 | 522 | |||
3730 | 523 | # The HP-UX ksh and POSIX shell print the target directory to stdout | ||
3731 | 524 | # if CDPATH is set. | ||
3732 | 525 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
3733 | 526 | |||
3734 | 527 | sed_quote_subst='$sed_quote_subst' | ||
3735 | 528 | double_quote_subst='$double_quote_subst' | ||
3736 | 529 | delay_variable_subst='$delay_variable_subst' | ||
3737 | 530 | _LT_CONFIG_STATUS_DECLARATIONS | ||
3738 | 531 | LTCC='$LTCC' | ||
3739 | 532 | LTCFLAGS='$LTCFLAGS' | ||
3740 | 533 | compiler='$compiler_DEFAULT' | ||
3741 | 534 | |||
3742 | 535 | # Quote evaled strings. | ||
3743 | 536 | for var in lt_decl_all_varnames([[ \ | ||
3744 | 537 | ]], lt_decl_quote_varnames); do | ||
3745 | 538 | case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in | ||
3746 | 539 | *[[\\\\\\\`\\"\\\$]]*) | ||
3747 | 540 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | ||
3748 | 541 | ;; | ||
3749 | 542 | *) | ||
3750 | 543 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | ||
3751 | 544 | ;; | ||
3752 | 545 | esac | ||
3753 | 546 | done | ||
3754 | 547 | |||
3755 | 548 | # Double-quote double-evaled strings. | ||
3756 | 549 | for var in lt_decl_all_varnames([[ \ | ||
3757 | 550 | ]], lt_decl_dquote_varnames); do | ||
3758 | 551 | case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in | ||
3759 | 552 | *[[\\\\\\\`\\"\\\$]]*) | ||
3760 | 553 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" | ||
3761 | 554 | ;; | ||
3762 | 555 | *) | ||
3763 | 556 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | ||
3764 | 557 | ;; | ||
3765 | 558 | esac | ||
3766 | 559 | done | ||
3767 | 560 | |||
3768 | 561 | # Fix-up fallback echo if it was mangled by the above quoting rules. | ||
3769 | 562 | case \$lt_ECHO in | ||
3770 | 563 | *'\\\[$]0 --fallback-echo"')dnl " | ||
3771 | 564 | lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` | ||
3772 | 565 | ;; | ||
3773 | 566 | esac | ||
3774 | 567 | |||
3775 | 568 | _LT_OUTPUT_LIBTOOL_INIT | ||
3776 | 569 | ]) | ||
3777 | 570 | |||
3778 | 571 | |||
3779 | 572 | # LT_OUTPUT | ||
3780 | 573 | # --------- | ||
3781 | 574 | # This macro allows early generation of the libtool script (before | ||
3782 | 575 | # AC_OUTPUT is called), incase it is used in configure for compilation | ||
3783 | 576 | # tests. | ||
3784 | 577 | AC_DEFUN([LT_OUTPUT], | ||
3785 | 578 | [: ${CONFIG_LT=./config.lt} | ||
3786 | 579 | AC_MSG_NOTICE([creating $CONFIG_LT]) | ||
3787 | 580 | cat >"$CONFIG_LT" <<_LTEOF | ||
3788 | 581 | #! $SHELL | ||
3789 | 582 | # Generated by $as_me. | ||
3790 | 583 | # Run this file to recreate a libtool stub with the current configuration. | ||
3791 | 584 | |||
3792 | 585 | lt_cl_silent=false | ||
3793 | 586 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
3794 | 587 | _LTEOF | ||
3795 | 588 | |||
3796 | 589 | cat >>"$CONFIG_LT" <<\_LTEOF | ||
3797 | 590 | AS_SHELL_SANITIZE | ||
3798 | 591 | _AS_PREPARE | ||
3799 | 592 | |||
3800 | 593 | exec AS_MESSAGE_FD>&1 | ||
3801 | 594 | exec AS_MESSAGE_LOG_FD>>config.log | ||
3802 | 595 | { | ||
3803 | 596 | echo | ||
3804 | 597 | AS_BOX([Running $as_me.]) | ||
3805 | 598 | } >&AS_MESSAGE_LOG_FD | ||
3806 | 599 | |||
3807 | 600 | lt_cl_help="\ | ||
3808 | 601 | \`$as_me' creates a local libtool stub from the current configuration, | ||
3809 | 602 | for use in further configure time tests before the real libtool is | ||
3810 | 603 | generated. | ||
3811 | 604 | |||
3812 | 605 | Usage: $[0] [[OPTIONS]] | ||
3813 | 606 | |||
3814 | 607 | -h, --help print this help, then exit | ||
3815 | 608 | -V, --version print version number, then exit | ||
3816 | 609 | -q, --quiet do not print progress messages | ||
3817 | 610 | -d, --debug don't remove temporary files | ||
3818 | 611 | |||
3819 | 612 | Report bugs to <bug-libtool@gnu.org>." | ||
3820 | 613 | |||
3821 | 614 | lt_cl_version="\ | ||
3822 | 615 | m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl | ||
3823 | 616 | m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) | ||
3824 | 617 | configured by $[0], generated by m4_PACKAGE_STRING. | ||
3825 | 618 | |||
3826 | 619 | Copyright (C) 2008 Free Software Foundation, Inc. | ||
3827 | 620 | This config.lt script is free software; the Free Software Foundation | ||
3828 | 621 | gives unlimited permision to copy, distribute and modify it." | ||
3829 | 622 | |||
3830 | 623 | while test $[#] != 0 | ||
3831 | 624 | do | ||
3832 | 625 | case $[1] in | ||
3833 | 626 | --version | --v* | -V ) | ||
3834 | 627 | echo "$lt_cl_version"; exit 0 ;; | ||
3835 | 628 | --help | --h* | -h ) | ||
3836 | 629 | echo "$lt_cl_help"; exit 0 ;; | ||
3837 | 630 | --debug | --d* | -d ) | ||
3838 | 631 | debug=: ;; | ||
3839 | 632 | --quiet | --q* | --silent | --s* | -q ) | ||
3840 | 633 | lt_cl_silent=: ;; | ||
3841 | 634 | |||
3842 | 635 | -*) AC_MSG_ERROR([unrecognized option: $[1] | ||
3843 | 636 | Try \`$[0] --help' for more information.]) ;; | ||
3844 | 637 | |||
3845 | 638 | *) AC_MSG_ERROR([unrecognized argument: $[1] | ||
3846 | 639 | Try \`$[0] --help' for more information.]) ;; | ||
3847 | 640 | esac | ||
3848 | 641 | shift | ||
3849 | 642 | done | ||
3850 | 643 | |||
3851 | 644 | if $lt_cl_silent; then | ||
3852 | 645 | exec AS_MESSAGE_FD>/dev/null | ||
3853 | 646 | fi | ||
3854 | 647 | _LTEOF | ||
3855 | 648 | |||
3856 | 649 | cat >>"$CONFIG_LT" <<_LTEOF | ||
3857 | 650 | _LT_OUTPUT_LIBTOOL_COMMANDS_INIT | ||
3858 | 651 | _LTEOF | ||
3859 | 652 | |||
3860 | 653 | cat >>"$CONFIG_LT" <<\_LTEOF | ||
3861 | 654 | AC_MSG_NOTICE([creating $ofile]) | ||
3862 | 655 | _LT_OUTPUT_LIBTOOL_COMMANDS | ||
3863 | 656 | AS_EXIT(0) | ||
3864 | 657 | _LTEOF | ||
3865 | 658 | chmod +x "$CONFIG_LT" | ||
3866 | 659 | |||
3867 | 660 | # configure is writing to config.log, but config.lt does its own redirection, | ||
3868 | 661 | # appending to config.log, which fails on DOS, as config.log is still kept | ||
3869 | 662 | # open by configure. Here we exec the FD to /dev/null, effectively closing | ||
3870 | 663 | # config.log, so it can be properly (re)opened and appended to by config.lt. | ||
3871 | 664 | if test "$no_create" != yes; then | ||
3872 | 665 | lt_cl_success=: | ||
3873 | 666 | test "$silent" = yes && | ||
3874 | 667 | lt_config_lt_args="$lt_config_lt_args --quiet" | ||
3875 | 668 | exec AS_MESSAGE_LOG_FD>/dev/null | ||
3876 | 669 | $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false | ||
3877 | 670 | exec AS_MESSAGE_LOG_FD>>config.log | ||
3878 | 671 | $lt_cl_success || AS_EXIT(1) | ||
3879 | 672 | fi | ||
3880 | 673 | ])# LT_OUTPUT | ||
3881 | 674 | |||
3882 | 675 | |||
3883 | 676 | # _LT_CONFIG(TAG) | ||
3884 | 677 | # --------------- | ||
3885 | 678 | # If TAG is the built-in tag, create an initial libtool script with a | ||
3886 | 679 | # default configuration from the untagged config vars. Otherwise add code | ||
3887 | 680 | # to config.status for appending the configuration named by TAG from the | ||
3888 | 681 | # matching tagged config vars. | ||
3889 | 682 | m4_defun([_LT_CONFIG], | ||
3890 | 683 | [m4_require([_LT_FILEUTILS_DEFAULTS])dnl | ||
3891 | 684 | _LT_CONFIG_SAVE_COMMANDS([ | ||
3892 | 685 | m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl | ||
3893 | 686 | m4_if(_LT_TAG, [C], [ | ||
3894 | 687 | # See if we are running on zsh, and set the options which allow our | ||
3895 | 688 | # commands through without removal of \ escapes. | ||
3896 | 689 | if test -n "${ZSH_VERSION+set}" ; then | ||
3897 | 690 | setopt NO_GLOB_SUBST | ||
3898 | 691 | fi | ||
3899 | 692 | |||
3900 | 693 | cfgfile="${ofile}T" | ||
3901 | 694 | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | ||
3902 | 695 | $RM "$cfgfile" | ||
3903 | 696 | |||
3904 | 697 | cat <<_LT_EOF >> "$cfgfile" | ||
3905 | 698 | #! $SHELL | ||
3906 | 699 | |||
3907 | 700 | # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | ||
3908 | 701 | # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION | ||
3909 | 702 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. | ||
3910 | 703 | # | ||
3911 | 704 | _LT_COPYING | ||
3912 | 705 | _LT_LIBTOOL_TAGS | ||
3913 | 706 | |||
3914 | 707 | # ### BEGIN LIBTOOL CONFIG | ||
3915 | 708 | _LT_LIBTOOL_CONFIG_VARS | ||
3916 | 709 | _LT_LIBTOOL_TAG_VARS | ||
3917 | 710 | # ### END LIBTOOL CONFIG | ||
3918 | 711 | |||
3919 | 712 | _LT_EOF | ||
3920 | 713 | |||
3921 | 714 | case $host_os in | ||
3922 | 715 | aix3*) | ||
3923 | 716 | cat <<\_LT_EOF >> "$cfgfile" | ||
3924 | 717 | # AIX sometimes has problems with the GCC collect2 program. For some | ||
3925 | 718 | # reason, if we set the COLLECT_NAMES environment variable, the problems | ||
3926 | 719 | # vanish in a puff of smoke. | ||
3927 | 720 | if test "X${COLLECT_NAMES+set}" != Xset; then | ||
3928 | 721 | COLLECT_NAMES= | ||
3929 | 722 | export COLLECT_NAMES | ||
3930 | 723 | fi | ||
3931 | 724 | _LT_EOF | ||
3932 | 725 | ;; | ||
3933 | 726 | esac | ||
3934 | 727 | |||
3935 | 728 | _LT_PROG_LTMAIN | ||
3936 | 729 | |||
3937 | 730 | # We use sed instead of cat because bash on DJGPP gets confused if | ||
3938 | 731 | # if finds mixed CR/LF and LF-only lines. Since sed operates in | ||
3939 | 732 | # text mode, it properly converts lines to CR/LF. This bash problem | ||
3940 | 733 | # is reportedly fixed, but why not run on old versions too? | ||
3941 | 734 | sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ | ||
3942 | 735 | || (rm -f "$cfgfile"; exit 1) | ||
3943 | 736 | |||
3944 | 737 | _LT_PROG_XSI_SHELLFNS | ||
3945 | 738 | |||
3946 | 739 | sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ | ||
3947 | 740 | || (rm -f "$cfgfile"; exit 1) | ||
3948 | 741 | |||
3949 | 742 | mv -f "$cfgfile" "$ofile" || | ||
3950 | 743 | (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | ||
3951 | 744 | chmod +x "$ofile" | ||
3952 | 745 | ], | ||
3953 | 746 | [cat <<_LT_EOF >> "$ofile" | ||
3954 | 747 | |||
3955 | 748 | dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded | ||
3956 | 749 | dnl in a comment (ie after a #). | ||
3957 | 750 | # ### BEGIN LIBTOOL TAG CONFIG: $1 | ||
3958 | 751 | _LT_LIBTOOL_TAG_VARS(_LT_TAG) | ||
3959 | 752 | # ### END LIBTOOL TAG CONFIG: $1 | ||
3960 | 753 | _LT_EOF | ||
3961 | 754 | ])dnl /m4_if | ||
3962 | 755 | ], | ||
3963 | 756 | [m4_if([$1], [], [ | ||
3964 | 757 | PACKAGE='$PACKAGE' | ||
3965 | 758 | VERSION='$VERSION' | ||
3966 | 759 | TIMESTAMP='$TIMESTAMP' | ||
3967 | 760 | RM='$RM' | ||
3968 | 761 | ofile='$ofile'], []) | ||
3969 | 762 | ])dnl /_LT_CONFIG_SAVE_COMMANDS | ||
3970 | 763 | ])# _LT_CONFIG | ||
3971 | 764 | |||
3972 | 765 | |||
3973 | 766 | # LT_SUPPORTED_TAG(TAG) | ||
3974 | 767 | # --------------------- | ||
3975 | 768 | # Trace this macro to discover what tags are supported by the libtool | ||
3976 | 769 | # --tag option, using: | ||
3977 | 770 | # autoconf --trace 'LT_SUPPORTED_TAG:$1' | ||
3978 | 771 | AC_DEFUN([LT_SUPPORTED_TAG], []) | ||
3979 | 772 | |||
3980 | 773 | |||
3981 | 774 | # C support is built-in for now | ||
3982 | 775 | m4_define([_LT_LANG_C_enabled], []) | ||
3983 | 776 | m4_define([_LT_TAGS], []) | ||
3984 | 777 | |||
3985 | 778 | |||
3986 | 779 | # LT_LANG(LANG) | ||
3987 | 780 | # ------------- | ||
3988 | 781 | # Enable libtool support for the given language if not already enabled. | ||
3989 | 782 | AC_DEFUN([LT_LANG], | ||
3990 | 783 | [AC_BEFORE([$0], [LT_OUTPUT])dnl | ||
3991 | 784 | m4_case([$1], | ||
3992 | 785 | [C], [_LT_LANG(C)], | ||
3993 | 786 | [C++], [_LT_LANG(CXX)], | ||
3994 | 787 | [Java], [_LT_LANG(GCJ)], | ||
3995 | 788 | [Fortran 77], [_LT_LANG(F77)], | ||
3996 | 789 | [Fortran], [_LT_LANG(FC)], | ||
3997 | 790 | [Windows Resource], [_LT_LANG(RC)], | ||
3998 | 791 | [m4_ifdef([_LT_LANG_]$1[_CONFIG], | ||
3999 | 792 | [_LT_LANG($1)], | ||
4000 | 793 | [m4_fatal([$0: unsupported language: "$1"])])])dnl | ||
4001 | 794 | ])# LT_LANG | ||
4002 | 795 | |||
4003 | 796 | |||
4004 | 797 | # _LT_LANG(LANGNAME) | ||
4005 | 798 | # ------------------ | ||
4006 | 799 | m4_defun([_LT_LANG], | ||
4007 | 800 | [m4_ifdef([_LT_LANG_]$1[_enabled], [], | ||
4008 | 801 | [LT_SUPPORTED_TAG([$1])dnl | ||
4009 | 802 | m4_append([_LT_TAGS], [$1 ])dnl | ||
4010 | 803 | m4_define([_LT_LANG_]$1[_enabled], [])dnl | ||
4011 | 804 | _LT_LANG_$1_CONFIG($1)])dnl | ||
4012 | 805 | ])# _LT_LANG | ||
4013 | 806 | |||
4014 | 807 | |||
4015 | 808 | # _LT_LANG_DEFAULT_CONFIG | ||
4016 | 809 | # ----------------------- | ||
4017 | 810 | m4_defun([_LT_LANG_DEFAULT_CONFIG], | ||
4018 | 811 | [AC_PROVIDE_IFELSE([AC_PROG_CXX], | ||
4019 | 812 | [LT_LANG(CXX)], | ||
4020 | 813 | [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) | ||
4021 | 814 | |||
4022 | 815 | AC_PROVIDE_IFELSE([AC_PROG_F77], | ||
4023 | 816 | [LT_LANG(F77)], | ||
4024 | 817 | [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) | ||
4025 | 818 | |||
4026 | 819 | AC_PROVIDE_IFELSE([AC_PROG_FC], | ||
4027 | 820 | [LT_LANG(FC)], | ||
4028 | 821 | [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) | ||
4029 | 822 | |||
4030 | 823 | dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal | ||
4031 | 824 | dnl pulling things in needlessly. | ||
4032 | 825 | AC_PROVIDE_IFELSE([AC_PROG_GCJ], | ||
4033 | 826 | [LT_LANG(GCJ)], | ||
4034 | 827 | [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], | ||
4035 | 828 | [LT_LANG(GCJ)], | ||
4036 | 829 | [AC_PROVIDE_IFELSE([LT_PROG_GCJ], | ||
4037 | 830 | [LT_LANG(GCJ)], | ||
4038 | 831 | [m4_ifdef([AC_PROG_GCJ], | ||
4039 | 832 | [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) | ||
4040 | 833 | m4_ifdef([A][M_PROG_GCJ], | ||
4041 | 834 | [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) | ||
4042 | 835 | m4_ifdef([LT_PROG_GCJ], | ||
4043 | 836 | [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) | ||
4044 | 837 | |||
4045 | 838 | AC_PROVIDE_IFELSE([LT_PROG_RC], | ||
4046 | 839 | [LT_LANG(RC)], | ||
4047 | 840 | [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) | ||
4048 | 841 | ])# _LT_LANG_DEFAULT_CONFIG | ||
4049 | 842 | |||
4050 | 843 | # Obsolete macros: | ||
4051 | 844 | AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) | ||
4052 | 845 | AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) | ||
4053 | 846 | AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) | ||
4054 | 847 | AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) | ||
4055 | 848 | dnl aclocal-1.4 backwards compatibility: | ||
4056 | 849 | dnl AC_DEFUN([AC_LIBTOOL_CXX], []) | ||
4057 | 850 | dnl AC_DEFUN([AC_LIBTOOL_F77], []) | ||
4058 | 851 | dnl AC_DEFUN([AC_LIBTOOL_FC], []) | ||
4059 | 852 | dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) | ||
4060 | 853 | |||
4061 | 854 | |||
4062 | 855 | # _LT_TAG_COMPILER | ||
4063 | 856 | # ---------------- | ||
4064 | 857 | m4_defun([_LT_TAG_COMPILER], | ||
4065 | 241 | [AC_REQUIRE([AC_PROG_CC])dnl | 858 | [AC_REQUIRE([AC_PROG_CC])dnl |
4066 | 242 | 859 | ||
4067 | 860 | _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl | ||
4068 | 861 | _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl | ||
4069 | 862 | _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl | ||
4070 | 863 | _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl | ||
4071 | 864 | |||
4072 | 243 | # If no C compiler was specified, use CC. | 865 | # If no C compiler was specified, use CC. |
4073 | 244 | LTCC=${LTCC-"$CC"} | 866 | LTCC=${LTCC-"$CC"} |
4074 | 245 | 867 | ||
4075 | @@ -248,36 +870,20 @@ | |||
4076 | 248 | 870 | ||
4077 | 249 | # Allow CC to be a program name with arguments. | 871 | # Allow CC to be a program name with arguments. |
4078 | 250 | compiler=$CC | 872 | compiler=$CC |
4096 | 251 | ])# _LT_AC_SYS_COMPILER | 873 | ])# _LT_TAG_COMPILER |
4080 | 252 | |||
4081 | 253 | |||
4082 | 254 | # _LT_CC_BASENAME(CC) | ||
4083 | 255 | # ------------------- | ||
4084 | 256 | # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. | ||
4085 | 257 | AC_DEFUN([_LT_CC_BASENAME], | ||
4086 | 258 | [for cc_temp in $1""; do | ||
4087 | 259 | case $cc_temp in | ||
4088 | 260 | compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; | ||
4089 | 261 | distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; | ||
4090 | 262 | \-*) ;; | ||
4091 | 263 | *) break;; | ||
4092 | 264 | esac | ||
4093 | 265 | done | ||
4094 | 266 | cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | ||
4095 | 267 | ]) | ||
4097 | 268 | 874 | ||
4098 | 269 | 875 | ||
4099 | 270 | # _LT_COMPILER_BOILERPLATE | 876 | # _LT_COMPILER_BOILERPLATE |
4100 | 271 | # ------------------------ | 877 | # ------------------------ |
4101 | 272 | # Check for compiler boilerplate output or warnings with | 878 | # Check for compiler boilerplate output or warnings with |
4102 | 273 | # the simple compiler test code. | 879 | # the simple compiler test code. |
4105 | 274 | AC_DEFUN([_LT_COMPILER_BOILERPLATE], | 880 | m4_defun([_LT_COMPILER_BOILERPLATE], |
4106 | 275 | [AC_REQUIRE([LT_AC_PROG_SED])dnl | 881 | [m4_require([_LT_DECL_SED])dnl |
4107 | 276 | ac_outfile=conftest.$ac_objext | 882 | ac_outfile=conftest.$ac_objext |
4108 | 277 | echo "$lt_simple_compile_test_code" >conftest.$ac_ext | 883 | echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
4109 | 278 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | 884 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
4110 | 279 | _lt_compiler_boilerplate=`cat conftest.err` | 885 | _lt_compiler_boilerplate=`cat conftest.err` |
4112 | 280 | $rm conftest* | 886 | $RM conftest* |
4113 | 281 | ])# _LT_COMPILER_BOILERPLATE | 887 | ])# _LT_COMPILER_BOILERPLATE |
4114 | 282 | 888 | ||
4115 | 283 | 889 | ||
4116 | @@ -285,39 +891,57 @@ | |||
4117 | 285 | # ---------------------- | 891 | # ---------------------- |
4118 | 286 | # Check for linker boilerplate output or warnings with | 892 | # Check for linker boilerplate output or warnings with |
4119 | 287 | # the simple link test code. | 893 | # the simple link test code. |
4122 | 288 | AC_DEFUN([_LT_LINKER_BOILERPLATE], | 894 | m4_defun([_LT_LINKER_BOILERPLATE], |
4123 | 289 | [AC_REQUIRE([LT_AC_PROG_SED])dnl | 895 | [m4_require([_LT_DECL_SED])dnl |
4124 | 290 | ac_outfile=conftest.$ac_objext | 896 | ac_outfile=conftest.$ac_objext |
4125 | 291 | echo "$lt_simple_link_test_code" >conftest.$ac_ext | 897 | echo "$lt_simple_link_test_code" >conftest.$ac_ext |
4126 | 292 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | 898 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
4127 | 293 | _lt_linker_boilerplate=`cat conftest.err` | 899 | _lt_linker_boilerplate=`cat conftest.err` |
4129 | 294 | $rm -r conftest* | 900 | $RM -r conftest* |
4130 | 295 | ])# _LT_LINKER_BOILERPLATE | 901 | ])# _LT_LINKER_BOILERPLATE |
4131 | 296 | 902 | ||
4132 | 297 | # _LT_REQUIRED_DARWIN_CHECKS | 903 | # _LT_REQUIRED_DARWIN_CHECKS |
4136 | 298 | # -------------------------- | 904 | # ------------------------- |
4137 | 299 | # Check for some things on darwin | 905 | m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ |
4135 | 300 | AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ | ||
4138 | 301 | case $host_os in | 906 | case $host_os in |
4139 | 302 | rhapsody* | darwin*) | 907 | rhapsody* | darwin*) |
4140 | 303 | AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) | 908 | AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) |
4141 | 304 | AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) | 909 | AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) |
4142 | 910 | AC_CHECK_TOOL([LIPO], [lipo], [:]) | ||
4143 | 911 | AC_CHECK_TOOL([OTOOL], [otool], [:]) | ||
4144 | 912 | AC_CHECK_TOOL([OTOOL64], [otool64], [:]) | ||
4145 | 913 | _LT_DECL([], [DSYMUTIL], [1], | ||
4146 | 914 | [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) | ||
4147 | 915 | _LT_DECL([], [NMEDIT], [1], | ||
4148 | 916 | [Tool to change global to local symbols on Mac OS X]) | ||
4149 | 917 | _LT_DECL([], [LIPO], [1], | ||
4150 | 918 | [Tool to manipulate fat objects and archives on Mac OS X]) | ||
4151 | 919 | _LT_DECL([], [OTOOL], [1], | ||
4152 | 920 | [ldd/readelf like tool for Mach-O binaries on Mac OS X]) | ||
4153 | 921 | _LT_DECL([], [OTOOL64], [1], | ||
4154 | 922 | [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) | ||
4155 | 305 | 923 | ||
4156 | 306 | AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], | 924 | AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], |
4157 | 307 | [lt_cv_apple_cc_single_mod=no | 925 | [lt_cv_apple_cc_single_mod=no |
4158 | 308 | if test -z "${LT_MULTI_MODULE}"; then | 926 | if test -z "${LT_MULTI_MODULE}"; then |
4171 | 309 | # By default we will add the -single_module flag. You can override | 927 | # By default we will add the -single_module flag. You can override |
4172 | 310 | # by either setting the environment variable LT_MULTI_MODULE | 928 | # by either setting the environment variable LT_MULTI_MODULE |
4173 | 311 | # non-empty at configure time, or by adding -multi_module to the | 929 | # non-empty at configure time, or by adding -multi_module to the |
4174 | 312 | # link flags. | 930 | # link flags. |
4175 | 313 | echo "int foo(void){return 1;}" > conftest.c | 931 | rm -rf libconftest.dylib* |
4176 | 314 | $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | 932 | echo "int foo(void){return 1;}" > conftest.c |
4177 | 315 | -dynamiclib ${wl}-single_module conftest.c | 933 | echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
4178 | 316 | if test -f libconftest.dylib; then | 934 | -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD |
4179 | 317 | lt_cv_apple_cc_single_mod=yes | 935 | $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
4180 | 318 | rm -rf libconftest.dylib* | 936 | -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
4181 | 319 | fi | 937 | _lt_result=$? |
4182 | 320 | rm conftest.c | 938 | if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
4183 | 939 | lt_cv_apple_cc_single_mod=yes | ||
4184 | 940 | else | ||
4185 | 941 | cat conftest.err >&AS_MESSAGE_LOG_FD | ||
4186 | 942 | fi | ||
4187 | 943 | rm -rf libconftest.dylib* | ||
4188 | 944 | rm -f conftest.* | ||
4189 | 321 | fi]) | 945 | fi]) |
4190 | 322 | AC_CACHE_CHECK([for -exported_symbols_list linker flag], | 946 | AC_CACHE_CHECK([for -exported_symbols_list linker flag], |
4191 | 323 | [lt_cv_ld_exported_symbols_list], | 947 | [lt_cv_ld_exported_symbols_list], |
4192 | @@ -326,26 +950,26 @@ | |||
4193 | 326 | echo "_main" > conftest.sym | 950 | echo "_main" > conftest.sym |
4194 | 327 | LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" | 951 | LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
4195 | 328 | AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], | 952 | AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
4199 | 329 | [lt_cv_ld_exported_symbols_list=yes], | 953 | [lt_cv_ld_exported_symbols_list=yes], |
4200 | 330 | [lt_cv_ld_exported_symbols_list=no]) | 954 | [lt_cv_ld_exported_symbols_list=no]) |
4201 | 331 | LDFLAGS="$save_LDFLAGS" | 955 | LDFLAGS="$save_LDFLAGS" |
4202 | 332 | ]) | 956 | ]) |
4203 | 333 | case $host_os in | 957 | case $host_os in |
4205 | 334 | rhapsody* | darwin1.[[0123]]) | 958 | rhapsody* | darwin1.[[012]]) |
4206 | 335 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; | 959 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
4207 | 336 | darwin1.*) | 960 | darwin1.*) |
4210 | 337 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | 961 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
4211 | 338 | darwin*) | 962 | darwin*) # darwin 5.x on |
4212 | 339 | # if running on 10.5 or later, the deployment target defaults | 963 | # if running on 10.5 or later, the deployment target defaults |
4213 | 340 | # to the OS version, if on x86, and 10.4, the deployment | 964 | # to the OS version, if on x86, and 10.4, the deployment |
4214 | 341 | # target defaults to 10.4. Don't you love it? | 965 | # target defaults to 10.4. Don't you love it? |
4215 | 342 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | 966 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
4222 | 343 | 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) | 967 | 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) |
4223 | 344 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 968 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
4224 | 345 | 10.[[012]]*) | 969 | 10.[[012]]*) |
4225 | 346 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | 970 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
4226 | 347 | 10.*) | 971 | 10.*) |
4227 | 348 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 972 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
4228 | 349 | esac | 973 | esac |
4229 | 350 | ;; | 974 | ;; |
4230 | 351 | esac | 975 | esac |
4231 | @@ -355,10 +979,10 @@ | |||
4232 | 355 | if test "$lt_cv_ld_exported_symbols_list" = "yes"; then | 979 | if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
4233 | 356 | _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' | 980 | _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
4234 | 357 | else | 981 | else |
4236 | 358 | _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" | 982 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
4237 | 359 | fi | 983 | fi |
4238 | 360 | if test "$DSYMUTIL" != ":"; then | 984 | if test "$DSYMUTIL" != ":"; then |
4240 | 361 | _lt_dsymutil="~$DSYMUTIL \$lib || :" | 985 | _lt_dsymutil='~$DSYMUTIL $lib || :' |
4241 | 362 | else | 986 | else |
4242 | 363 | _lt_dsymutil= | 987 | _lt_dsymutil= |
4243 | 364 | fi | 988 | fi |
4244 | @@ -366,17 +990,52 @@ | |||
4245 | 366 | esac | 990 | esac |
4246 | 367 | ]) | 991 | ]) |
4247 | 368 | 992 | ||
4250 | 369 | # _LT_AC_SYS_LIBPATH_AIX | 993 | |
4251 | 370 | # ---------------------- | 994 | # _LT_DARWIN_LINKER_FEATURES |
4252 | 995 | # -------------------------- | ||
4253 | 996 | # Checks for linker and compiler features on darwin | ||
4254 | 997 | m4_defun([_LT_DARWIN_LINKER_FEATURES], | ||
4255 | 998 | [ | ||
4256 | 999 | m4_require([_LT_REQUIRED_DARWIN_CHECKS]) | ||
4257 | 1000 | _LT_TAGVAR(archive_cmds_need_lc, $1)=no | ||
4258 | 1001 | _LT_TAGVAR(hardcode_direct, $1)=no | ||
4259 | 1002 | _LT_TAGVAR(hardcode_automatic, $1)=yes | ||
4260 | 1003 | _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported | ||
4261 | 1004 | _LT_TAGVAR(whole_archive_flag_spec, $1)='' | ||
4262 | 1005 | _LT_TAGVAR(link_all_deplibs, $1)=yes | ||
4263 | 1006 | _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" | ||
4264 | 1007 | case $cc_basename in | ||
4265 | 1008 | ifort*) _lt_dar_can_shared=yes ;; | ||
4266 | 1009 | *) _lt_dar_can_shared=$GCC ;; | ||
4267 | 1010 | esac | ||
4268 | 1011 | if test "$_lt_dar_can_shared" = "yes"; then | ||
4269 | 1012 | output_verbose_link_cmd=echo | ||
4270 | 1013 | _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" | ||
4271 | 1014 | _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" | ||
4272 | 1015 | _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" | ||
4273 | 1016 | _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" | ||
4274 | 1017 | m4_if([$1], [CXX], | ||
4275 | 1018 | [ if test "$lt_cv_apple_cc_single_mod" != "yes"; then | ||
4276 | 1019 | _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" | ||
4277 | 1020 | _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" | ||
4278 | 1021 | fi | ||
4279 | 1022 | ],[]) | ||
4280 | 1023 | else | ||
4281 | 1024 | _LT_TAGVAR(ld_shlibs, $1)=no | ||
4282 | 1025 | fi | ||
4283 | 1026 | ]) | ||
4284 | 1027 | |||
4285 | 1028 | # _LT_SYS_MODULE_PATH_AIX | ||
4286 | 1029 | # ----------------------- | ||
4287 | 371 | # Links a minimal program and checks the executable | 1030 | # Links a minimal program and checks the executable |
4288 | 372 | # for the system default hardcoded library path. In most cases, | 1031 | # for the system default hardcoded library path. In most cases, |
4289 | 373 | # this is /usr/lib:/lib, but when the MPI compilers are used | 1032 | # this is /usr/lib:/lib, but when the MPI compilers are used |
4290 | 374 | # the location of the communication and MPI libs are included too. | 1033 | # the location of the communication and MPI libs are included too. |
4291 | 375 | # If we don't find anything, use the default library path according | 1034 | # If we don't find anything, use the default library path according |
4292 | 376 | # to the aix ld manual. | 1035 | # to the aix ld manual. |
4296 | 377 | AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], | 1036 | m4_defun([_LT_SYS_MODULE_PATH_AIX], |
4297 | 378 | [AC_REQUIRE([LT_AC_PROG_SED])dnl | 1037 | [m4_require([_LT_DECL_SED])dnl |
4298 | 379 | AC_LINK_IFELSE(AC_LANG_PROGRAM,[ | 1038 | AC_LINK_IFELSE([AC_LANG_PROGRAM],[ |
4299 | 380 | lt_aix_libpath_sed=' | 1039 | lt_aix_libpath_sed=' |
4300 | 381 | /Import File Strings/,/^$/ { | 1040 | /Import File Strings/,/^$/ { |
4301 | 382 | /^0/ { | 1041 | /^0/ { |
4302 | @@ -390,45 +1049,45 @@ | |||
4303 | 390 | aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 1049 | aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
4304 | 391 | fi],[]) | 1050 | fi],[]) |
4305 | 392 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 1051 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
4312 | 393 | ])# _LT_AC_SYS_LIBPATH_AIX | 1052 | ])# _LT_SYS_MODULE_PATH_AIX |
4313 | 394 | 1053 | ||
4314 | 395 | 1054 | ||
4315 | 396 | # _LT_AC_SHELL_INIT(ARG) | 1055 | # _LT_SHELL_INIT(ARG) |
4316 | 397 | # ---------------------- | 1056 | # ------------------- |
4317 | 398 | AC_DEFUN([_LT_AC_SHELL_INIT], | 1057 | m4_define([_LT_SHELL_INIT], |
4318 | 399 | [ifdef([AC_DIVERSION_NOTICE], | 1058 | [ifdef([AC_DIVERSION_NOTICE], |
4319 | 400 | [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], | 1059 | [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], |
4320 | 401 | [AC_DIVERT_PUSH(NOTICE)]) | 1060 | [AC_DIVERT_PUSH(NOTICE)]) |
4321 | 402 | $1 | 1061 | $1 |
4322 | 403 | AC_DIVERT_POP | 1062 | AC_DIVERT_POP |
4328 | 404 | ])# _LT_AC_SHELL_INIT | 1063 | ])# _LT_SHELL_INIT |
4329 | 405 | 1064 | ||
4330 | 406 | 1065 | ||
4331 | 407 | # _LT_AC_PROG_ECHO_BACKSLASH | 1066 | # _LT_PROG_ECHO_BACKSLASH |
4332 | 408 | # -------------------------- | 1067 | # ----------------------- |
4333 | 409 | # Add some code to the start of the generated configure script which | 1068 | # Add some code to the start of the generated configure script which |
4334 | 410 | # will find an echo command which doesn't interpret backslashes. | 1069 | # will find an echo command which doesn't interpret backslashes. |
4337 | 411 | AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], | 1070 | m4_defun([_LT_PROG_ECHO_BACKSLASH], |
4338 | 412 | [_LT_AC_SHELL_INIT([ | 1071 | [_LT_SHELL_INIT([ |
4339 | 413 | # Check that we are running under the correct shell. | 1072 | # Check that we are running under the correct shell. |
4340 | 414 | SHELL=${CONFIG_SHELL-/bin/sh} | 1073 | SHELL=${CONFIG_SHELL-/bin/sh} |
4341 | 415 | 1074 | ||
4343 | 416 | case X$ECHO in | 1075 | case X$lt_ECHO in |
4344 | 417 | X*--fallback-echo) | 1076 | X*--fallback-echo) |
4345 | 418 | # Remove one level of quotation (which was required for Make). | 1077 | # Remove one level of quotation (which was required for Make). |
4347 | 419 | ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` | 1078 | ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` |
4348 | 420 | ;; | 1079 | ;; |
4349 | 421 | esac | 1080 | esac |
4350 | 422 | 1081 | ||
4352 | 423 | echo=${ECHO-echo} | 1082 | ECHO=${lt_ECHO-echo} |
4353 | 424 | if test "X[$]1" = X--no-reexec; then | 1083 | if test "X[$]1" = X--no-reexec; then |
4354 | 425 | # Discard the --no-reexec flag, and continue. | 1084 | # Discard the --no-reexec flag, and continue. |
4355 | 426 | shift | 1085 | shift |
4356 | 427 | elif test "X[$]1" = X--fallback-echo; then | 1086 | elif test "X[$]1" = X--fallback-echo; then |
4357 | 428 | # Avoid inline document here, it may be left over | 1087 | # Avoid inline document here, it may be left over |
4358 | 429 | : | 1088 | : |
4361 | 430 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then | 1089 | elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
4362 | 431 | # Yippee, $echo works! | 1090 | # Yippee, $ECHO works! |
4363 | 432 | : | 1091 | : |
4364 | 433 | else | 1092 | else |
4365 | 434 | # Restart under the correct shell. | 1093 | # Restart under the correct shell. |
4366 | @@ -438,9 +1097,9 @@ | |||
4367 | 438 | if test "X[$]1" = X--fallback-echo; then | 1097 | if test "X[$]1" = X--fallback-echo; then |
4368 | 439 | # used as fallback echo | 1098 | # used as fallback echo |
4369 | 440 | shift | 1099 | shift |
4371 | 441 | cat <<EOF | 1100 | cat <<_LT_EOF |
4372 | 442 | [$]* | 1101 | [$]* |
4374 | 443 | EOF | 1102 | _LT_EOF |
4375 | 444 | exit 0 | 1103 | exit 0 |
4376 | 445 | fi | 1104 | fi |
4377 | 446 | 1105 | ||
4378 | @@ -448,124 +1107,127 @@ | |||
4379 | 448 | # if CDPATH is set. | 1107 | # if CDPATH is set. |
4380 | 449 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 1108 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
4381 | 450 | 1109 | ||
4409 | 451 | if test -z "$ECHO"; then | 1110 | if test -z "$lt_ECHO"; then |
4410 | 452 | if test "X${echo_test_string+set}" != Xset; then | 1111 | if test "X${echo_test_string+set}" != Xset; then |
4411 | 453 | # find a string as large as possible, as long as the shell can cope with it | 1112 | # find a string as large as possible, as long as the shell can cope with it |
4412 | 454 | for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do | 1113 | for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do |
4413 | 455 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | 1114 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
4414 | 456 | if (echo_test_string=`eval $cmd`) 2>/dev/null && | 1115 | if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
4415 | 457 | echo_test_string=`eval $cmd` && | 1116 | { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
4416 | 458 | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | 1117 | then |
4417 | 459 | then | 1118 | break |
4418 | 460 | break | 1119 | fi |
4419 | 461 | fi | 1120 | done |
4420 | 462 | done | 1121 | fi |
4421 | 463 | fi | 1122 | |
4422 | 464 | 1123 | if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && | |
4423 | 465 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 1124 | echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
4424 | 466 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 1125 | test "X$echo_testing_string" = "X$echo_test_string"; then |
4425 | 467 | test "X$echo_testing_string" = "X$echo_test_string"; then | 1126 | : |
4426 | 468 | : | 1127 | else |
4427 | 469 | else | 1128 | # The Solaris, AIX, and Digital Unix default echo programs unquote |
4428 | 470 | # The Solaris, AIX, and Digital Unix default echo programs unquote | 1129 | # backslashes. This makes it impossible to quote backslashes using |
4429 | 471 | # backslashes. This makes it impossible to quote backslashes using | 1130 | # echo "$something" | sed 's/\\/\\\\/g' |
4430 | 472 | # echo "$something" | sed 's/\\/\\\\/g' | 1131 | # |
4431 | 473 | # | 1132 | # So, first we look for a working echo in the user's PATH. |
4432 | 474 | # So, first we look for a working echo in the user's PATH. | 1133 | |
4433 | 475 | 1134 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
4434 | 476 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 1135 | for dir in $PATH /usr/ucb; do |
4435 | 477 | for dir in $PATH /usr/ucb; do | 1136 | IFS="$lt_save_ifs" |
4436 | 1137 | if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | ||
4437 | 1138 | test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | ||
4438 | 1139 | echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | ||
4439 | 1140 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
4440 | 1141 | ECHO="$dir/echo" | ||
4441 | 1142 | break | ||
4442 | 1143 | fi | ||
4443 | 1144 | done | ||
4444 | 478 | IFS="$lt_save_ifs" | 1145 | IFS="$lt_save_ifs" |
4445 | 479 | if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | ||
4446 | 480 | test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | ||
4447 | 481 | echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | ||
4448 | 482 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
4449 | 483 | echo="$dir/echo" | ||
4450 | 484 | break | ||
4451 | 485 | fi | ||
4452 | 486 | done | ||
4453 | 487 | IFS="$lt_save_ifs" | ||
4454 | 488 | 1146 | ||
4492 | 489 | if test "X$echo" = Xecho; then | 1147 | if test "X$ECHO" = Xecho; then |
4493 | 490 | # We didn't find a better echo, so look for alternatives. | 1148 | # We didn't find a better echo, so look for alternatives. |
4494 | 491 | if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | 1149 | if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
4495 | 492 | echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | 1150 | echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
4496 | 493 | test "X$echo_testing_string" = "X$echo_test_string"; then | 1151 | test "X$echo_testing_string" = "X$echo_test_string"; then |
4497 | 494 | # This shell has a builtin print -r that does the trick. | 1152 | # This shell has a builtin print -r that does the trick. |
4498 | 495 | echo='print -r' | 1153 | ECHO='print -r' |
4499 | 496 | elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | 1154 | elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
4500 | 497 | test "X$CONFIG_SHELL" != X/bin/ksh; then | 1155 | test "X$CONFIG_SHELL" != X/bin/ksh; then |
4501 | 498 | # If we have ksh, try running configure again with it. | 1156 | # If we have ksh, try running configure again with it. |
4502 | 499 | ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | 1157 | ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
4503 | 500 | export ORIGINAL_CONFIG_SHELL | 1158 | export ORIGINAL_CONFIG_SHELL |
4504 | 501 | CONFIG_SHELL=/bin/ksh | 1159 | CONFIG_SHELL=/bin/ksh |
4505 | 502 | export CONFIG_SHELL | 1160 | export CONFIG_SHELL |
4506 | 503 | exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} | 1161 | exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} |
4470 | 504 | else | ||
4471 | 505 | # Try using printf. | ||
4472 | 506 | echo='printf %s\n' | ||
4473 | 507 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | ||
4474 | 508 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | ||
4475 | 509 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
4476 | 510 | # Cool, printf works | ||
4477 | 511 | : | ||
4478 | 512 | elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && | ||
4479 | 513 | test "X$echo_testing_string" = 'X\t' && | ||
4480 | 514 | echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && | ||
4481 | 515 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
4482 | 516 | CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | ||
4483 | 517 | export CONFIG_SHELL | ||
4484 | 518 | SHELL="$CONFIG_SHELL" | ||
4485 | 519 | export SHELL | ||
4486 | 520 | echo="$CONFIG_SHELL [$]0 --fallback-echo" | ||
4487 | 521 | elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && | ||
4488 | 522 | test "X$echo_testing_string" = 'X\t' && | ||
4489 | 523 | echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && | ||
4490 | 524 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
4491 | 525 | echo="$CONFIG_SHELL [$]0 --fallback-echo" | ||
4507 | 526 | else | 1162 | else |
4515 | 527 | # maybe with a smaller string... | 1163 | # Try using printf. |
4516 | 528 | prev=: | 1164 | ECHO='printf %s\n' |
4517 | 529 | 1165 | if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && | |
4518 | 530 | for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do | 1166 | echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
4519 | 531 | if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | 1167 | test "X$echo_testing_string" = "X$echo_test_string"; then |
4520 | 532 | then | 1168 | # Cool, printf works |
4521 | 533 | break | 1169 | : |
4522 | 1170 | elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && | ||
4523 | 1171 | test "X$echo_testing_string" = 'X\t' && | ||
4524 | 1172 | echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && | ||
4525 | 1173 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
4526 | 1174 | CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | ||
4527 | 1175 | export CONFIG_SHELL | ||
4528 | 1176 | SHELL="$CONFIG_SHELL" | ||
4529 | 1177 | export SHELL | ||
4530 | 1178 | ECHO="$CONFIG_SHELL [$]0 --fallback-echo" | ||
4531 | 1179 | elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && | ||
4532 | 1180 | test "X$echo_testing_string" = 'X\t' && | ||
4533 | 1181 | echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && | ||
4534 | 1182 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
4535 | 1183 | ECHO="$CONFIG_SHELL [$]0 --fallback-echo" | ||
4536 | 1184 | else | ||
4537 | 1185 | # maybe with a smaller string... | ||
4538 | 1186 | prev=: | ||
4539 | 1187 | |||
4540 | 1188 | for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do | ||
4541 | 1189 | if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null | ||
4542 | 1190 | then | ||
4543 | 1191 | break | ||
4544 | 1192 | fi | ||
4545 | 1193 | prev="$cmd" | ||
4546 | 1194 | done | ||
4547 | 1195 | |||
4548 | 1196 | if test "$prev" != 'sed 50q "[$]0"'; then | ||
4549 | 1197 | echo_test_string=`eval $prev` | ||
4550 | 1198 | export echo_test_string | ||
4551 | 1199 | exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} | ||
4552 | 1200 | else | ||
4553 | 1201 | # Oops. We lost completely, so just stick with echo. | ||
4554 | 1202 | ECHO=echo | ||
4555 | 534 | fi | 1203 | fi |
4567 | 535 | prev="$cmd" | 1204 | fi |
4557 | 536 | done | ||
4558 | 537 | |||
4559 | 538 | if test "$prev" != 'sed 50q "[$]0"'; then | ||
4560 | 539 | echo_test_string=`eval $prev` | ||
4561 | 540 | export echo_test_string | ||
4562 | 541 | exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} | ||
4563 | 542 | else | ||
4564 | 543 | # Oops. We lost completely, so just stick with echo. | ||
4565 | 544 | echo=echo | ||
4566 | 545 | fi | ||
4568 | 546 | fi | 1205 | fi |
4569 | 547 | fi | 1206 | fi |
4570 | 548 | fi | 1207 | fi |
4571 | 549 | fi | 1208 | fi |
4572 | 550 | fi | ||
4573 | 551 | 1209 | ||
4574 | 552 | # Copy echo and quote the copy suitably for passing to libtool from | 1210 | # Copy echo and quote the copy suitably for passing to libtool from |
4575 | 553 | # the Makefile, instead of quoting the original, which is used later. | 1211 | # the Makefile, instead of quoting the original, which is used later. |
4579 | 554 | ECHO=$echo | 1212 | lt_ECHO=$ECHO |
4580 | 555 | if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then | 1213 | if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then |
4581 | 556 | ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" | 1214 | lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" |
4582 | 557 | fi | 1215 | fi |
4583 | 558 | 1216 | ||
4591 | 559 | AC_SUBST(ECHO) | 1217 | AC_SUBST(lt_ECHO) |
4592 | 560 | ])])# _LT_AC_PROG_ECHO_BACKSLASH | 1218 | ]) |
4593 | 561 | 1219 | _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) | |
4594 | 562 | 1220 | _LT_DECL([], [ECHO], [1], | |
4595 | 563 | # _LT_AC_LOCK | 1221 | [An echo program that does not interpret backslashes]) |
4596 | 564 | # ----------- | 1222 | ])# _LT_PROG_ECHO_BACKSLASH |
4597 | 565 | AC_DEFUN([_LT_AC_LOCK], | 1223 | |
4598 | 1224 | |||
4599 | 1225 | # _LT_ENABLE_LOCK | ||
4600 | 1226 | # --------------- | ||
4601 | 1227 | m4_defun([_LT_ENABLE_LOCK], | ||
4602 | 566 | [AC_ARG_ENABLE([libtool-lock], | 1228 | [AC_ARG_ENABLE([libtool-lock], |
4605 | 567 | [AC_HELP_STRING([--disable-libtool-lock], | 1229 | [AS_HELP_STRING([--disable-libtool-lock], |
4606 | 568 | [avoid locking (might break parallel builds)])]) | 1230 | [avoid locking (might break parallel builds)])]) |
4607 | 569 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 1231 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
4608 | 570 | 1232 | ||
4609 | 571 | # Some flags need to be propagated to the compiler or linker for good | 1233 | # Some flags need to be propagated to the compiler or linker for good |
4610 | @@ -576,12 +1238,12 @@ | |||
4611 | 576 | echo 'int i;' > conftest.$ac_ext | 1238 | echo 'int i;' > conftest.$ac_ext |
4612 | 577 | if AC_TRY_EVAL(ac_compile); then | 1239 | if AC_TRY_EVAL(ac_compile); then |
4613 | 578 | case `/usr/bin/file conftest.$ac_objext` in | 1240 | case `/usr/bin/file conftest.$ac_objext` in |
4620 | 579 | *ELF-32*) | 1241 | *ELF-32*) |
4621 | 580 | HPUX_IA64_MODE="32" | 1242 | HPUX_IA64_MODE="32" |
4622 | 581 | ;; | 1243 | ;; |
4623 | 582 | *ELF-64*) | 1244 | *ELF-64*) |
4624 | 583 | HPUX_IA64_MODE="64" | 1245 | HPUX_IA64_MODE="64" |
4625 | 584 | ;; | 1246 | ;; |
4626 | 585 | esac | 1247 | esac |
4627 | 586 | fi | 1248 | fi |
4628 | 587 | rm -rf conftest* | 1249 | rm -rf conftest* |
4629 | @@ -590,79 +1252,79 @@ | |||
4630 | 590 | # Find out which ABI we are using. | 1252 | # Find out which ABI we are using. |
4631 | 591 | echo '[#]line __oline__ "configure"' > conftest.$ac_ext | 1253 | echo '[#]line __oline__ "configure"' > conftest.$ac_ext |
4632 | 592 | if AC_TRY_EVAL(ac_compile); then | 1254 | if AC_TRY_EVAL(ac_compile); then |
4658 | 593 | if test "$lt_cv_prog_gnu_ld" = yes; then | 1255 | if test "$lt_cv_prog_gnu_ld" = yes; then |
4659 | 594 | case `/usr/bin/file conftest.$ac_objext` in | 1256 | case `/usr/bin/file conftest.$ac_objext` in |
4660 | 595 | *32-bit*) | 1257 | *32-bit*) |
4661 | 596 | LD="${LD-ld} -melf32bsmip" | 1258 | LD="${LD-ld} -melf32bsmip" |
4662 | 597 | ;; | 1259 | ;; |
4663 | 598 | *N32*) | 1260 | *N32*) |
4664 | 599 | LD="${LD-ld} -melf32bmipn32" | 1261 | LD="${LD-ld} -melf32bmipn32" |
4665 | 600 | ;; | 1262 | ;; |
4666 | 601 | *64-bit*) | 1263 | *64-bit*) |
4667 | 602 | LD="${LD-ld} -melf64bmip" | 1264 | LD="${LD-ld} -melf64bmip" |
4668 | 603 | ;; | 1265 | ;; |
4669 | 604 | esac | 1266 | esac |
4670 | 605 | else | 1267 | else |
4671 | 606 | case `/usr/bin/file conftest.$ac_objext` in | 1268 | case `/usr/bin/file conftest.$ac_objext` in |
4672 | 607 | *32-bit*) | 1269 | *32-bit*) |
4673 | 608 | LD="${LD-ld} -32" | 1270 | LD="${LD-ld} -32" |
4674 | 609 | ;; | 1271 | ;; |
4675 | 610 | *N32*) | 1272 | *N32*) |
4676 | 611 | LD="${LD-ld} -n32" | 1273 | LD="${LD-ld} -n32" |
4677 | 612 | ;; | 1274 | ;; |
4678 | 613 | *64-bit*) | 1275 | *64-bit*) |
4679 | 614 | LD="${LD-ld} -64" | 1276 | LD="${LD-ld} -64" |
4680 | 615 | ;; | 1277 | ;; |
4681 | 616 | esac | 1278 | esac |
4682 | 617 | fi | 1279 | fi |
4683 | 618 | fi | 1280 | fi |
4684 | 619 | rm -rf conftest* | 1281 | rm -rf conftest* |
4685 | 620 | ;; | 1282 | ;; |
4686 | 621 | 1283 | ||
4687 | 622 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ | 1284 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
4689 | 623 | s390*-*linux*|sparc*-*linux*) | 1285 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
4690 | 624 | # Find out which ABI we are using. | 1286 | # Find out which ABI we are using. |
4691 | 625 | echo 'int i;' > conftest.$ac_ext | 1287 | echo 'int i;' > conftest.$ac_ext |
4692 | 626 | if AC_TRY_EVAL(ac_compile); then | 1288 | if AC_TRY_EVAL(ac_compile); then |
4693 | 627 | case `/usr/bin/file conftest.o` in | 1289 | case `/usr/bin/file conftest.o` in |
4732 | 628 | *32-bit*) | 1290 | *32-bit*) |
4733 | 629 | case $host in | 1291 | case $host in |
4734 | 630 | x86_64-*kfreebsd*-gnu) | 1292 | x86_64-*kfreebsd*-gnu) |
4735 | 631 | LD="${LD-ld} -m elf_i386_fbsd" | 1293 | LD="${LD-ld} -m elf_i386_fbsd" |
4736 | 632 | ;; | 1294 | ;; |
4737 | 633 | x86_64-*linux*) | 1295 | x86_64-*linux*) |
4738 | 634 | LD="${LD-ld} -m elf_i386" | 1296 | LD="${LD-ld} -m elf_i386" |
4739 | 635 | ;; | 1297 | ;; |
4740 | 636 | ppc64-*linux*|powerpc64-*linux*) | 1298 | ppc64-*linux*|powerpc64-*linux*) |
4741 | 637 | LD="${LD-ld} -m elf32ppclinux" | 1299 | LD="${LD-ld} -m elf32ppclinux" |
4742 | 638 | ;; | 1300 | ;; |
4743 | 639 | s390x-*linux*) | 1301 | s390x-*linux*) |
4744 | 640 | LD="${LD-ld} -m elf_s390" | 1302 | LD="${LD-ld} -m elf_s390" |
4745 | 641 | ;; | 1303 | ;; |
4746 | 642 | sparc64-*linux*) | 1304 | sparc64-*linux*) |
4747 | 643 | LD="${LD-ld} -m elf32_sparc" | 1305 | LD="${LD-ld} -m elf32_sparc" |
4748 | 644 | ;; | 1306 | ;; |
4749 | 645 | esac | 1307 | esac |
4750 | 646 | ;; | 1308 | ;; |
4751 | 647 | *64-bit*) | 1309 | *64-bit*) |
4752 | 648 | case $host in | 1310 | case $host in |
4753 | 649 | x86_64-*kfreebsd*-gnu) | 1311 | x86_64-*kfreebsd*-gnu) |
4754 | 650 | LD="${LD-ld} -m elf_x86_64_fbsd" | 1312 | LD="${LD-ld} -m elf_x86_64_fbsd" |
4755 | 651 | ;; | 1313 | ;; |
4756 | 652 | x86_64-*linux*) | 1314 | x86_64-*linux*) |
4757 | 653 | LD="${LD-ld} -m elf_x86_64" | 1315 | LD="${LD-ld} -m elf_x86_64" |
4758 | 654 | ;; | 1316 | ;; |
4759 | 655 | ppc*-*linux*|powerpc*-*linux*) | 1317 | ppc*-*linux*|powerpc*-*linux*) |
4760 | 656 | LD="${LD-ld} -m elf64ppc" | 1318 | LD="${LD-ld} -m elf64ppc" |
4761 | 657 | ;; | 1319 | ;; |
4762 | 658 | s390*-*linux*) | 1320 | s390*-*linux*|s390*-*tpf*) |
4763 | 659 | LD="${LD-ld} -m elf64_s390" | 1321 | LD="${LD-ld} -m elf64_s390" |
4764 | 660 | ;; | 1322 | ;; |
4765 | 661 | sparc*-*linux*) | 1323 | sparc*-*linux*) |
4766 | 662 | LD="${LD-ld} -m elf64_sparc" | 1324 | LD="${LD-ld} -m elf64_sparc" |
4767 | 663 | ;; | 1325 | ;; |
4768 | 664 | esac | 1326 | esac |
4769 | 665 | ;; | 1327 | ;; |
4770 | 666 | esac | 1328 | esac |
4771 | 667 | fi | 1329 | fi |
4772 | 668 | rm -rf conftest* | 1330 | rm -rf conftest* |
4773 | @@ -674,7 +1336,7 @@ | |||
4774 | 674 | CFLAGS="$CFLAGS -belf" | 1336 | CFLAGS="$CFLAGS -belf" |
4775 | 675 | AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, | 1337 | AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, |
4776 | 676 | [AC_LANG_PUSH(C) | 1338 | [AC_LANG_PUSH(C) |
4778 | 677 | AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) | 1339 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) |
4779 | 678 | AC_LANG_POP]) | 1340 | AC_LANG_POP]) |
4780 | 679 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 1341 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
4781 | 680 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 1342 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
4782 | @@ -690,7 +1352,7 @@ | |||
4783 | 690 | case $lt_cv_prog_gnu_ld in | 1352 | case $lt_cv_prog_gnu_ld in |
4784 | 691 | yes*) LD="${LD-ld} -m elf64_sparc" ;; | 1353 | yes*) LD="${LD-ld} -m elf64_sparc" ;; |
4785 | 692 | *) | 1354 | *) |
4787 | 693 | if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then | 1355 | if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
4788 | 694 | LD="${LD-ld} -64" | 1356 | LD="${LD-ld} -64" |
4789 | 695 | fi | 1357 | fi |
4790 | 696 | ;; | 1358 | ;; |
4791 | @@ -700,30 +1362,63 @@ | |||
4792 | 700 | fi | 1362 | fi |
4793 | 701 | rm -rf conftest* | 1363 | rm -rf conftest* |
4794 | 702 | ;; | 1364 | ;; |
4795 | 703 | |||
4796 | 704 | AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], | ||
4797 | 705 | [*-*-cygwin* | *-*-mingw* | *-*-pw32*) | ||
4798 | 706 | AC_CHECK_TOOL(DLLTOOL, dlltool, false) | ||
4799 | 707 | AC_CHECK_TOOL(AS, as, false) | ||
4800 | 708 | AC_CHECK_TOOL(OBJDUMP, objdump, false) | ||
4801 | 709 | ;; | ||
4802 | 710 | ]) | ||
4803 | 711 | esac | 1365 | esac |
4804 | 712 | 1366 | ||
4805 | 713 | need_locks="$enable_libtool_lock" | 1367 | need_locks="$enable_libtool_lock" |
4811 | 714 | 1368 | ])# _LT_ENABLE_LOCK | |
4812 | 715 | ])# _LT_AC_LOCK | 1369 | |
4813 | 716 | 1370 | ||
4814 | 717 | 1371 | # _LT_CMD_OLD_ARCHIVE | |
4815 | 718 | # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, | 1372 | # ------------------- |
4816 | 1373 | m4_defun([_LT_CMD_OLD_ARCHIVE], | ||
4817 | 1374 | [AC_CHECK_TOOL(AR, ar, false) | ||
4818 | 1375 | test -z "$AR" && AR=ar | ||
4819 | 1376 | test -z "$AR_FLAGS" && AR_FLAGS=cru | ||
4820 | 1377 | _LT_DECL([], [AR], [1], [The archiver]) | ||
4821 | 1378 | _LT_DECL([], [AR_FLAGS], [1]) | ||
4822 | 1379 | |||
4823 | 1380 | AC_CHECK_TOOL(STRIP, strip, :) | ||
4824 | 1381 | test -z "$STRIP" && STRIP=: | ||
4825 | 1382 | _LT_DECL([], [STRIP], [1], [A symbol stripping program]) | ||
4826 | 1383 | |||
4827 | 1384 | AC_CHECK_TOOL(RANLIB, ranlib, :) | ||
4828 | 1385 | test -z "$RANLIB" && RANLIB=: | ||
4829 | 1386 | _LT_DECL([], [RANLIB], [1], | ||
4830 | 1387 | [Commands used to install an old-style archive]) | ||
4831 | 1388 | |||
4832 | 1389 | # Determine commands to create old-style static archives. | ||
4833 | 1390 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' | ||
4834 | 1391 | old_postinstall_cmds='chmod 644 $oldlib' | ||
4835 | 1392 | old_postuninstall_cmds= | ||
4836 | 1393 | |||
4837 | 1394 | if test -n "$RANLIB"; then | ||
4838 | 1395 | case $host_os in | ||
4839 | 1396 | openbsd*) | ||
4840 | 1397 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" | ||
4841 | 1398 | ;; | ||
4842 | 1399 | *) | ||
4843 | 1400 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" | ||
4844 | 1401 | ;; | ||
4845 | 1402 | esac | ||
4846 | 1403 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | ||
4847 | 1404 | fi | ||
4848 | 1405 | _LT_DECL([], [old_postinstall_cmds], [2]) | ||
4849 | 1406 | _LT_DECL([], [old_postuninstall_cmds], [2]) | ||
4850 | 1407 | _LT_TAGDECL([], [old_archive_cmds], [2], | ||
4851 | 1408 | [Commands used to build an old-style archive]) | ||
4852 | 1409 | ])# _LT_CMD_OLD_ARCHIVE | ||
4853 | 1410 | |||
4854 | 1411 | |||
4855 | 1412 | # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, | ||
4856 | 719 | # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) | 1413 | # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) |
4857 | 720 | # ---------------------------------------------------------------- | 1414 | # ---------------------------------------------------------------- |
4858 | 721 | # Check whether the given compiler option works | 1415 | # Check whether the given compiler option works |
4861 | 722 | AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], | 1416 | AC_DEFUN([_LT_COMPILER_OPTION], |
4862 | 723 | [AC_REQUIRE([LT_AC_PROG_SED]) | 1417 | [m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
4863 | 1418 | m4_require([_LT_DECL_SED])dnl | ||
4864 | 724 | AC_CACHE_CHECK([$1], [$2], | 1419 | AC_CACHE_CHECK([$1], [$2], |
4865 | 725 | [$2=no | 1420 | [$2=no |
4867 | 726 | ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) | 1421 | m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) |
4868 | 727 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 1422 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
4869 | 728 | lt_compiler_flag="$3" | 1423 | lt_compiler_flag="$3" |
4870 | 729 | # Insert the option either (1) after the last *FLAGS variable, or | 1424 | # Insert the option either (1) after the last *FLAGS variable, or |
4871 | @@ -743,29 +1438,35 @@ | |||
4872 | 743 | if (exit $ac_status) && test -s "$ac_outfile"; then | 1438 | if (exit $ac_status) && test -s "$ac_outfile"; then |
4873 | 744 | # The compiler can only warn and ignore the option if not recognized | 1439 | # The compiler can only warn and ignore the option if not recognized |
4874 | 745 | # So say no if there are warnings other than the usual output. | 1440 | # So say no if there are warnings other than the usual output. |
4876 | 746 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp | 1441 | $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
4877 | 747 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 1442 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
4878 | 748 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | 1443 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
4879 | 749 | $2=yes | 1444 | $2=yes |
4880 | 750 | fi | 1445 | fi |
4881 | 751 | fi | 1446 | fi |
4883 | 752 | $rm conftest* | 1447 | $RM conftest* |
4884 | 753 | ]) | 1448 | ]) |
4885 | 754 | 1449 | ||
4886 | 755 | if test x"[$]$2" = xyes; then | 1450 | if test x"[$]$2" = xyes; then |
4888 | 756 | ifelse([$5], , :, [$5]) | 1451 | m4_if([$5], , :, [$5]) |
4889 | 757 | else | 1452 | else |
4891 | 758 | ifelse([$6], , :, [$6]) | 1453 | m4_if([$6], , :, [$6]) |
4892 | 759 | fi | 1454 | fi |
4902 | 760 | ])# AC_LIBTOOL_COMPILER_OPTION | 1455 | ])# _LT_COMPILER_OPTION |
4903 | 761 | 1456 | ||
4904 | 762 | 1457 | # Old name: | |
4905 | 763 | # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, | 1458 | AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) |
4906 | 764 | # [ACTION-SUCCESS], [ACTION-FAILURE]) | 1459 | dnl aclocal-1.4 backwards compatibility: |
4907 | 765 | # ------------------------------------------------------------ | 1460 | dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) |
4908 | 766 | # Check whether the given compiler option works | 1461 | |
4909 | 767 | AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], | 1462 | |
4910 | 768 | [AC_REQUIRE([LT_AC_PROG_SED])dnl | 1463 | # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
4911 | 1464 | # [ACTION-SUCCESS], [ACTION-FAILURE]) | ||
4912 | 1465 | # ---------------------------------------------------- | ||
4913 | 1466 | # Check whether the given linker option works | ||
4914 | 1467 | AC_DEFUN([_LT_LINKER_OPTION], | ||
4915 | 1468 | [m4_require([_LT_FILEUTILS_DEFAULTS])dnl | ||
4916 | 1469 | m4_require([_LT_DECL_SED])dnl | ||
4917 | 769 | AC_CACHE_CHECK([$1], [$2], | 1470 | AC_CACHE_CHECK([$1], [$2], |
4918 | 770 | [$2=no | 1471 | [$2=no |
4919 | 771 | save_LDFLAGS="$LDFLAGS" | 1472 | save_LDFLAGS="$LDFLAGS" |
4920 | @@ -777,7 +1478,7 @@ | |||
4921 | 777 | if test -s conftest.err; then | 1478 | if test -s conftest.err; then |
4922 | 778 | # Append any errors to the config.log. | 1479 | # Append any errors to the config.log. |
4923 | 779 | cat conftest.err 1>&AS_MESSAGE_LOG_FD | 1480 | cat conftest.err 1>&AS_MESSAGE_LOG_FD |
4925 | 780 | $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp | 1481 | $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
4926 | 781 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 1482 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
4927 | 782 | if diff conftest.exp conftest.er2 >/dev/null; then | 1483 | if diff conftest.exp conftest.er2 >/dev/null; then |
4928 | 783 | $2=yes | 1484 | $2=yes |
4929 | @@ -786,22 +1487,28 @@ | |||
4930 | 786 | $2=yes | 1487 | $2=yes |
4931 | 787 | fi | 1488 | fi |
4932 | 788 | fi | 1489 | fi |
4934 | 789 | $rm -r conftest* | 1490 | $RM -r conftest* |
4935 | 790 | LDFLAGS="$save_LDFLAGS" | 1491 | LDFLAGS="$save_LDFLAGS" |
4936 | 791 | ]) | 1492 | ]) |
4937 | 792 | 1493 | ||
4938 | 793 | if test x"[$]$2" = xyes; then | 1494 | if test x"[$]$2" = xyes; then |
4940 | 794 | ifelse([$4], , :, [$4]) | 1495 | m4_if([$4], , :, [$4]) |
4941 | 795 | else | 1496 | else |
4943 | 796 | ifelse([$5], , :, [$5]) | 1497 | m4_if([$5], , :, [$5]) |
4944 | 797 | fi | 1498 | fi |
4952 | 798 | ])# AC_LIBTOOL_LINKER_OPTION | 1499 | ])# _LT_LINKER_OPTION |
4953 | 799 | 1500 | ||
4954 | 800 | 1501 | # Old name: | |
4955 | 801 | # AC_LIBTOOL_SYS_MAX_CMD_LEN | 1502 | AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) |
4956 | 802 | # -------------------------- | 1503 | dnl aclocal-1.4 backwards compatibility: |
4957 | 803 | AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], | 1504 | dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) |
4958 | 804 | [# find the maximum length of command line arguments | 1505 | |
4959 | 1506 | |||
4960 | 1507 | # LT_CMD_MAX_LEN | ||
4961 | 1508 | #--------------- | ||
4962 | 1509 | AC_DEFUN([LT_CMD_MAX_LEN], | ||
4963 | 1510 | [AC_REQUIRE([AC_CANONICAL_HOST])dnl | ||
4964 | 1511 | # find the maximum length of command line arguments | ||
4965 | 805 | AC_MSG_CHECKING([the maximum length of command line arguments]) | 1512 | AC_MSG_CHECKING([the maximum length of command line arguments]) |
4966 | 806 | AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl | 1513 | AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl |
4967 | 807 | i=0 | 1514 | i=0 |
4968 | @@ -823,7 +1530,7 @@ | |||
4969 | 823 | lt_cv_sys_max_cmd_len=-1; | 1530 | lt_cv_sys_max_cmd_len=-1; |
4970 | 824 | ;; | 1531 | ;; |
4971 | 825 | 1532 | ||
4973 | 826 | cygwin* | mingw*) | 1533 | cygwin* | mingw* | cegcc*) |
4974 | 827 | # On Win9x/ME, this test blows up -- it succeeds, but takes | 1534 | # On Win9x/ME, this test blows up -- it succeeds, but takes |
4975 | 828 | # about 5 minutes as the teststring grows exponentially. | 1535 | # about 5 minutes as the teststring grows exponentially. |
4976 | 829 | # Worse, since 9x/ME are not pre-emptively multitasking, | 1536 | # Worse, since 9x/ME are not pre-emptively multitasking, |
4977 | @@ -878,7 +1585,7 @@ | |||
4978 | 878 | sysv5* | sco5v6* | sysv4.2uw2*) | 1585 | sysv5* | sco5v6* | sysv4.2uw2*) |
4979 | 879 | kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` | 1586 | kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
4980 | 880 | if test -n "$kargmax"; then | 1587 | if test -n "$kargmax"; then |
4982 | 881 | lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` | 1588 | lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` |
4983 | 882 | else | 1589 | else |
4984 | 883 | lt_cv_sys_max_cmd_len=32768 | 1590 | lt_cv_sys_max_cmd_len=32768 |
4985 | 884 | fi | 1591 | fi |
4986 | @@ -889,20 +1596,28 @@ | |||
4987 | 889 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | 1596 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
4988 | 890 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | 1597 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
4989 | 891 | else | 1598 | else |
4990 | 1599 | # Make teststring a little bigger before we do anything with it. | ||
4991 | 1600 | # a 1K string should be a reasonable start. | ||
4992 | 1601 | for i in 1 2 3 4 5 6 7 8 ; do | ||
4993 | 1602 | teststring=$teststring$teststring | ||
4994 | 1603 | done | ||
4995 | 892 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} | 1604 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
5000 | 893 | while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ | 1605 | # If test is not a shell built-in, we'll probably end up computing a |
4997 | 894 | = "XX$teststring") >/dev/null 2>&1 && | ||
4998 | 895 | new_result=`expr "X$teststring" : ".*" 2>&1` && | ||
4999 | 896 | lt_cv_sys_max_cmd_len=$new_result && |
The diff has been truncated for viewing.