Merge lp:~logan/ubuntu/raring/sblim-cmpi-base/1.6.2 into lp:ubuntu/raring/sblim-cmpi-base

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
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+143018@code.launchpad.net
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
=== removed file '.pc/applied-patches'
--- .pc/applied-patches 2011-10-16 11:55:22 +0000
+++ .pc/applied-patches 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1underlinked-library.patch
20
=== removed directory '.pc/underlinked-library.patch'
=== removed file '.pc/underlinked-library.patch/Makefile.am'
--- .pc/underlinked-library.patch/Makefile.am 2011-10-16 11:55:22 +0000
+++ .pc/underlinked-library.patch/Makefile.am 1970-01-01 00:00:00 +0000
@@ -1,230 +0,0 @@
1# $Id: Makefile.am,v 1.17 2009/07/25 00:37:30 tyreld Exp $
2# ==================================================================
3# (C) Copyright IBM Corp. 2005, 2009
4#
5# THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
6# ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
7# CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
8#
9# You can obtain a current copy of the Eclipse Public License from
10# http://www.opensource.org/licenses/ecplipse-1.0.php
11#
12# Author: Viktor Mihajlovski <mihajlov@de.ibm.com>
13# Contributors: Dr. Gareth S. Bestor <bestorga@us.ibm.com>
14# Description: Automake input file for OS Base Providers
15# ==================================================================
16
17
18# SBLIM Include Directory
19sblimincdir = $(includedir)/sblim
20
21# Start from an empty extra distribution file list
22EXTRA_DIST=
23
24# docdir defines where the documentation goes
25docdir=$(datadir)/doc/$(PACKAGE)-$(VERSION)
26
27#
28# Automake instructions for documentation
29#
30doc_DATA=README AUTHORS COPYING
31
32# ADD EXTRA DOC FILES IF PRESENT
33doc_DATA+=README.INDICATION README.tog-pegasus DEBUG
34EXTRA_DIST+=README.INDICATION README.tog-pegasus DEBUG
35
36# providerdir defines where provider libraries will be installed (@PROVIDERDIR@ is set by the configure script).
37providerdir = @PROVIDERDIR@
38
39#
40# Automake instructions for main dir
41#
42
43# OSBase CMPI provider libraries
44provider_LTLIBRARIES = libcmpiOSBase_ComputerSystemProvider.la \
45 libcmpiOSBase_OperatingSystemProvider.la \
46 libcmpiOSBase_OperatingSystemStatisticalDataProvider.la \
47 libcmpiOSBase_UnixProcessProvider.la \
48 libcmpiOSBase_ProcessorProvider.la \
49 libcmpiOSBase_BaseBoardProvider.la \
50 libcmpiOSBase_RunningOSProvider.la \
51 libcmpiOSBase_OSProcessProvider.la \
52 libcmpiOSBase_OperatingSystemStatisticsProvider.la \
53 libcmpiOSBase_CSProcessorProvider.la \
54 libcmpiOSBase_CSBaseBoardProvider.la
55
56# Computer System
57libcmpiOSBase_ComputerSystemProvider_la_SOURCES = \
58 cmpiOSBase_ComputerSystemProvider.c \
59 cmpiOSBase_ComputerSystem.c \
60 OSBase_ComputerSystem.c
61libcmpiOSBase_ComputerSystemProvider_la_LIBADD = -lcmpiOSBase_Common
62libcmpiOSBase_ComputerSystemProvider_la_LDFLAGS = -avoid-version
63
64# Operating System
65libcmpiOSBase_OperatingSystemProvider_la_SOURCES = \
66 cmpiOSBase_OperatingSystemProvider.c \
67 cmpiOSBase_OperatingSystem.c \
68 OSBase_OperatingSystem.c
69
70libcmpiOSBase_OperatingSystemProvider_la_LIBADD = -lcmpiOSBase_Common \
71 -ldmiinfo @LINDHELP@
72# This gcc/ld specific flag is ugly - need to check in configure
73libcmpiOSBase_OperatingSystemProvider_la_LDFLAGS = -avoid-version
74
75# Operating System Statistical Data
76libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES = \
77 cmpiOSBase_OperatingSystemStatisticalDataProvider.c \
78 cmpiOSBase_OperatingSystemStatisticalData.c \
79 OSBase_OperatingSystemStatisticalData.c
80libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LIBADD = -lcmpiOSBase_Common
81libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LDFLAGS = -avoid-version
82
83# Unix Process
84libcmpiOSBase_UnixProcessProvider_la_SOURCES = \
85 cmpiOSBase_UnixProcessProvider.c \
86 cmpiOSBase_UnixProcess.c \
87 OSBase_UnixProcess.c
88libcmpiOSBase_UnixProcessProvider_la_LIBADD = -lcmpiOSBase_Common
89libcmpiOSBase_UnixProcessProvider_la_LDFLAGS = -avoid-version
90
91# Processor
92libcmpiOSBase_ProcessorProvider_la_SOURCES = \
93 cmpiOSBase_ProcessorProvider.c \
94 cmpiOSBase_Processor.c \
95 OSBase_Processor.c
96libcmpiOSBase_ProcessorProvider_la_LIBADD = -lcmpiOSBase_Common
97libcmpiOSBase_ProcessorProvider_la_LDFLAGS = -avoid-version
98
99# Base Board
100libcmpiOSBase_BaseBoardProvider_la_SOURCES = \
101 cmpiOSBase_BaseBoardProvider.c \
102 cmpiOSBase_BaseBoard.c \
103 OSBase_BaseBoard.c
104libcmpiOSBase_BaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common -ldmiinfo
105libcmpiOSBase_BaseBoardProvider_la_LDFLAGS = -avoid-version
106
107libcmpiOSBase_RunningOSProvider_la_SOURCES = cmpiOSBase_RunningOSProvider.c
108libcmpiOSBase_RunningOSProvider_la_LIBADD = -lcmpiOSBase_Common
109libcmpiOSBase_RunningOSProvider_la_LDFLAGS = -avoid-version
110
111libcmpiOSBase_OSProcessProvider_la_SOURCES = cmpiOSBase_OSProcessProvider.c
112libcmpiOSBase_OSProcessProvider_la_LIBADD = -lcmpiOSBase_Common
113libcmpiOSBase_OSProcessProvider_la_LDFLAGS = -avoid-version
114
115libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES = cmpiOSBase_OperatingSystemStatisticsProvider.c
116libcmpiOSBase_OperatingSystemStatisticsProvider_la_LIBADD = -lcmpiOSBase_Common
117libcmpiOSBase_OperatingSystemStatisticsProvider_la_LDFLAGS = -avoid-version
118
119libcmpiOSBase_CSProcessorProvider_la_SOURCES = cmpiOSBase_CSProcessorProvider.c
120libcmpiOSBase_CSProcessorProvider_la_LIBADD = -lcmpiOSBase_Common
121libcmpiOSBase_CSProcessorProvider_la_LDFLAGS = -avoid-version
122
123libcmpiOSBase_CSBaseBoardProvider_la_SOURCES = cmpiOSBase_CSBaseBoardProvider.c
124libcmpiOSBase_CSBaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common
125libcmpiOSBase_CSBaseBoardProvider_la_LDFLAGS = -avoid-version
126
127
128# OSBase support utility libraries
129lib_LTLIBRARIES = libcmpiOSBase_Common.la libdmiinfo.la
130
131libcmpiOSBase_Common_la_SOURCES=OSBase_Common.c cmpiOSBase_Common.c
132# This gcc/ld specific flag is ugly - need to check in configure
133libcmpiOSBase_Common_la_LDFLAGS = -Wc
134
135libdmiinfo_la_SOURCES=dmiinfo.c dmiinfo.h dmifind.h
136
137# DMI layer test program (not installed)
138noinst_PROGRAMS = dmitest
139dmitest_SOURCES = dmitest.c
140dmitest_LDADD = -ldmiinfo
141
142# Installable Header Files
143sbliminc_HEADERS = OSBase_Common.h cmpiOSBase_Common.h \
144 OSBase_UnixProcess.h cmpiOSBase_UnixProcess.h
145
146# Non-Installable Header Files
147noinst_HEADERS = OSBase_ComputerSystem.h \
148 OSBase_OperatingSystem.h \
149 OSBase_OperatingSystemStatisticalData.h \
150 OSBase_Processor.h \
151 OSBase_BaseBoard.h \
152 cmpiOSBase_Util.h \
153 cmpiOSBase_ComputerSystem.h \
154 cmpiOSBase_OperatingSystem.h \
155 cmpiOSBase_OperatingSystemStatisticalData.h \
156 cmpiOSBase_Processor.h \
157 cmpiOSBase_BaseBoard.h
158
159# We must explicity add the RPM spec file to the distribution package
160EXTRA_DIST+=$(PACKAGE).spec $(PACKAGE).rh.spec
161
162
163#
164# Automake instructions for ./mof subdir
165#
166if NOEVENTS
167SCHEMAS=$(srcdir)/mof/Linux_Base.mof
168REGISTRATIONS=$(srcdir)/mof/Linux_Base.registration
169else
170SCHEMAS=$(srcdir)/mof/Linux_Base.mof $(srcdir)/mof/Linux_BaseIndication.mof
171REGISTRATIONS=$(srcdir)/mof/Linux_BaseIndication.registration
172endif
173
174# We must explicity add all the schema files to the distribution package
175pkgdata_DATA=$(SCHEMAS) $(REGISTRATIONS)
176pkgdata_SCRIPTS=provider-register.sh
177EXTRA_DIST+=mof $(pkgdata_SCRIPTS)
178
179# Register the provider(s) and class definition(s) to the current CIM server/CIMOM
180postinstall:
181 sh $(srcdir)/provider-register.sh -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS)
182
183preuninstall:
184 sh $(srcdir)/provider-register.sh -d -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS)
185
186dist-hook:
187 test -d "$(distdir)" && rm -rf `find $(distdir) -type d -name CVS`
188
189#
190# Automake instructions for ./test subdir
191#
192EXTRA_DIST+=test README.TEST
193if TESTSUITE
194testsuitedir=@TESTSUITEDIR@
195testsuitesystemdir=@TESTSUITEDIR@/system/linux
196testsuitecimdir=@TESTSUITEDIR@/cim
197
198testsuite_SCRIPTS=test/test-cmpi-base.sh
199testsuitesystem_DATA=test/system/linux/Linux_CSProcessor.system \
200 test/system/linux/Linux_ComputerSystem.system \
201 test/system/linux/Linux_OSProcess.system \
202 test/system/linux/Linux_OperatingSystem.system \
203 test/system/linux/Linux_Processor.system \
204 test/system/linux/Linux_OperatingSystemStatisticalData.system \
205 test/system/linux/Linux_OperatingSystemStatistics.system \
206 test/system/linux/Linux_RunningOS.system \
207 test/system/linux/Linux_UnixProcess.system \
208 test/system/linux/Linux_BaseBoard.system \
209 test/system/linux/Linux_CSBaseBoard.system
210testsuitesystem_SCRIPTS=test/system/linux/Linux_OperatingSystem.version.sh \
211 test/system/linux/Linux_Processor.pl \
212 test/system/linux/Linux_UnixProcess.pl \
213 test/system/linux/createKeyFiles.sh
214testsuitecim_DATA=test/cim/Linux_CSProcessor.cim \
215 test/cim/Linux_ComputerSystem.cim \
216 test/cim/Linux_OSProcess.cim \
217 test/cim/Linux_OperatingSystem.cim \
218 test/cim/Linux_OperatingSystemStatisticalData.cim \
219 test/cim/Linux_OperatingSystemStatistics.cim \
220 test/cim/Linux_Processor.cim \
221 test/cim/Linux_RunningOS.cim \
222 test/cim/Linux_UnixProcess.cim \
223 test/cim/Linux_BaseBoard.cim \
224 test/cim/Linux_CSBaseBoard.cim
225
226runtest: install
227 cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh
228
229doc_DATA+=README.TEST
230endif
2310
=== removed file '.pc/underlinked-library.patch/Makefile.in'
--- .pc/underlinked-library.patch/Makefile.in 2011-10-16 11:55:22 +0000
+++ .pc/underlinked-library.patch/Makefile.in 1970-01-01 00:00:00 +0000
@@ -1,1261 +0,0 @@
1# Makefile.in generated by automake 1.10.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# $Id: Makefile.am,v 1.17 2009/07/25 00:37:30 tyreld Exp $
18# ==================================================================
19# (C) Copyright IBM Corp. 2005, 2009
20#
21# THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
22# ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
23# CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
24#
25# You can obtain a current copy of the Eclipse Public License from
26# http://www.opensource.org/licenses/ecplipse-1.0.php
27#
28# Author: Viktor Mihajlovski <mihajlov@de.ibm.com>
29# Contributors: Dr. Gareth S. Bestor <bestorga@us.ibm.com>
30# Description: Automake input file for OS Base Providers
31# ==================================================================
32
33
34
35
36
37VPATH = @srcdir@
38pkgdatadir = $(datadir)/@PACKAGE@
39pkglibdir = $(libdir)/@PACKAGE@
40pkgincludedir = $(includedir)/@PACKAGE@
41am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42install_sh_DATA = $(install_sh) -c -m 644
43install_sh_PROGRAM = $(install_sh) -c
44install_sh_SCRIPT = $(install_sh) -c
45INSTALL_HEADER = $(INSTALL_DATA)
46transform = $(program_transform_name)
47NORMAL_INSTALL = :
48PRE_INSTALL = :
49POST_INSTALL = :
50NORMAL_UNINSTALL = :
51PRE_UNINSTALL = :
52POST_UNINSTALL = :
53build_triplet = @build@
54host_triplet = @host@
55noinst_PROGRAMS = dmitest$(EXEEXT)
56@TESTSUITE_TRUE@am__append_1 = README.TEST
57subdir = .
58DIST_COMMON = README $(am__configure_deps) $(noinst_HEADERS) \
59 $(sbliminc_HEADERS) $(srcdir)/Makefile.am \
60 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
61 $(srcdir)/sblim-cmpi-base.spec.in $(top_srcdir)/configure \
62 AUTHORS COPYING ChangeLog INSTALL NEWS config.guess config.sub \
63 depcomp install-sh ltmain.sh missing
64ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
66 $(top_srcdir)/configure.ac
67am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
68 $(ACLOCAL_M4)
69am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
70 configure.lineno config.status.lineno
71mkinstalldirs = $(install_sh) -d
72CONFIG_HEADER = config.h
73CONFIG_CLEAN_FILES = sblim-cmpi-base.spec
74am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
75am__vpath_adj = case $$p in \
76 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
77 *) f=$$p;; \
78 esac;
79am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
80am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(providerdir)" \
81 "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitedir)" \
82 "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(docdir)" \
83 "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitecimdir)" \
84 "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(sblimincdir)"
85libLTLIBRARIES_INSTALL = $(INSTALL)
86providerLTLIBRARIES_INSTALL = $(INSTALL)
87LTLIBRARIES = $(lib_LTLIBRARIES) $(provider_LTLIBRARIES)
88libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES =
89am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \
90 cmpiOSBase_BaseBoardProvider.lo cmpiOSBase_BaseBoard.lo \
91 OSBase_BaseBoard.lo
92libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \
93 $(am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS)
94libcmpiOSBase_BaseBoardProvider_la_LINK = $(LIBTOOL) --tag=CC \
95 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
96 $(AM_CFLAGS) $(CFLAGS) \
97 $(libcmpiOSBase_BaseBoardProvider_la_LDFLAGS) $(LDFLAGS) -o $@
98libcmpiOSBase_CSBaseBoardProvider_la_DEPENDENCIES =
99am_libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS = \
100 cmpiOSBase_CSBaseBoardProvider.lo
101libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS = \
102 $(am_libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS)
103libcmpiOSBase_CSBaseBoardProvider_la_LINK = $(LIBTOOL) --tag=CC \
104 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
105 $(AM_CFLAGS) $(CFLAGS) \
106 $(libcmpiOSBase_CSBaseBoardProvider_la_LDFLAGS) $(LDFLAGS) -o \
107 $@
108libcmpiOSBase_CSProcessorProvider_la_DEPENDENCIES =
109am_libcmpiOSBase_CSProcessorProvider_la_OBJECTS = \
110 cmpiOSBase_CSProcessorProvider.lo
111libcmpiOSBase_CSProcessorProvider_la_OBJECTS = \
112 $(am_libcmpiOSBase_CSProcessorProvider_la_OBJECTS)
113libcmpiOSBase_CSProcessorProvider_la_LINK = $(LIBTOOL) --tag=CC \
114 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
115 $(AM_CFLAGS) $(CFLAGS) \
116 $(libcmpiOSBase_CSProcessorProvider_la_LDFLAGS) $(LDFLAGS) -o \
117 $@
118libcmpiOSBase_Common_la_LIBADD =
119am_libcmpiOSBase_Common_la_OBJECTS = OSBase_Common.lo \
120 cmpiOSBase_Common.lo
121libcmpiOSBase_Common_la_OBJECTS = \
122 $(am_libcmpiOSBase_Common_la_OBJECTS)
123libcmpiOSBase_Common_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
124 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
125 $(libcmpiOSBase_Common_la_LDFLAGS) $(LDFLAGS) -o $@
126libcmpiOSBase_ComputerSystemProvider_la_DEPENDENCIES =
127am_libcmpiOSBase_ComputerSystemProvider_la_OBJECTS = \
128 cmpiOSBase_ComputerSystemProvider.lo \
129 cmpiOSBase_ComputerSystem.lo OSBase_ComputerSystem.lo
130libcmpiOSBase_ComputerSystemProvider_la_OBJECTS = \
131 $(am_libcmpiOSBase_ComputerSystemProvider_la_OBJECTS)
132libcmpiOSBase_ComputerSystemProvider_la_LINK = $(LIBTOOL) --tag=CC \
133 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
134 $(AM_CFLAGS) $(CFLAGS) \
135 $(libcmpiOSBase_ComputerSystemProvider_la_LDFLAGS) $(LDFLAGS) \
136 -o $@
137libcmpiOSBase_OSProcessProvider_la_DEPENDENCIES =
138am_libcmpiOSBase_OSProcessProvider_la_OBJECTS = \
139 cmpiOSBase_OSProcessProvider.lo
140libcmpiOSBase_OSProcessProvider_la_OBJECTS = \
141 $(am_libcmpiOSBase_OSProcessProvider_la_OBJECTS)
142libcmpiOSBase_OSProcessProvider_la_LINK = $(LIBTOOL) --tag=CC \
143 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
144 $(AM_CFLAGS) $(CFLAGS) \
145 $(libcmpiOSBase_OSProcessProvider_la_LDFLAGS) $(LDFLAGS) -o $@
146libcmpiOSBase_OperatingSystemProvider_la_DEPENDENCIES =
147am_libcmpiOSBase_OperatingSystemProvider_la_OBJECTS = \
148 cmpiOSBase_OperatingSystemProvider.lo \
149 cmpiOSBase_OperatingSystem.lo OSBase_OperatingSystem.lo
150libcmpiOSBase_OperatingSystemProvider_la_OBJECTS = \
151 $(am_libcmpiOSBase_OperatingSystemProvider_la_OBJECTS)
152libcmpiOSBase_OperatingSystemProvider_la_LINK = $(LIBTOOL) --tag=CC \
153 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
154 $(AM_CFLAGS) $(CFLAGS) \
155 $(libcmpiOSBase_OperatingSystemProvider_la_LDFLAGS) $(LDFLAGS) \
156 -o $@
157libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_DEPENDENCIES =
158am_libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS = \
159 cmpiOSBase_OperatingSystemStatisticalDataProvider.lo \
160 cmpiOSBase_OperatingSystemStatisticalData.lo \
161 OSBase_OperatingSystemStatisticalData.lo
162libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS = $(am_libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS)
163libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LINK = \
164 $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
165 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
166 $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LDFLAGS) \
167 $(LDFLAGS) -o $@
168libcmpiOSBase_OperatingSystemStatisticsProvider_la_DEPENDENCIES =
169am_libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS = \
170 cmpiOSBase_OperatingSystemStatisticsProvider.lo
171libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS = $(am_libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS)
172libcmpiOSBase_OperatingSystemStatisticsProvider_la_LINK = $(LIBTOOL) \
173 --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
174 $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
175 $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_LDFLAGS) \
176 $(LDFLAGS) -o $@
177libcmpiOSBase_ProcessorProvider_la_DEPENDENCIES =
178am_libcmpiOSBase_ProcessorProvider_la_OBJECTS = \
179 cmpiOSBase_ProcessorProvider.lo cmpiOSBase_Processor.lo \
180 OSBase_Processor.lo
181libcmpiOSBase_ProcessorProvider_la_OBJECTS = \
182 $(am_libcmpiOSBase_ProcessorProvider_la_OBJECTS)
183libcmpiOSBase_ProcessorProvider_la_LINK = $(LIBTOOL) --tag=CC \
184 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
185 $(AM_CFLAGS) $(CFLAGS) \
186 $(libcmpiOSBase_ProcessorProvider_la_LDFLAGS) $(LDFLAGS) -o $@
187libcmpiOSBase_RunningOSProvider_la_DEPENDENCIES =
188am_libcmpiOSBase_RunningOSProvider_la_OBJECTS = \
189 cmpiOSBase_RunningOSProvider.lo
190libcmpiOSBase_RunningOSProvider_la_OBJECTS = \
191 $(am_libcmpiOSBase_RunningOSProvider_la_OBJECTS)
192libcmpiOSBase_RunningOSProvider_la_LINK = $(LIBTOOL) --tag=CC \
193 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
194 $(AM_CFLAGS) $(CFLAGS) \
195 $(libcmpiOSBase_RunningOSProvider_la_LDFLAGS) $(LDFLAGS) -o $@
196libcmpiOSBase_UnixProcessProvider_la_DEPENDENCIES =
197am_libcmpiOSBase_UnixProcessProvider_la_OBJECTS = \
198 cmpiOSBase_UnixProcessProvider.lo cmpiOSBase_UnixProcess.lo \
199 OSBase_UnixProcess.lo
200libcmpiOSBase_UnixProcessProvider_la_OBJECTS = \
201 $(am_libcmpiOSBase_UnixProcessProvider_la_OBJECTS)
202libcmpiOSBase_UnixProcessProvider_la_LINK = $(LIBTOOL) --tag=CC \
203 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
204 $(AM_CFLAGS) $(CFLAGS) \
205 $(libcmpiOSBase_UnixProcessProvider_la_LDFLAGS) $(LDFLAGS) -o \
206 $@
207libdmiinfo_la_LIBADD =
208am_libdmiinfo_la_OBJECTS = dmiinfo.lo
209libdmiinfo_la_OBJECTS = $(am_libdmiinfo_la_OBJECTS)
210PROGRAMS = $(noinst_PROGRAMS)
211am_dmitest_OBJECTS = dmitest.$(OBJEXT)
212dmitest_OBJECTS = $(am_dmitest_OBJECTS)
213dmitest_DEPENDENCIES =
214pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT)
215testsuiteSCRIPT_INSTALL = $(INSTALL_SCRIPT)
216testsuitesystemSCRIPT_INSTALL = $(INSTALL_SCRIPT)
217SCRIPTS = $(pkgdata_SCRIPTS) $(testsuite_SCRIPTS) \
218 $(testsuitesystem_SCRIPTS)
219DEFAULT_INCLUDES = -I.@am__isrc@
220depcomp = $(SHELL) $(top_srcdir)/depcomp
221am__depfiles_maybe = depfiles
222COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
223 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
224LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
225 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
226 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
227CCLD = $(CC)
228LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
229 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
230 $(LDFLAGS) -o $@
231SOURCES = $(libcmpiOSBase_BaseBoardProvider_la_SOURCES) \
232 $(libcmpiOSBase_CSBaseBoardProvider_la_SOURCES) \
233 $(libcmpiOSBase_CSProcessorProvider_la_SOURCES) \
234 $(libcmpiOSBase_Common_la_SOURCES) \
235 $(libcmpiOSBase_ComputerSystemProvider_la_SOURCES) \
236 $(libcmpiOSBase_OSProcessProvider_la_SOURCES) \
237 $(libcmpiOSBase_OperatingSystemProvider_la_SOURCES) \
238 $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES) \
239 $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES) \
240 $(libcmpiOSBase_ProcessorProvider_la_SOURCES) \
241 $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \
242 $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \
243 $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES)
244DIST_SOURCES = $(libcmpiOSBase_BaseBoardProvider_la_SOURCES) \
245 $(libcmpiOSBase_CSBaseBoardProvider_la_SOURCES) \
246 $(libcmpiOSBase_CSProcessorProvider_la_SOURCES) \
247 $(libcmpiOSBase_Common_la_SOURCES) \
248 $(libcmpiOSBase_ComputerSystemProvider_la_SOURCES) \
249 $(libcmpiOSBase_OSProcessProvider_la_SOURCES) \
250 $(libcmpiOSBase_OperatingSystemProvider_la_SOURCES) \
251 $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES) \
252 $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES) \
253 $(libcmpiOSBase_ProcessorProvider_la_SOURCES) \
254 $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \
255 $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \
256 $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES)
257docDATA_INSTALL = $(INSTALL_DATA)
258pkgdataDATA_INSTALL = $(INSTALL_DATA)
259testsuitecimDATA_INSTALL = $(INSTALL_DATA)
260testsuitesystemDATA_INSTALL = $(INSTALL_DATA)
261DATA = $(doc_DATA) $(pkgdata_DATA) $(testsuitecim_DATA) \
262 $(testsuitesystem_DATA)
263sblimincHEADERS_INSTALL = $(INSTALL_HEADER)
264HEADERS = $(noinst_HEADERS) $(sbliminc_HEADERS)
265ETAGS = etags
266CTAGS = ctags
267DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
268distdir = $(PACKAGE)-$(VERSION)
269top_distdir = $(distdir)
270am__remove_distdir = \
271 { test ! -d $(distdir) \
272 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
273 && rm -fr $(distdir); }; }
274DIST_ARCHIVES = $(distdir).tar.gz
275GZIP_ENV = --best
276distuninstallcheck_listfiles = find . -type f -print
277distcleancheck_listfiles = find . -type f -print
278ACLOCAL = @ACLOCAL@
279AMTAR = @AMTAR@
280AR = @AR@
281AUTOCONF = @AUTOCONF@
282AUTOHEADER = @AUTOHEADER@
283AUTOMAKE = @AUTOMAKE@
284AWK = @AWK@
285CC = @CC@
286CCDEPMODE = @CCDEPMODE@
287CFLAGS = @CFLAGS@
288CIMSERVER = @CIMSERVER@
289CPP = @CPP@
290CPPFLAGS = @CPPFLAGS@
291CXX = @CXX@
292CXXCPP = @CXXCPP@
293CXXDEPMODE = @CXXDEPMODE@
294CXXFLAGS = @CXXFLAGS@
295CYGPATH_W = @CYGPATH_W@
296DEFS = @DEFS@
297DEPDIR = @DEPDIR@
298DSYMUTIL = @DSYMUTIL@
299ECHO = @ECHO@
300ECHO_C = @ECHO_C@
301ECHO_N = @ECHO_N@
302ECHO_T = @ECHO_T@
303EGREP = @EGREP@
304EXEEXT = @EXEEXT@
305F77 = @F77@
306FFLAGS = @FFLAGS@
307GREP = @GREP@
308INSTALL = @INSTALL@
309INSTALL_DATA = @INSTALL_DATA@
310INSTALL_PROGRAM = @INSTALL_PROGRAM@
311INSTALL_SCRIPT = @INSTALL_SCRIPT@
312INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
313LDFLAGS = @LDFLAGS@
314LIBOBJS = @LIBOBJS@
315LIBS = @LIBS@
316LIBTOOL = @LIBTOOL@
317LINDHELP = @LINDHELP@
318LN_S = @LN_S@
319LTLIBOBJS = @LTLIBOBJS@
320MAKEINFO = @MAKEINFO@
321MKDIR_P = @MKDIR_P@
322NMEDIT = @NMEDIT@
323OBJEXT = @OBJEXT@
324PACKAGE = @PACKAGE@
325PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
326PACKAGE_NAME = @PACKAGE_NAME@
327PACKAGE_STRING = @PACKAGE_STRING@
328PACKAGE_TARNAME = @PACKAGE_TARNAME@
329PACKAGE_VERSION = @PACKAGE_VERSION@
330PATH_SEPARATOR = @PATH_SEPARATOR@
331PROVIDERDIR = @PROVIDERDIR@
332RANLIB = @RANLIB@
333REGISTER_FLAGS = @REGISTER_FLAGS@
334SED = @SED@
335SET_MAKE = @SET_MAKE@
336SHELL = @SHELL@
337STRIP = @STRIP@
338TESTSUITEDIR = @TESTSUITEDIR@
339VERSION = @VERSION@
340abs_builddir = @abs_builddir@
341abs_srcdir = @abs_srcdir@
342abs_top_builddir = @abs_top_builddir@
343abs_top_srcdir = @abs_top_srcdir@
344ac_ct_CC = @ac_ct_CC@
345ac_ct_CXX = @ac_ct_CXX@
346ac_ct_F77 = @ac_ct_F77@
347am__include = @am__include@
348am__leading_dot = @am__leading_dot@
349am__quote = @am__quote@
350am__tar = @am__tar@
351am__untar = @am__untar@
352bindir = @bindir@
353build = @build@
354build_alias = @build_alias@
355build_cpu = @build_cpu@
356build_os = @build_os@
357build_vendor = @build_vendor@
358builddir = @builddir@
359datadir = @datadir@
360datarootdir = @datarootdir@
361
362# docdir defines where the documentation goes
363docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
364dvidir = @dvidir@
365exec_prefix = @exec_prefix@
366host = @host@
367host_alias = @host_alias@
368host_cpu = @host_cpu@
369host_os = @host_os@
370host_vendor = @host_vendor@
371htmldir = @htmldir@
372includedir = @includedir@
373infodir = @infodir@
374install_sh = @install_sh@
375libdir = @libdir@
376libexecdir = @libexecdir@
377localedir = @localedir@
378localstatedir = @localstatedir@
379mandir = @mandir@
380mkdir_p = @mkdir_p@
381oldincludedir = @oldincludedir@
382pdfdir = @pdfdir@
383prefix = @prefix@
384program_transform_name = @program_transform_name@
385psdir = @psdir@
386sbindir = @sbindir@
387sharedstatedir = @sharedstatedir@
388srcdir = @srcdir@
389sysconfdir = @sysconfdir@
390target_alias = @target_alias@
391top_builddir = @top_builddir@
392top_srcdir = @top_srcdir@
393
394# SBLIM Include Directory
395sblimincdir = $(includedir)/sblim
396
397# Start from an empty extra distribution file list
398
399# We must explicity add the RPM spec file to the distribution package
400
401#
402# Automake instructions for ./test subdir
403#
404EXTRA_DIST = README.INDICATION README.tog-pegasus DEBUG \
405 $(PACKAGE).spec $(PACKAGE).rh.spec mof $(pkgdata_SCRIPTS) test \
406 README.TEST
407
408#
409# Automake instructions for documentation
410#
411
412# ADD EXTRA DOC FILES IF PRESENT
413doc_DATA = README AUTHORS COPYING README.INDICATION README.tog-pegasus \
414 DEBUG $(am__append_1)
415
416# providerdir defines where provider libraries will be installed (@PROVIDERDIR@ is set by the configure script).
417providerdir = @PROVIDERDIR@
418
419#
420# Automake instructions for main dir
421#
422
423# OSBase CMPI provider libraries
424provider_LTLIBRARIES = libcmpiOSBase_ComputerSystemProvider.la \
425 libcmpiOSBase_OperatingSystemProvider.la \
426 libcmpiOSBase_OperatingSystemStatisticalDataProvider.la \
427 libcmpiOSBase_UnixProcessProvider.la \
428 libcmpiOSBase_ProcessorProvider.la \
429 libcmpiOSBase_BaseBoardProvider.la \
430 libcmpiOSBase_RunningOSProvider.la \
431 libcmpiOSBase_OSProcessProvider.la \
432 libcmpiOSBase_OperatingSystemStatisticsProvider.la \
433 libcmpiOSBase_CSProcessorProvider.la \
434 libcmpiOSBase_CSBaseBoardProvider.la
435
436
437# Computer System
438libcmpiOSBase_ComputerSystemProvider_la_SOURCES = \
439 cmpiOSBase_ComputerSystemProvider.c \
440 cmpiOSBase_ComputerSystem.c \
441 OSBase_ComputerSystem.c
442
443libcmpiOSBase_ComputerSystemProvider_la_LIBADD = -lcmpiOSBase_Common
444libcmpiOSBase_ComputerSystemProvider_la_LDFLAGS = -avoid-version
445
446# Operating System
447libcmpiOSBase_OperatingSystemProvider_la_SOURCES = \
448 cmpiOSBase_OperatingSystemProvider.c \
449 cmpiOSBase_OperatingSystem.c \
450 OSBase_OperatingSystem.c
451
452libcmpiOSBase_OperatingSystemProvider_la_LIBADD = -lcmpiOSBase_Common \
453 -ldmiinfo @LINDHELP@
454
455# This gcc/ld specific flag is ugly - need to check in configure
456libcmpiOSBase_OperatingSystemProvider_la_LDFLAGS = -avoid-version
457
458# Operating System Statistical Data
459libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_SOURCES = \
460 cmpiOSBase_OperatingSystemStatisticalDataProvider.c \
461 cmpiOSBase_OperatingSystemStatisticalData.c \
462 OSBase_OperatingSystemStatisticalData.c
463
464libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LIBADD = -lcmpiOSBase_Common
465libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LDFLAGS = -avoid-version
466
467# Unix Process
468libcmpiOSBase_UnixProcessProvider_la_SOURCES = \
469 cmpiOSBase_UnixProcessProvider.c \
470 cmpiOSBase_UnixProcess.c \
471 OSBase_UnixProcess.c
472
473libcmpiOSBase_UnixProcessProvider_la_LIBADD = -lcmpiOSBase_Common
474libcmpiOSBase_UnixProcessProvider_la_LDFLAGS = -avoid-version
475
476# Processor
477libcmpiOSBase_ProcessorProvider_la_SOURCES = \
478 cmpiOSBase_ProcessorProvider.c \
479 cmpiOSBase_Processor.c \
480 OSBase_Processor.c
481
482libcmpiOSBase_ProcessorProvider_la_LIBADD = -lcmpiOSBase_Common
483libcmpiOSBase_ProcessorProvider_la_LDFLAGS = -avoid-version
484
485# Base Board
486libcmpiOSBase_BaseBoardProvider_la_SOURCES = \
487 cmpiOSBase_BaseBoardProvider.c \
488 cmpiOSBase_BaseBoard.c \
489 OSBase_BaseBoard.c
490
491libcmpiOSBase_BaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common -ldmiinfo
492libcmpiOSBase_BaseBoardProvider_la_LDFLAGS = -avoid-version
493libcmpiOSBase_RunningOSProvider_la_SOURCES = cmpiOSBase_RunningOSProvider.c
494libcmpiOSBase_RunningOSProvider_la_LIBADD = -lcmpiOSBase_Common
495libcmpiOSBase_RunningOSProvider_la_LDFLAGS = -avoid-version
496libcmpiOSBase_OSProcessProvider_la_SOURCES = cmpiOSBase_OSProcessProvider.c
497libcmpiOSBase_OSProcessProvider_la_LIBADD = -lcmpiOSBase_Common
498libcmpiOSBase_OSProcessProvider_la_LDFLAGS = -avoid-version
499libcmpiOSBase_OperatingSystemStatisticsProvider_la_SOURCES = cmpiOSBase_OperatingSystemStatisticsProvider.c
500libcmpiOSBase_OperatingSystemStatisticsProvider_la_LIBADD = -lcmpiOSBase_Common
501libcmpiOSBase_OperatingSystemStatisticsProvider_la_LDFLAGS = -avoid-version
502libcmpiOSBase_CSProcessorProvider_la_SOURCES = cmpiOSBase_CSProcessorProvider.c
503libcmpiOSBase_CSProcessorProvider_la_LIBADD = -lcmpiOSBase_Common
504libcmpiOSBase_CSProcessorProvider_la_LDFLAGS = -avoid-version
505libcmpiOSBase_CSBaseBoardProvider_la_SOURCES = cmpiOSBase_CSBaseBoardProvider.c
506libcmpiOSBase_CSBaseBoardProvider_la_LIBADD = -lcmpiOSBase_Common
507libcmpiOSBase_CSBaseBoardProvider_la_LDFLAGS = -avoid-version
508
509# OSBase support utility libraries
510lib_LTLIBRARIES = libcmpiOSBase_Common.la libdmiinfo.la
511libcmpiOSBase_Common_la_SOURCES = OSBase_Common.c cmpiOSBase_Common.c
512# This gcc/ld specific flag is ugly - need to check in configure
513libcmpiOSBase_Common_la_LDFLAGS = -Wc
514libdmiinfo_la_SOURCES = dmiinfo.c dmiinfo.h dmifind.h
515dmitest_SOURCES = dmitest.c
516dmitest_LDADD = -ldmiinfo
517
518# Installable Header Files
519sbliminc_HEADERS = OSBase_Common.h cmpiOSBase_Common.h \
520 OSBase_UnixProcess.h cmpiOSBase_UnixProcess.h
521
522
523# Non-Installable Header Files
524noinst_HEADERS = OSBase_ComputerSystem.h \
525 OSBase_OperatingSystem.h \
526 OSBase_OperatingSystemStatisticalData.h \
527 OSBase_Processor.h \
528 OSBase_BaseBoard.h \
529 cmpiOSBase_Util.h \
530 cmpiOSBase_ComputerSystem.h \
531 cmpiOSBase_OperatingSystem.h \
532 cmpiOSBase_OperatingSystemStatisticalData.h \
533 cmpiOSBase_Processor.h \
534 cmpiOSBase_BaseBoard.h
535
536@NOEVENTS_FALSE@SCHEMAS = $(srcdir)/mof/Linux_Base.mof $(srcdir)/mof/Linux_BaseIndication.mof
537
538#
539# Automake instructions for ./mof subdir
540#
541@NOEVENTS_TRUE@SCHEMAS = $(srcdir)/mof/Linux_Base.mof
542@NOEVENTS_FALSE@REGISTRATIONS = $(srcdir)/mof/Linux_BaseIndication.registration
543@NOEVENTS_TRUE@REGISTRATIONS = $(srcdir)/mof/Linux_Base.registration
544
545# We must explicity add all the schema files to the distribution package
546pkgdata_DATA = $(SCHEMAS) $(REGISTRATIONS)
547pkgdata_SCRIPTS = provider-register.sh
548@TESTSUITE_TRUE@testsuitedir = @TESTSUITEDIR@
549@TESTSUITE_TRUE@testsuitesystemdir = @TESTSUITEDIR@/system/linux
550@TESTSUITE_TRUE@testsuitecimdir = @TESTSUITEDIR@/cim
551@TESTSUITE_TRUE@testsuite_SCRIPTS = test/test-cmpi-base.sh
552@TESTSUITE_TRUE@testsuitesystem_DATA = test/system/linux/Linux_CSProcessor.system \
553@TESTSUITE_TRUE@ test/system/linux/Linux_ComputerSystem.system \
554@TESTSUITE_TRUE@ test/system/linux/Linux_OSProcess.system \
555@TESTSUITE_TRUE@ test/system/linux/Linux_OperatingSystem.system \
556@TESTSUITE_TRUE@ test/system/linux/Linux_Processor.system \
557@TESTSUITE_TRUE@ test/system/linux/Linux_OperatingSystemStatisticalData.system \
558@TESTSUITE_TRUE@ test/system/linux/Linux_OperatingSystemStatistics.system \
559@TESTSUITE_TRUE@ test/system/linux/Linux_RunningOS.system \
560@TESTSUITE_TRUE@ test/system/linux/Linux_UnixProcess.system \
561@TESTSUITE_TRUE@ test/system/linux/Linux_BaseBoard.system \
562@TESTSUITE_TRUE@ test/system/linux/Linux_CSBaseBoard.system
563
564@TESTSUITE_TRUE@testsuitesystem_SCRIPTS = test/system/linux/Linux_OperatingSystem.version.sh \
565@TESTSUITE_TRUE@ test/system/linux/Linux_Processor.pl \
566@TESTSUITE_TRUE@ test/system/linux/Linux_UnixProcess.pl \
567@TESTSUITE_TRUE@ test/system/linux/createKeyFiles.sh
568
569@TESTSUITE_TRUE@testsuitecim_DATA = test/cim/Linux_CSProcessor.cim \
570@TESTSUITE_TRUE@ test/cim/Linux_ComputerSystem.cim \
571@TESTSUITE_TRUE@ test/cim/Linux_OSProcess.cim \
572@TESTSUITE_TRUE@ test/cim/Linux_OperatingSystem.cim \
573@TESTSUITE_TRUE@ test/cim/Linux_OperatingSystemStatisticalData.cim \
574@TESTSUITE_TRUE@ test/cim/Linux_OperatingSystemStatistics.cim \
575@TESTSUITE_TRUE@ test/cim/Linux_Processor.cim \
576@TESTSUITE_TRUE@ test/cim/Linux_RunningOS.cim \
577@TESTSUITE_TRUE@ test/cim/Linux_UnixProcess.cim \
578@TESTSUITE_TRUE@ test/cim/Linux_BaseBoard.cim \
579@TESTSUITE_TRUE@ test/cim/Linux_CSBaseBoard.cim
580
581all: config.h
582 $(MAKE) $(AM_MAKEFLAGS) all-am
583
584.SUFFIXES:
585.SUFFIXES: .c .lo .o .obj
586am--refresh:
587 @:
588$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
589 @for dep in $?; do \
590 case '$(am__configure_deps)' in \
591 *$$dep*) \
592 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
593 cd $(srcdir) && $(AUTOMAKE) --gnu \
594 && exit 0; \
595 exit 1;; \
596 esac; \
597 done; \
598 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
599 cd $(top_srcdir) && \
600 $(AUTOMAKE) --gnu Makefile
601.PRECIOUS: Makefile
602Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
603 @case '$?' in \
604 *config.status*) \
605 echo ' $(SHELL) ./config.status'; \
606 $(SHELL) ./config.status;; \
607 *) \
608 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
609 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
610 esac;
611
612$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
613 $(SHELL) ./config.status --recheck
614
615$(top_srcdir)/configure: $(am__configure_deps)
616 cd $(srcdir) && $(AUTOCONF)
617$(ACLOCAL_M4): $(am__aclocal_m4_deps)
618 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
619
620config.h: stamp-h1
621 @if test ! -f $@; then \
622 rm -f stamp-h1; \
623 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
624 else :; fi
625
626stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
627 @rm -f stamp-h1
628 cd $(top_builddir) && $(SHELL) ./config.status config.h
629$(srcdir)/config.h.in: $(am__configure_deps)
630 cd $(top_srcdir) && $(AUTOHEADER)
631 rm -f stamp-h1
632 touch $@
633
634distclean-hdr:
635 -rm -f config.h stamp-h1
636sblim-cmpi-base.spec: $(top_builddir)/config.status $(srcdir)/sblim-cmpi-base.spec.in
637 cd $(top_builddir) && $(SHELL) ./config.status $@
638install-libLTLIBRARIES: $(lib_LTLIBRARIES)
639 @$(NORMAL_INSTALL)
640 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
641 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
642 if test -f $$p; then \
643 f=$(am__strip_dir) \
644 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
645 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
646 else :; fi; \
647 done
648
649uninstall-libLTLIBRARIES:
650 @$(NORMAL_UNINSTALL)
651 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
652 p=$(am__strip_dir) \
653 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
654 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
655 done
656
657clean-libLTLIBRARIES:
658 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
659 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
660 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
661 test "$$dir" != "$$p" || dir=.; \
662 echo "rm -f \"$${dir}/so_locations\""; \
663 rm -f "$${dir}/so_locations"; \
664 done
665install-providerLTLIBRARIES: $(provider_LTLIBRARIES)
666 @$(NORMAL_INSTALL)
667 test -z "$(providerdir)" || $(MKDIR_P) "$(DESTDIR)$(providerdir)"
668 @list='$(provider_LTLIBRARIES)'; for p in $$list; do \
669 if test -f $$p; then \
670 f=$(am__strip_dir) \
671 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(providerdir)/$$f'"; \
672 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(providerdir)/$$f"; \
673 else :; fi; \
674 done
675
676uninstall-providerLTLIBRARIES:
677 @$(NORMAL_UNINSTALL)
678 @list='$(provider_LTLIBRARIES)'; for p in $$list; do \
679 p=$(am__strip_dir) \
680 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(providerdir)/$$p'"; \
681 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(providerdir)/$$p"; \
682 done
683
684clean-providerLTLIBRARIES:
685 -test -z "$(provider_LTLIBRARIES)" || rm -f $(provider_LTLIBRARIES)
686 @list='$(provider_LTLIBRARIES)'; for p in $$list; do \
687 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
688 test "$$dir" != "$$p" || dir=.; \
689 echo "rm -f \"$${dir}/so_locations\""; \
690 rm -f "$${dir}/so_locations"; \
691 done
692libcmpiOSBase_BaseBoardProvider.la: $(libcmpiOSBase_BaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES)
693 $(libcmpiOSBase_BaseBoardProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_BaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_BaseBoardProvider_la_LIBADD) $(LIBS)
694libcmpiOSBase_CSBaseBoardProvider.la: $(libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_CSBaseBoardProvider_la_DEPENDENCIES)
695 $(libcmpiOSBase_CSBaseBoardProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_CSBaseBoardProvider_la_OBJECTS) $(libcmpiOSBase_CSBaseBoardProvider_la_LIBADD) $(LIBS)
696libcmpiOSBase_CSProcessorProvider.la: $(libcmpiOSBase_CSProcessorProvider_la_OBJECTS) $(libcmpiOSBase_CSProcessorProvider_la_DEPENDENCIES)
697 $(libcmpiOSBase_CSProcessorProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_CSProcessorProvider_la_OBJECTS) $(libcmpiOSBase_CSProcessorProvider_la_LIBADD) $(LIBS)
698libcmpiOSBase_Common.la: $(libcmpiOSBase_Common_la_OBJECTS) $(libcmpiOSBase_Common_la_DEPENDENCIES)
699 $(libcmpiOSBase_Common_la_LINK) -rpath $(libdir) $(libcmpiOSBase_Common_la_OBJECTS) $(libcmpiOSBase_Common_la_LIBADD) $(LIBS)
700libcmpiOSBase_ComputerSystemProvider.la: $(libcmpiOSBase_ComputerSystemProvider_la_OBJECTS) $(libcmpiOSBase_ComputerSystemProvider_la_DEPENDENCIES)
701 $(libcmpiOSBase_ComputerSystemProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_ComputerSystemProvider_la_OBJECTS) $(libcmpiOSBase_ComputerSystemProvider_la_LIBADD) $(LIBS)
702libcmpiOSBase_OSProcessProvider.la: $(libcmpiOSBase_OSProcessProvider_la_OBJECTS) $(libcmpiOSBase_OSProcessProvider_la_DEPENDENCIES)
703 $(libcmpiOSBase_OSProcessProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OSProcessProvider_la_OBJECTS) $(libcmpiOSBase_OSProcessProvider_la_LIBADD) $(LIBS)
704libcmpiOSBase_OperatingSystemProvider.la: $(libcmpiOSBase_OperatingSystemProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemProvider_la_DEPENDENCIES)
705 $(libcmpiOSBase_OperatingSystemProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OperatingSystemProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemProvider_la_LIBADD) $(LIBS)
706libcmpiOSBase_OperatingSystemStatisticalDataProvider.la: $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_DEPENDENCIES)
707 $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticalDataProvider_la_LIBADD) $(LIBS)
708libcmpiOSBase_OperatingSystemStatisticsProvider.la: $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_DEPENDENCIES)
709 $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_OBJECTS) $(libcmpiOSBase_OperatingSystemStatisticsProvider_la_LIBADD) $(LIBS)
710libcmpiOSBase_ProcessorProvider.la: $(libcmpiOSBase_ProcessorProvider_la_OBJECTS) $(libcmpiOSBase_ProcessorProvider_la_DEPENDENCIES)
711 $(libcmpiOSBase_ProcessorProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_ProcessorProvider_la_OBJECTS) $(libcmpiOSBase_ProcessorProvider_la_LIBADD) $(LIBS)
712libcmpiOSBase_RunningOSProvider.la: $(libcmpiOSBase_RunningOSProvider_la_OBJECTS) $(libcmpiOSBase_RunningOSProvider_la_DEPENDENCIES)
713 $(libcmpiOSBase_RunningOSProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_RunningOSProvider_la_OBJECTS) $(libcmpiOSBase_RunningOSProvider_la_LIBADD) $(LIBS)
714libcmpiOSBase_UnixProcessProvider.la: $(libcmpiOSBase_UnixProcessProvider_la_OBJECTS) $(libcmpiOSBase_UnixProcessProvider_la_DEPENDENCIES)
715 $(libcmpiOSBase_UnixProcessProvider_la_LINK) -rpath $(providerdir) $(libcmpiOSBase_UnixProcessProvider_la_OBJECTS) $(libcmpiOSBase_UnixProcessProvider_la_LIBADD) $(LIBS)
716libdmiinfo.la: $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_DEPENDENCIES)
717 $(LINK) -rpath $(libdir) $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_LIBADD) $(LIBS)
718
719clean-noinstPROGRAMS:
720 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
721 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
722 echo " rm -f $$p $$f"; \
723 rm -f $$p $$f ; \
724 done
725dmitest$(EXEEXT): $(dmitest_OBJECTS) $(dmitest_DEPENDENCIES)
726 @rm -f dmitest$(EXEEXT)
727 $(LINK) $(dmitest_OBJECTS) $(dmitest_LDADD) $(LIBS)
728install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
729 @$(NORMAL_INSTALL)
730 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
731 @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
732 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
733 if test -f $$d$$p; then \
734 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
735 echo " $(pkgdataSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
736 $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
737 else :; fi; \
738 done
739
740uninstall-pkgdataSCRIPTS:
741 @$(NORMAL_UNINSTALL)
742 @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
743 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
744 echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
745 rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
746 done
747install-testsuiteSCRIPTS: $(testsuite_SCRIPTS)
748 @$(NORMAL_INSTALL)
749 test -z "$(testsuitedir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitedir)"
750 @list='$(testsuite_SCRIPTS)'; for p in $$list; do \
751 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
752 if test -f $$d$$p; then \
753 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
754 echo " $(testsuiteSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitedir)/$$f'"; \
755 $(testsuiteSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitedir)/$$f"; \
756 else :; fi; \
757 done
758
759uninstall-testsuiteSCRIPTS:
760 @$(NORMAL_UNINSTALL)
761 @list='$(testsuite_SCRIPTS)'; for p in $$list; do \
762 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
763 echo " rm -f '$(DESTDIR)$(testsuitedir)/$$f'"; \
764 rm -f "$(DESTDIR)$(testsuitedir)/$$f"; \
765 done
766install-testsuitesystemSCRIPTS: $(testsuitesystem_SCRIPTS)
767 @$(NORMAL_INSTALL)
768 test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)"
769 @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \
770 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
771 if test -f $$d$$p; then \
772 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
773 echo " $(testsuitesystemSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \
774 $(testsuitesystemSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \
775 else :; fi; \
776 done
777
778uninstall-testsuitesystemSCRIPTS:
779 @$(NORMAL_UNINSTALL)
780 @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \
781 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
782 echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \
783 rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \
784 done
785
786mostlyclean-compile:
787 -rm -f *.$(OBJEXT)
788
789distclean-compile:
790 -rm -f *.tab.c
791
792@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_BaseBoard.Plo@am__quote@
793@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_Common.Plo@am__quote@
794@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_ComputerSystem.Plo@am__quote@
795@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_OperatingSystem.Plo@am__quote@
796@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_OperatingSystemStatisticalData.Plo@am__quote@
797@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_Processor.Plo@am__quote@
798@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/OSBase_UnixProcess.Plo@am__quote@
799@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_BaseBoard.Plo@am__quote@
800@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_BaseBoardProvider.Plo@am__quote@
801@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_CSBaseBoardProvider.Plo@am__quote@
802@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_CSProcessorProvider.Plo@am__quote@
803@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_Common.Plo@am__quote@
804@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_ComputerSystem.Plo@am__quote@
805@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_ComputerSystemProvider.Plo@am__quote@
806@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OSProcessProvider.Plo@am__quote@
807@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystem.Plo@am__quote@
808@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemProvider.Plo@am__quote@
809@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemStatisticalData.Plo@am__quote@
810@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemStatisticalDataProvider.Plo@am__quote@
811@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_OperatingSystemStatisticsProvider.Plo@am__quote@
812@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_Processor.Plo@am__quote@
813@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_ProcessorProvider.Plo@am__quote@
814@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_RunningOSProvider.Plo@am__quote@
815@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_UnixProcess.Plo@am__quote@
816@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmpiOSBase_UnixProcessProvider.Plo@am__quote@
817@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dmiinfo.Plo@am__quote@
818@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dmitest.Po@am__quote@
819
820.c.o:
821@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
822@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
823@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
824@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
825@am__fastdepCC_FALSE@ $(COMPILE) -c $<
826
827.c.obj:
828@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
829@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
830@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
831@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
832@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
833
834.c.lo:
835@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
836@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
837@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
838@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
839@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
840
841mostlyclean-libtool:
842 -rm -f *.lo
843
844clean-libtool:
845 -rm -rf .libs _libs
846
847distclean-libtool:
848 -rm -f libtool
849install-docDATA: $(doc_DATA)
850 @$(NORMAL_INSTALL)
851 test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
852 @list='$(doc_DATA)'; for p in $$list; do \
853 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
854 f=$(am__strip_dir) \
855 echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
856 $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
857 done
858
859uninstall-docDATA:
860 @$(NORMAL_UNINSTALL)
861 @list='$(doc_DATA)'; for p in $$list; do \
862 f=$(am__strip_dir) \
863 echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
864 rm -f "$(DESTDIR)$(docdir)/$$f"; \
865 done
866install-pkgdataDATA: $(pkgdata_DATA)
867 @$(NORMAL_INSTALL)
868 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
869 @list='$(pkgdata_DATA)'; for p in $$list; do \
870 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
871 f=$(am__strip_dir) \
872 echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
873 $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
874 done
875
876uninstall-pkgdataDATA:
877 @$(NORMAL_UNINSTALL)
878 @list='$(pkgdata_DATA)'; for p in $$list; do \
879 f=$(am__strip_dir) \
880 echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
881 rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
882 done
883install-testsuitecimDATA: $(testsuitecim_DATA)
884 @$(NORMAL_INSTALL)
885 test -z "$(testsuitecimdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitecimdir)"
886 @list='$(testsuitecim_DATA)'; for p in $$list; do \
887 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
888 f=$(am__strip_dir) \
889 echo " $(testsuitecimDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitecimdir)/$$f'"; \
890 $(testsuitecimDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitecimdir)/$$f"; \
891 done
892
893uninstall-testsuitecimDATA:
894 @$(NORMAL_UNINSTALL)
895 @list='$(testsuitecim_DATA)'; for p in $$list; do \
896 f=$(am__strip_dir) \
897 echo " rm -f '$(DESTDIR)$(testsuitecimdir)/$$f'"; \
898 rm -f "$(DESTDIR)$(testsuitecimdir)/$$f"; \
899 done
900install-testsuitesystemDATA: $(testsuitesystem_DATA)
901 @$(NORMAL_INSTALL)
902 test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)"
903 @list='$(testsuitesystem_DATA)'; for p in $$list; do \
904 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
905 f=$(am__strip_dir) \
906 echo " $(testsuitesystemDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \
907 $(testsuitesystemDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \
908 done
909
910uninstall-testsuitesystemDATA:
911 @$(NORMAL_UNINSTALL)
912 @list='$(testsuitesystem_DATA)'; for p in $$list; do \
913 f=$(am__strip_dir) \
914 echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \
915 rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \
916 done
917install-sblimincHEADERS: $(sbliminc_HEADERS)
918 @$(NORMAL_INSTALL)
919 test -z "$(sblimincdir)" || $(MKDIR_P) "$(DESTDIR)$(sblimincdir)"
920 @list='$(sbliminc_HEADERS)'; for p in $$list; do \
921 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
922 f=$(am__strip_dir) \
923 echo " $(sblimincHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sblimincdir)/$$f'"; \
924 $(sblimincHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sblimincdir)/$$f"; \
925 done
926
927uninstall-sblimincHEADERS:
928 @$(NORMAL_UNINSTALL)
929 @list='$(sbliminc_HEADERS)'; for p in $$list; do \
930 f=$(am__strip_dir) \
931 echo " rm -f '$(DESTDIR)$(sblimincdir)/$$f'"; \
932 rm -f "$(DESTDIR)$(sblimincdir)/$$f"; \
933 done
934
935ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
936 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
937 unique=`for i in $$list; do \
938 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
939 done | \
940 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
941 END { if (nonempty) { for (i in files) print i; }; }'`; \
942 mkid -fID $$unique
943tags: TAGS
944
945TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
946 $(TAGS_FILES) $(LISP)
947 tags=; \
948 here=`pwd`; \
949 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
950 unique=`for i in $$list; do \
951 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
952 done | \
953 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
954 END { if (nonempty) { for (i in files) print i; }; }'`; \
955 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
956 test -n "$$unique" || unique=$$empty_fix; \
957 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
958 $$tags $$unique; \
959 fi
960ctags: CTAGS
961CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
962 $(TAGS_FILES) $(LISP)
963 tags=; \
964 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
965 unique=`for i in $$list; do \
966 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
967 done | \
968 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
969 END { if (nonempty) { for (i in files) print i; }; }'`; \
970 test -z "$(CTAGS_ARGS)$$tags$$unique" \
971 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
972 $$tags $$unique
973
974GTAGS:
975 here=`$(am__cd) $(top_builddir) && pwd` \
976 && cd $(top_srcdir) \
977 && gtags -i $(GTAGS_ARGS) $$here
978
979distclean-tags:
980 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
981
982distdir: $(DISTFILES)
983 $(am__remove_distdir)
984 test -d $(distdir) || mkdir $(distdir)
985 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
986 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
987 list='$(DISTFILES)'; \
988 dist_files=`for file in $$list; do echo $$file; done | \
989 sed -e "s|^$$srcdirstrip/||;t" \
990 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
991 case $$dist_files in \
992 */*) $(MKDIR_P) `echo "$$dist_files" | \
993 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
994 sort -u` ;; \
995 esac; \
996 for file in $$dist_files; do \
997 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
998 if test -d $$d/$$file; then \
999 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1000 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1001 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1002 fi; \
1003 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1004 else \
1005 test -f $(distdir)/$$file \
1006 || cp -p $$d/$$file $(distdir)/$$file \
1007 || exit 1; \
1008 fi; \
1009 done
1010 $(MAKE) $(AM_MAKEFLAGS) \
1011 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1012 dist-hook
1013 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
1014 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1015 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1016 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1017 || chmod -R a+r $(distdir)
1018dist-gzip: distdir
1019 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1020 $(am__remove_distdir)
1021
1022dist-bzip2: distdir
1023 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
1024 $(am__remove_distdir)
1025
1026dist-lzma: distdir
1027 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
1028 $(am__remove_distdir)
1029
1030dist-tarZ: distdir
1031 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1032 $(am__remove_distdir)
1033
1034dist-shar: distdir
1035 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1036 $(am__remove_distdir)
1037
1038dist-zip: distdir
1039 -rm -f $(distdir).zip
1040 zip -rq $(distdir).zip $(distdir)
1041 $(am__remove_distdir)
1042
1043dist dist-all: distdir
1044 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1045 $(am__remove_distdir)
1046
1047# This target untars the dist file and tries a VPATH configuration. Then
1048# it guarantees that the distribution is self-contained by making another
1049# tarfile.
1050distcheck: dist
1051 case '$(DIST_ARCHIVES)' in \
1052 *.tar.gz*) \
1053 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
1054 *.tar.bz2*) \
1055 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
1056 *.tar.lzma*) \
1057 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
1058 *.tar.Z*) \
1059 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1060 *.shar.gz*) \
1061 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
1062 *.zip*) \
1063 unzip $(distdir).zip ;;\
1064 esac
1065 chmod -R a-w $(distdir); chmod a+w $(distdir)
1066 mkdir $(distdir)/_build
1067 mkdir $(distdir)/_inst
1068 chmod a-w $(distdir)
1069 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1070 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1071 && cd $(distdir)/_build \
1072 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
1073 $(DISTCHECK_CONFIGURE_FLAGS) \
1074 && $(MAKE) $(AM_MAKEFLAGS) \
1075 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1076 && $(MAKE) $(AM_MAKEFLAGS) check \
1077 && $(MAKE) $(AM_MAKEFLAGS) install \
1078 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1079 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1080 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1081 distuninstallcheck \
1082 && chmod -R a-w "$$dc_install_base" \
1083 && ({ \
1084 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1085 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1086 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1087 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1088 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1089 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1090 && rm -rf "$$dc_destdir" \
1091 && $(MAKE) $(AM_MAKEFLAGS) dist \
1092 && rm -rf $(DIST_ARCHIVES) \
1093 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
1094 $(am__remove_distdir)
1095 @(echo "$(distdir) archives ready for distribution: "; \
1096 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1097 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1098distuninstallcheck:
1099 @cd $(distuninstallcheck_dir) \
1100 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
1101 || { echo "ERROR: files left after uninstall:" ; \
1102 if test -n "$(DESTDIR)"; then \
1103 echo " (check DESTDIR support)"; \
1104 fi ; \
1105 $(distuninstallcheck_listfiles) ; \
1106 exit 1; } >&2
1107distcleancheck: distclean
1108 @if test '$(srcdir)' = . ; then \
1109 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1110 exit 1 ; \
1111 fi
1112 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1113 || { echo "ERROR: files left in build directory after distclean:" ; \
1114 $(distcleancheck_listfiles) ; \
1115 exit 1; } >&2
1116check-am: all-am
1117check: check-am
1118all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \
1119 $(HEADERS) config.h
1120installdirs:
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 \
1122 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1123 done
1124install: install-am
1125install-exec: install-exec-am
1126install-data: install-data-am
1127uninstall: uninstall-am
1128
1129install-am: all-am
1130 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1131
1132installcheck: installcheck-am
1133install-strip:
1134 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1135 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1136 `test -z '$(STRIP)' || \
1137 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1138mostlyclean-generic:
1139
1140clean-generic:
1141
1142distclean-generic:
1143 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1144
1145maintainer-clean-generic:
1146 @echo "This command is intended for maintainers to use"
1147 @echo "it deletes files that may require special tools to rebuild."
1148clean: clean-am
1149
1150clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
1151 clean-noinstPROGRAMS clean-providerLTLIBRARIES mostlyclean-am
1152
1153distclean: distclean-am
1154 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1155 -rm -rf ./$(DEPDIR)
1156 -rm -f Makefile
1157distclean-am: clean-am distclean-compile distclean-generic \
1158 distclean-hdr distclean-libtool distclean-tags
1159
1160dvi: dvi-am
1161
1162dvi-am:
1163
1164html: html-am
1165
1166info: info-am
1167
1168info-am:
1169
1170install-data-am: install-docDATA install-pkgdataDATA \
1171 install-pkgdataSCRIPTS install-providerLTLIBRARIES \
1172 install-sblimincHEADERS install-testsuiteSCRIPTS \
1173 install-testsuitecimDATA install-testsuitesystemDATA \
1174 install-testsuitesystemSCRIPTS
1175
1176install-dvi: install-dvi-am
1177
1178install-exec-am: install-libLTLIBRARIES
1179
1180install-html: install-html-am
1181
1182install-info: install-info-am
1183
1184install-man:
1185
1186install-pdf: install-pdf-am
1187
1188install-ps: install-ps-am
1189
1190installcheck-am:
1191
1192maintainer-clean: maintainer-clean-am
1193 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1194 -rm -rf $(top_srcdir)/autom4te.cache
1195 -rm -rf ./$(DEPDIR)
1196 -rm -f Makefile
1197maintainer-clean-am: distclean-am maintainer-clean-generic
1198
1199mostlyclean: mostlyclean-am
1200
1201mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1202 mostlyclean-libtool
1203
1204pdf: pdf-am
1205
1206pdf-am:
1207
1208ps: ps-am
1209
1210ps-am:
1211
1212uninstall-am: uninstall-docDATA uninstall-libLTLIBRARIES \
1213 uninstall-pkgdataDATA uninstall-pkgdataSCRIPTS \
1214 uninstall-providerLTLIBRARIES uninstall-sblimincHEADERS \
1215 uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \
1216 uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS
1217
1218.MAKE: install-am install-strip
1219
1220.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
1221 clean-generic clean-libLTLIBRARIES clean-libtool \
1222 clean-noinstPROGRAMS clean-providerLTLIBRARIES ctags dist \
1223 dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \
1224 dist-tarZ dist-zip distcheck distclean distclean-compile \
1225 distclean-generic distclean-hdr distclean-libtool \
1226 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1227 dvi-am html html-am info info-am install install-am \
1228 install-data install-data-am install-docDATA install-dvi \
1229 install-dvi-am install-exec install-exec-am install-html \
1230 install-html-am install-info install-info-am \
1231 install-libLTLIBRARIES install-man install-pdf install-pdf-am \
1232 install-pkgdataDATA install-pkgdataSCRIPTS \
1233 install-providerLTLIBRARIES install-ps install-ps-am \
1234 install-sblimincHEADERS install-strip install-testsuiteSCRIPTS \
1235 install-testsuitecimDATA install-testsuitesystemDATA \
1236 install-testsuitesystemSCRIPTS installcheck installcheck-am \
1237 installdirs maintainer-clean maintainer-clean-generic \
1238 mostlyclean mostlyclean-compile mostlyclean-generic \
1239 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
1240 uninstall-am uninstall-docDATA uninstall-libLTLIBRARIES \
1241 uninstall-pkgdataDATA uninstall-pkgdataSCRIPTS \
1242 uninstall-providerLTLIBRARIES uninstall-sblimincHEADERS \
1243 uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \
1244 uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS
1245
1246
1247# Register the provider(s) and class definition(s) to the current CIM server/CIMOM
1248postinstall:
1249 sh $(srcdir)/provider-register.sh -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS)
1250
1251preuninstall:
1252 sh $(srcdir)/provider-register.sh -d -t @CIMSERVER@ -r $(REGISTRATIONS) -m $(SCHEMAS)
1253
1254dist-hook:
1255 test -d "$(distdir)" && rm -rf `find $(distdir) -type d -name CVS`
1256
1257@TESTSUITE_TRUE@runtest: install
1258@TESTSUITE_TRUE@ cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh
1259# Tell versions [3.59,3.63) of GNU make to not export all variables.
1260# Otherwise a system limit (for SysV at least) may be exceeded.
1261.NOEXPORT:
12620
=== modified file 'ChangeLog'
--- ChangeLog 2009-07-29 14:43:34 +0000
+++ ChangeLog 2013-01-12 05:25:23 +0000
@@ -1,3 +1,72 @@
12012-11-02 Tyrel Datwyler <tyreld@us.ibm.com>
2
3 * NEWS, OSBase_UnixProcess.c:
4
5 Fixed 3582069: Linux_UnixProcess command injection vulnerability
6
72012-02-07 Tyrel Datwyler <tyreld@us.ibm.com>
8
9 * Makefile.am, NEWS:
10
11 Fixed 3424288: Underlinked libcmpiOSBase_ProcessorProvider.so
12
132011-05-23 Tyrel Datwyler <tyreld@us.ibm.com>
14
15 * NEWS, OSBase_OperatingSystem.c:
16
17 Fixed 3306580: wrong OperatingSystem.Version prop value on RHEL6
18
192011-05-23 Tyrel Datwyler <tyreld@us.ibm.com>
20
21 * NEWS, test/test-cmpi-base.sh:
22
23 Fixed 3275169: bash error reported in provider bootstrap scripts
24
252011-01-04 Tyrel Datwyler <tyreld@us.ibm.com>
26
27 * ChangeLog, NEWS, configure.ac:
28
29 Update release info for 1.6.1
30
312010-12-20 Tyrel Datwyler <tyreld@us.ibm.com>
32
33 * NEWS, OSBase_Processor.c, OSBase_Processor.h,
34 cmpiOSBase_ProcessorProvider.c:
35
36 Fixed 2610775: ProcessorProvider crashes on exit
37
382010-12-20 Tyrel Datwyler <tyreld@us.ibm.com>
39
40 * NEWS, OSBase_Common.c:
41
42 Fixed 2836926: _osbase_common_init unreliable
43
442010-01-21 Tyrel Datwyler <tyreld@us.ibm.com>
45
46 * contributions.txt:
47
48 Changed sfcb to sblim-cmpi-base in contributions file
49
502009-12-15 Tyrel Datwyler <tyreld@us.ibm.com>
51
52 * NEWS, cmpiOSBase_OperatingSystem.c:
53
54 Fixed 2882514: leak in
55 sblim-cmpi-base-1.5.9/cmpiOSBase_OperatingSystem.c
56
572009-08-25 Tyrel Datwyler <tyreld@us.ibm.com>
58
59 * NEWS, OSBase_OperatingSystemStatisticalData.c, contributions.txt:
60
61 Fixed 2843613: Missing fclose in sblim-cmpi-base (patch by
62 Michal Hrušecký)
63
642009-07-24 Tyrel Datwyler <tyreld@us.ibm.com>
65
66 * ChangeLog, NEWS, configure.ac:
67
68 Updated for 1.6.0 release
69
12009-07-24 Tyrel Datwyler <tyreld@us.ibm.com>702009-07-24 Tyrel Datwyler <tyreld@us.ibm.com>
271
3 * COPYING, Makefile.am, NEWS, OSBase_BaseBoard.c,72 * COPYING, Makefile.am, NEWS, OSBase_BaseBoard.c,
@@ -283,7 +352,7 @@
283 [ 1395363 ] Providers' postinstall step location dependent. Fixed352 [ 1395363 ] Providers' postinstall step location dependent. Fixed
284 Makefile and updated autoconf/deployment files from cmpi-samples.353 Makefile and updated autoconf/deployment files from cmpi-samples.
285354
2862006-01-23 Lynn Moss3552006-01-23 Lynn Moss <lynn@us.ibm.com>
287356
288 * Makefile.am:357 * Makefile.am:
289358
@@ -1516,7 +1585,7 @@
15161585
1517 Updated setting.cmpi to support Pegasus1586 Updated setting.cmpi to support Pegasus
15181587
15192003-03-25 Adrian Schuur15882003-03-25 Adrian Schuur <schuur@de.ibm.com>
15201589
1521 * cimibase.h:1590 * cimibase.h:
15221591
15231592
=== modified file 'INSTALL'
--- INSTALL 2009-01-26 14:11:21 +0000
+++ INSTALL 2013-01-12 05:25:23 +0000
@@ -2,18 +2,24 @@
2*************************2*************************
33
4Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,4Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
52006, 2007 Free Software Foundation, Inc.52006, 2007, 2008, 2009 Free Software Foundation, Inc.
66
7This file is free documentation; the Free Software Foundation gives7 Copying and distribution of this file, with or without modification,
8unlimited permission to copy, distribute and modify it.8are permitted in any medium without royalty provided the copyright
9notice and this notice are preserved. This file is offered as-is,
10without warranty of any kind.
911
10Basic Installation12Basic Installation
11==================13==================
1214
13Briefly, the shell commands `./configure; make; make install' should15 Briefly, the shell commands `./configure; make; make install' should
14configure, build, and install this package. The following16configure, build, and install this package. The following
15more-detailed instructions are generic; see the `README' file for17more-detailed instructions are generic; see the `README' file for
16instructions specific to this package.18instructions specific to this package. Some packages provide this
19`INSTALL' file but do not implement all of the features documented
20below. The lack of an optional feature in a given package is not
21necessarily a bug. More recommendations for GNU packages can be found
22in *note Makefile Conventions: (standards)Makefile Conventions.
1723
18 The `configure' shell script attempts to guess correct values for24 The `configure' shell script attempts to guess correct values for
19various system-dependent variables used during compilation. It uses25various system-dependent variables used during compilation. It uses
@@ -42,7 +48,7 @@
42you want to change it or regenerate `configure' using a newer version48you want to change it or regenerate `configure' using a newer version
43of `autoconf'.49of `autoconf'.
4450
45The simplest way to compile this package is:51 The simplest way to compile this package is:
4652
47 1. `cd' to the directory containing the package's source code and type53 1. `cd' to the directory containing the package's source code and type
48 `./configure' to configure the package for your system.54 `./configure' to configure the package for your system.
@@ -53,12 +59,22 @@
53 2. Type `make' to compile the package.59 2. Type `make' to compile the package.
5460
55 3. Optionally, type `make check' to run any self-tests that come with61 3. Optionally, type `make check' to run any self-tests that come with
56 the package.62 the package, generally using the just-built uninstalled binaries.
5763
58 4. Type `make install' to install the programs and any data files and64 4. Type `make install' to install the programs and any data files and
59 documentation.65 documentation. When installing into a prefix owned by root, it is
6066 recommended that the package be configured and built as a regular
61 5. You can remove the program binaries and object files from the67 user, and only the `make install' phase executed with root
68 privileges.
69
70 5. Optionally, type `make installcheck' to repeat any self-tests, but
71 this time using the binaries in their final installed location.
72 This target does not install anything. Running this target as a
73 regular user, particularly if the prior `make install' required
74 root privileges, verifies that the installation completed
75 correctly.
76
77 6. You can remove the program binaries and object files from the
62 source code directory by typing `make clean'. To also remove the78 source code directory by typing `make clean'. To also remove the
63 files that `configure' created (so you can compile the package for79 files that `configure' created (so you can compile the package for
64 a different kind of computer), type `make distclean'. There is80 a different kind of computer), type `make distclean'. There is
@@ -67,15 +83,22 @@
67 all sorts of other programs in order to regenerate files that came83 all sorts of other programs in order to regenerate files that came
68 with the distribution.84 with the distribution.
6985
70 6. Often, you can also type `make uninstall' to remove the installed86 7. Often, you can also type `make uninstall' to remove the installed
71 files again.87 files again. In practice, not all packages have tested that
88 uninstallation works correctly, even though it is required by the
89 GNU Coding Standards.
90
91 8. Some packages, particularly those that use Automake, provide `make
92 distcheck', which can by used by developers to test that all other
93 targets like `make install' and `make uninstall' work correctly.
94 This target is generally not run by end users.
7295
73Compilers and Options96Compilers and Options
74=====================97=====================
7598
76Some systems require unusual options for compilation or linking that the99 Some systems require unusual options for compilation or linking that
77`configure' script does not know about. Run `./configure --help' for100the `configure' script does not know about. Run `./configure --help'
78details on some of the pertinent environment variables.101for details on some of the pertinent environment variables.
79102
80 You can give `configure' initial values for configuration parameters103 You can give `configure' initial values for configuration parameters
81by setting variables in the command line or in the environment. Here104by setting variables in the command line or in the environment. Here
@@ -88,25 +111,41 @@
88Compiling For Multiple Architectures111Compiling For Multiple Architectures
89====================================112====================================
90113
91You can compile the package for more than one kind of computer at the114 You can compile the package for more than one kind of computer at the
92same time, by placing the object files for each architecture in their115same time, by placing the object files for each architecture in their
93own directory. To do this, you can use GNU `make'. `cd' to the116own directory. To do this, you can use GNU `make'. `cd' to the
94directory where you want the object files and executables to go and run117directory where you want the object files and executables to go and run
95the `configure' script. `configure' automatically checks for the118the `configure' script. `configure' automatically checks for the
96source code in the directory that `configure' is in and in `..'.119source code in the directory that `configure' is in and in `..'. This
120is known as a "VPATH" build.
97121
98 With a non-GNU `make', it is safer to compile the package for one122 With a non-GNU `make', it is safer to compile the package for one
99architecture at a time in the source code directory. After you have123architecture at a time in the source code directory. After you have
100installed the package for one architecture, use `make distclean' before124installed the package for one architecture, use `make distclean' before
101reconfiguring for another architecture.125reconfiguring for another architecture.
102126
127 On MacOS X 10.5 and later systems, you can create libraries and
128executables that work on multiple system types--known as "fat" or
129"universal" binaries--by specifying multiple `-arch' options to the
130compiler but only a single `-arch' option to the preprocessor. Like
131this:
132
133 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
135 CPP="gcc -E" CXXCPP="g++ -E"
136
137 This is not guaranteed to produce working output in all cases, you
138may have to build one architecture at a time and combine the results
139using the `lipo' tool if you have problems.
140
103Installation Names141Installation Names
104==================142==================
105143
106By default, `make install' installs the package's commands under144 By default, `make install' installs the package's commands under
107`/usr/local/bin', include files under `/usr/local/include', etc. You145`/usr/local/bin', include files under `/usr/local/include', etc. You
108can specify an installation prefix other than `/usr/local' by giving146can specify an installation prefix other than `/usr/local' by giving
109`configure' the option `--prefix=PREFIX'.147`configure' the option `--prefix=PREFIX', where PREFIX must be an
148absolute file name.
110149
111 You can specify separate installation prefixes for150 You can specify separate installation prefixes for
112architecture-specific files and architecture-independent files. If you151architecture-specific files and architecture-independent files. If you
@@ -117,16 +156,47 @@
117 In addition, if you use an unusual directory layout you can give156 In addition, if you use an unusual directory layout you can give
118options like `--bindir=DIR' to specify different values for particular157options like `--bindir=DIR' to specify different values for particular
119kinds of files. Run `configure --help' for a list of the directories158kinds of files. Run `configure --help' for a list of the directories
120you can set and what kinds of files go in them.159you can set and what kinds of files go in them. In general, the
160default for these options is expressed in terms of `${prefix}', so that
161specifying just `--prefix' will affect all of the other directory
162specifications that were not explicitly provided.
163
164 The most portable way to affect installation locations is to pass the
165correct locations to `configure'; however, many packages provide one or
166both of the following shortcuts of passing variable assignments to the
167`make install' command line to change installation locations without
168having to reconfigure or recompile.
169
170 The first method involves providing an override variable for each
171affected directory. For example, `make install
172prefix=/alternate/directory' will choose an alternate location for all
173directory configuration variables that were expressed in terms of
174`${prefix}'. Any directories that were specified during `configure',
175but not in terms of `${prefix}', must each be overridden at install
176time for the entire installation to be relocated. The approach of
177makefile variable overrides for each directory variable is required by
178the GNU Coding Standards, and ideally causes no recompilation.
179However, some platforms have known limitations with the semantics of
180shared libraries that end up requiring recompilation when using this
181method, particularly noticeable in packages that use GNU Libtool.
182
183 The second method involves providing the `DESTDIR' variable. For
184example, `make install DESTDIR=/alternate/directory' will prepend
185`/alternate/directory' before all installation names. The approach of
186`DESTDIR' overrides is not required by the GNU Coding Standards, and
187does not work on platforms that have drive letters. On the other hand,
188it does better at avoiding recompilation issues, and works well even
189when some directory options were not specified in terms of `${prefix}'
190at `configure' time.
191
192Optional Features
193=================
121194
122 If the package supports it, you can cause programs to be installed195 If the package supports it, you can cause programs to be installed
123with an extra prefix or suffix on their names by giving `configure' the196with an extra prefix or suffix on their names by giving `configure' the
124option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.197option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
125198
126Optional Features199 Some packages pay attention to `--enable-FEATURE' options to
127=================
128
129Some packages pay attention to `--enable-FEATURE' options to
130`configure', where FEATURE indicates an optional part of the package.200`configure', where FEATURE indicates an optional part of the package.
131They may also pay attention to `--with-PACKAGE' options, where PACKAGE201They may also pay attention to `--with-PACKAGE' options, where PACKAGE
132is something like `gnu-as' or `x' (for the X Window System). The202is something like `gnu-as' or `x' (for the X Window System). The
@@ -138,14 +208,53 @@
138you can use the `configure' options `--x-includes=DIR' and208you can use the `configure' options `--x-includes=DIR' and
139`--x-libraries=DIR' to specify their locations.209`--x-libraries=DIR' to specify their locations.
140210
211 Some packages offer the ability to configure how verbose the
212execution of `make' will be. For these packages, running `./configure
213--enable-silent-rules' sets the default to minimal output, which can be
214overridden with `make V=1'; while running `./configure
215--disable-silent-rules' sets the default to verbose, which can be
216overridden with `make V=0'.
217
218Particular systems
219==================
220
221 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
222CC is not installed, it is recommended to use the following options in
223order to use an ANSI C compiler:
224
225 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
226
227and if that doesn't work, install pre-built binaries of GCC for HP-UX.
228
229 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
230parse its `<wchar.h>' header file. The option `-nodtk' can be used as
231a workaround. If GNU CC is not installed, it is therefore recommended
232to try
233
234 ./configure CC="cc"
235
236and if that doesn't work, try
237
238 ./configure CC="cc -nodtk"
239
240 On Solaris, don't put `/usr/ucb' early in your `PATH'. This
241directory contains several dysfunctional programs; working variants of
242these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
243in your `PATH', put it _after_ `/usr/bin'.
244
245 On Haiku, software installed for all users goes in `/boot/common',
246not `/usr/local'. It is recommended to use the following options:
247
248 ./configure --prefix=/boot/common
249
141Specifying the System Type250Specifying the System Type
142==========================251==========================
143252
144There may be some features `configure' cannot figure out automatically,253 There may be some features `configure' cannot figure out
145but needs to determine by the type of machine the package will run on.254automatically, but needs to determine by the type of machine the package
146Usually, assuming the package is built to be run on the _same_255will run on. Usually, assuming the package is built to be run on the
147architectures, `configure' can figure that out, but if it prints a256_same_ architectures, `configure' can figure that out, but if it prints
148message saying it cannot guess the machine type, give it the257a message saying it cannot guess the machine type, give it the
149`--build=TYPE' option. TYPE can either be a short name for the system258`--build=TYPE' option. TYPE can either be a short name for the system
150type, such as `sun4', or a canonical name which has the form:259type, such as `sun4', or a canonical name which has the form:
151260
@@ -153,7 +262,8 @@
153262
154where SYSTEM can have one of these forms:263where SYSTEM can have one of these forms:
155264
156 OS KERNEL-OS265 OS
266 KERNEL-OS
157267
158 See the file `config.sub' for the possible values of each field. If268 See the file `config.sub' for the possible values of each field. If
159`config.sub' isn't included in this package, then this package doesn't269`config.sub' isn't included in this package, then this package doesn't
@@ -171,9 +281,9 @@
171Sharing Defaults281Sharing Defaults
172================282================
173283
174If you want to set default values for `configure' scripts to share, you284 If you want to set default values for `configure' scripts to share,
175can create a site shell script called `config.site' that gives default285you can create a site shell script called `config.site' that gives
176values for variables like `CC', `cache_file', and `prefix'.286default values for variables like `CC', `cache_file', and `prefix'.
177`configure' looks for `PREFIX/share/config.site' if it exists, then287`configure' looks for `PREFIX/share/config.site' if it exists, then
178`PREFIX/etc/config.site' if it exists. Or, you can set the288`PREFIX/etc/config.site' if it exists. Or, you can set the
179`CONFIG_SITE' environment variable to the location of the site script.289`CONFIG_SITE' environment variable to the location of the site script.
@@ -182,7 +292,7 @@
182Defining Variables292Defining Variables
183==================293==================
184294
185Variables not defined in a site shell script can be set in the295 Variables not defined in a site shell script can be set in the
186environment passed to `configure'. However, some packages may run296environment passed to `configure'. However, some packages may run
187configure again during the build, and the customized values of these297configure again during the build, and the customized values of these
188variables may be lost. In order to avoid this problem, you should set298variables may be lost. In order to avoid this problem, you should set
@@ -201,11 +311,19 @@
201`configure' Invocation311`configure' Invocation
202======================312======================
203313
204`configure' recognizes the following options to control how it operates.314 `configure' recognizes the following options to control how it
315operates.
205316
206`--help'317`--help'
207`-h'318`-h'
208 Print a summary of the options to `configure', and exit.319 Print a summary of all of the options to `configure', and exit.
320
321`--help=short'
322`--help=recursive'
323 Print a summary of the options unique to this package's
324 `configure', and exit. The `short' variant lists options used
325 only in the top level, while the `recursive' variant lists options
326 also present in any nested packages.
209327
210`--version'328`--version'
211`-V'329`-V'
@@ -232,6 +350,16 @@
232 Look for the package's source code in directory DIR. Usually350 Look for the package's source code in directory DIR. Usually
233 `configure' can determine that directory automatically.351 `configure' can determine that directory automatically.
234352
353`--prefix=DIR'
354 Use DIR as the installation prefix. *note Installation Names::
355 for more details, including other options available for fine-tuning
356 the installation locations.
357
358`--no-create'
359`-n'
360 Run the configure checks, but stop before creating any output
361 files.
362
235`configure' also accepts some other, not widely useful, options. Run363`configure' also accepts some other, not widely useful, options. Run
236`configure --help' for more details.364`configure --help' for more details.
237365
238366
=== modified file 'Makefile.am'
--- Makefile.am 2011-10-16 11:55:22 +0000
+++ Makefile.am 2013-01-12 05:25:23 +0000
@@ -1,4 +1,4 @@
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 $
2# ==================================================================2# ==================================================================
3# (C) Copyright IBM Corp. 2005, 20093# (C) Copyright IBM Corp. 2005, 2009
4#4#
@@ -14,6 +14,7 @@
14# Description: Automake input file for OS Base Providers14# Description: Automake input file for OS Base Providers
15# ==================================================================15# ==================================================================
1616
17AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2
1718
18# SBLIM Include Directory19# SBLIM Include Directory
19sblimincdir = $(includedir)/sblim20sblimincdir = $(includedir)/sblim
2021
=== modified file 'Makefile.in'
--- Makefile.in 2011-10-16 11:55:22 +0000
+++ Makefile.in 2013-01-12 05:25:23 +0000
@@ -1,8 +1,9 @@
1# Makefile.in generated by automake 1.10.1 from Makefile.am.1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
6# This Makefile.in is free software; the Free Software Foundation7# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,8# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.9# with or without modifications, as long as this notice is preserved.
@@ -14,7 +15,7 @@
1415
15@SET_MAKE@16@SET_MAKE@
1617
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 $
18# ==================================================================19# ==================================================================
19# (C) Copyright IBM Corp. 2005, 200920# (C) Copyright IBM Corp. 2005, 2009
20#21#
@@ -36,8 +37,9 @@
3637
37VPATH = @srcdir@38VPATH = @srcdir@
38pkgdatadir = $(datadir)/@PACKAGE@39pkgdatadir = $(datadir)/@PACKAGE@
40pkgincludedir = $(includedir)/@PACKAGE@
39pkglibdir = $(libdir)/@PACKAGE@41pkglibdir = $(libdir)/@PACKAGE@
40pkgincludedir = $(includedir)/@PACKAGE@42pkglibexecdir = $(libexecdir)/@PACKAGE@
41am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd43am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42install_sh_DATA = $(install_sh) -c -m 64444install_sh_DATA = $(install_sh) -c -m 644
43install_sh_PROGRAM = $(install_sh) -c45install_sh_PROGRAM = $(install_sh) -c
@@ -71,19 +73,33 @@
71mkinstalldirs = $(install_sh) -d73mkinstalldirs = $(install_sh) -d
72CONFIG_HEADER = config.h74CONFIG_HEADER = config.h
73CONFIG_CLEAN_FILES = sblim-cmpi-base.spec75CONFIG_CLEAN_FILES = sblim-cmpi-base.spec
76CONFIG_CLEAN_VPATH_FILES =
74am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;77am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
75am__vpath_adj = case $$p in \78am__vpath_adj = case $$p in \
76 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \79 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
77 *) f=$$p;; \80 *) f=$$p;; \
78 esac;81 esac;
79am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;82am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
83am__install_max = 40
84am__nobase_strip_setup = \
85 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
86am__nobase_strip = \
87 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
88am__nobase_list = $(am__nobase_strip_setup); \
89 for p in $$list; do echo "$$p $$p"; done | \
90 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
91 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
92 if (++n[$$2] == $(am__install_max)) \
93 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
94 END { for (dir in files) print dir, files[dir] }'
95am__base_list = \
96 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
97 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
80am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(providerdir)" \98am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(providerdir)" \
81 "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitedir)" \99 "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitedir)" \
82 "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(docdir)" \100 "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(docdir)" \
83 "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitecimdir)" \101 "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(testsuitecimdir)" \
84 "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(sblimincdir)"102 "$(DESTDIR)$(testsuitesystemdir)" "$(DESTDIR)$(sblimincdir)"
85libLTLIBRARIES_INSTALL = $(INSTALL)
86providerLTLIBRARIES_INSTALL = $(INSTALL)
87LTLIBRARIES = $(lib_LTLIBRARIES) $(provider_LTLIBRARIES)103LTLIBRARIES = $(lib_LTLIBRARIES) $(provider_LTLIBRARIES)
88libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES =104libcmpiOSBase_BaseBoardProvider_la_DEPENDENCIES =
89am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \105am_libcmpiOSBase_BaseBoardProvider_la_OBJECTS = \
@@ -211,14 +227,12 @@
211am_dmitest_OBJECTS = dmitest.$(OBJEXT)227am_dmitest_OBJECTS = dmitest.$(OBJEXT)
212dmitest_OBJECTS = $(am_dmitest_OBJECTS)228dmitest_OBJECTS = $(am_dmitest_OBJECTS)
213dmitest_DEPENDENCIES =229dmitest_DEPENDENCIES =
214pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT)
215testsuiteSCRIPT_INSTALL = $(INSTALL_SCRIPT)
216testsuitesystemSCRIPT_INSTALL = $(INSTALL_SCRIPT)
217SCRIPTS = $(pkgdata_SCRIPTS) $(testsuite_SCRIPTS) \230SCRIPTS = $(pkgdata_SCRIPTS) $(testsuite_SCRIPTS) \
218 $(testsuitesystem_SCRIPTS)231 $(testsuitesystem_SCRIPTS)
219DEFAULT_INCLUDES = -I.@am__isrc@232DEFAULT_INCLUDES = -I.@am__isrc@
220depcomp = $(SHELL) $(top_srcdir)/depcomp233depcomp = $(SHELL) $(top_srcdir)/depcomp
221am__depfiles_maybe = depfiles234am__depfiles_maybe = depfiles
235am__mv = mv -f
222COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \236COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
223 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)237 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
224LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \238LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
@@ -254,13 +268,8 @@
254 $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \268 $(libcmpiOSBase_RunningOSProvider_la_SOURCES) \
255 $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \269 $(libcmpiOSBase_UnixProcessProvider_la_SOURCES) \
256 $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES)270 $(libdmiinfo_la_SOURCES) $(dmitest_SOURCES)
257docDATA_INSTALL = $(INSTALL_DATA)
258pkgdataDATA_INSTALL = $(INSTALL_DATA)
259testsuitecimDATA_INSTALL = $(INSTALL_DATA)
260testsuitesystemDATA_INSTALL = $(INSTALL_DATA)
261DATA = $(doc_DATA) $(pkgdata_DATA) $(testsuitecim_DATA) \271DATA = $(doc_DATA) $(pkgdata_DATA) $(testsuitecim_DATA) \
262 $(testsuitesystem_DATA)272 $(testsuitesystem_DATA)
263sblimincHEADERS_INSTALL = $(INSTALL_HEADER)
264HEADERS = $(noinst_HEADERS) $(sbliminc_HEADERS)273HEADERS = $(noinst_HEADERS) $(sbliminc_HEADERS)
265ETAGS = etags274ETAGS = etags
266CTAGS = ctags275CTAGS = ctags
@@ -268,11 +277,11 @@
268distdir = $(PACKAGE)-$(VERSION)277distdir = $(PACKAGE)-$(VERSION)
269top_distdir = $(distdir)278top_distdir = $(distdir)
270am__remove_distdir = \279am__remove_distdir = \
271 { test ! -d $(distdir) \280 { test ! -d "$(distdir)" \
272 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \281 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
273 && rm -fr $(distdir); }; }282 && rm -fr "$(distdir)"; }; }
274DIST_ARCHIVES = $(distdir).tar.gz
275GZIP_ENV = --best283GZIP_ENV = --best
284DIST_ARCHIVES = $(distdir).tar.bz2
276distuninstallcheck_listfiles = find . -type f -print285distuninstallcheck_listfiles = find . -type f -print
277distcleancheck_listfiles = find . -type f -print286distcleancheck_listfiles = find . -type f -print
278ACLOCAL = @ACLOCAL@287ACLOCAL = @ACLOCAL@
@@ -288,44 +297,46 @@
288CIMSERVER = @CIMSERVER@297CIMSERVER = @CIMSERVER@
289CPP = @CPP@298CPP = @CPP@
290CPPFLAGS = @CPPFLAGS@299CPPFLAGS = @CPPFLAGS@
291CXX = @CXX@
292CXXCPP = @CXXCPP@
293CXXDEPMODE = @CXXDEPMODE@
294CXXFLAGS = @CXXFLAGS@
295CYGPATH_W = @CYGPATH_W@300CYGPATH_W = @CYGPATH_W@
296DEFS = @DEFS@301DEFS = @DEFS@
297DEPDIR = @DEPDIR@302DEPDIR = @DEPDIR@
298DSYMUTIL = @DSYMUTIL@303DSYMUTIL = @DSYMUTIL@
299ECHO = @ECHO@304DUMPBIN = @DUMPBIN@
300ECHO_C = @ECHO_C@305ECHO_C = @ECHO_C@
301ECHO_N = @ECHO_N@306ECHO_N = @ECHO_N@
302ECHO_T = @ECHO_T@307ECHO_T = @ECHO_T@
303EGREP = @EGREP@308EGREP = @EGREP@
304EXEEXT = @EXEEXT@309EXEEXT = @EXEEXT@
305F77 = @F77@310FGREP = @FGREP@
306FFLAGS = @FFLAGS@
307GREP = @GREP@311GREP = @GREP@
308INSTALL = @INSTALL@312INSTALL = @INSTALL@
309INSTALL_DATA = @INSTALL_DATA@313INSTALL_DATA = @INSTALL_DATA@
310INSTALL_PROGRAM = @INSTALL_PROGRAM@314INSTALL_PROGRAM = @INSTALL_PROGRAM@
311INSTALL_SCRIPT = @INSTALL_SCRIPT@315INSTALL_SCRIPT = @INSTALL_SCRIPT@
312INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@316INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
317LD = @LD@
313LDFLAGS = @LDFLAGS@318LDFLAGS = @LDFLAGS@
314LIBOBJS = @LIBOBJS@319LIBOBJS = @LIBOBJS@
315LIBS = @LIBS@320LIBS = @LIBS@
316LIBTOOL = @LIBTOOL@321LIBTOOL = @LIBTOOL@
317LINDHELP = @LINDHELP@322LINDHELP = @LINDHELP@
323LIPO = @LIPO@
318LN_S = @LN_S@324LN_S = @LN_S@
319LTLIBOBJS = @LTLIBOBJS@325LTLIBOBJS = @LTLIBOBJS@
320MAKEINFO = @MAKEINFO@326MAKEINFO = @MAKEINFO@
321MKDIR_P = @MKDIR_P@327MKDIR_P = @MKDIR_P@
328NM = @NM@
322NMEDIT = @NMEDIT@329NMEDIT = @NMEDIT@
330OBJDUMP = @OBJDUMP@
323OBJEXT = @OBJEXT@331OBJEXT = @OBJEXT@
332OTOOL = @OTOOL@
333OTOOL64 = @OTOOL64@
324PACKAGE = @PACKAGE@334PACKAGE = @PACKAGE@
325PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@335PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
326PACKAGE_NAME = @PACKAGE_NAME@336PACKAGE_NAME = @PACKAGE_NAME@
327PACKAGE_STRING = @PACKAGE_STRING@337PACKAGE_STRING = @PACKAGE_STRING@
328PACKAGE_TARNAME = @PACKAGE_TARNAME@338PACKAGE_TARNAME = @PACKAGE_TARNAME@
339PACKAGE_URL = @PACKAGE_URL@
329PACKAGE_VERSION = @PACKAGE_VERSION@340PACKAGE_VERSION = @PACKAGE_VERSION@
330PATH_SEPARATOR = @PATH_SEPARATOR@341PATH_SEPARATOR = @PATH_SEPARATOR@
331PROVIDERDIR = @PROVIDERDIR@342PROVIDERDIR = @PROVIDERDIR@
@@ -342,8 +353,7 @@
342abs_top_builddir = @abs_top_builddir@353abs_top_builddir = @abs_top_builddir@
343abs_top_srcdir = @abs_top_srcdir@354abs_top_srcdir = @abs_top_srcdir@
344ac_ct_CC = @ac_ct_CC@355ac_ct_CC = @ac_ct_CC@
345ac_ct_CXX = @ac_ct_CXX@356ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
346ac_ct_F77 = @ac_ct_F77@
347am__include = @am__include@357am__include = @am__include@
348am__leading_dot = @am__leading_dot@358am__leading_dot = @am__leading_dot@
349am__quote = @am__quote@359am__quote = @am__quote@
@@ -376,6 +386,7 @@
376libexecdir = @libexecdir@386libexecdir = @libexecdir@
377localedir = @localedir@387localedir = @localedir@
378localstatedir = @localstatedir@388localstatedir = @localstatedir@
389lt_ECHO = @lt_ECHO@
379mandir = @mandir@390mandir = @mandir@
380mkdir_p = @mkdir_p@391mkdir_p = @mkdir_p@
381oldincludedir = @oldincludedir@392oldincludedir = @oldincludedir@
@@ -388,8 +399,10 @@
388srcdir = @srcdir@399srcdir = @srcdir@
389sysconfdir = @sysconfdir@400sysconfdir = @sysconfdir@
390target_alias = @target_alias@401target_alias = @target_alias@
402top_build_prefix = @top_build_prefix@
391top_builddir = @top_builddir@403top_builddir = @top_builddir@
392top_srcdir = @top_srcdir@404top_srcdir = @top_srcdir@
405AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2
393406
394# SBLIM Include Directory407# SBLIM Include Directory
395sblimincdir = $(includedir)/sblim408sblimincdir = $(includedir)/sblim
@@ -589,15 +602,15 @@
589 @for dep in $?; do \602 @for dep in $?; do \
590 case '$(am__configure_deps)' in \603 case '$(am__configure_deps)' in \
591 *$$dep*) \604 *$$dep*) \
592 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \605 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
593 cd $(srcdir) && $(AUTOMAKE) --gnu \606 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
594 && exit 0; \607 && exit 0; \
595 exit 1;; \608 exit 1;; \
596 esac; \609 esac; \
597 done; \610 done; \
598 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \611 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
599 cd $(top_srcdir) && \612 $(am__cd) $(top_srcdir) && \
600 $(AUTOMAKE) --gnu Makefile613 $(AUTOMAKE) --gnu Makefile
601.PRECIOUS: Makefile614.PRECIOUS: Makefile
602Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status615Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
603 @case '$?' in \616 @case '$?' in \
@@ -613,9 +626,10 @@
613 $(SHELL) ./config.status --recheck626 $(SHELL) ./config.status --recheck
614627
615$(top_srcdir)/configure: $(am__configure_deps)628$(top_srcdir)/configure: $(am__configure_deps)
616 cd $(srcdir) && $(AUTOCONF)629 $(am__cd) $(srcdir) && $(AUTOCONF)
617$(ACLOCAL_M4): $(am__aclocal_m4_deps)630$(ACLOCAL_M4): $(am__aclocal_m4_deps)
618 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)631 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
632$(am__aclocal_m4_deps):
619633
620config.h: stamp-h1634config.h: stamp-h1
621 @if test ! -f $@; then \635 @if test ! -f $@; then \
@@ -627,7 +641,7 @@
627 @rm -f stamp-h1641 @rm -f stamp-h1
628 cd $(top_builddir) && $(SHELL) ./config.status config.h642 cd $(top_builddir) && $(SHELL) ./config.status config.h
629$(srcdir)/config.h.in: $(am__configure_deps) 643$(srcdir)/config.h.in: $(am__configure_deps)
630 cd $(top_srcdir) && $(AUTOHEADER)644 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
631 rm -f stamp-h1645 rm -f stamp-h1
632 touch $@646 touch $@
633647
@@ -638,20 +652,24 @@
638install-libLTLIBRARIES: $(lib_LTLIBRARIES)652install-libLTLIBRARIES: $(lib_LTLIBRARIES)
639 @$(NORMAL_INSTALL)653 @$(NORMAL_INSTALL)
640 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"654 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
641 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \655 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
656 list2=; for p in $$list; do \
642 if test -f $$p; then \657 if test -f $$p; then \
643 f=$(am__strip_dir) \658 list2="$$list2 $$p"; \
644 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
645 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
646 else :; fi; \659 else :; fi; \
647 done660 done; \
661 test -z "$$list2" || { \
662 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
663 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
664 }
648665
649uninstall-libLTLIBRARIES:666uninstall-libLTLIBRARIES:
650 @$(NORMAL_UNINSTALL)667 @$(NORMAL_UNINSTALL)
651 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \668 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
652 p=$(am__strip_dir) \669 for p in $$list; do \
653 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \670 $(am__strip_dir) \
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'"; \
672 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
655 done673 done
656674
657clean-libLTLIBRARIES:675clean-libLTLIBRARIES:
@@ -665,20 +683,24 @@
665install-providerLTLIBRARIES: $(provider_LTLIBRARIES)683install-providerLTLIBRARIES: $(provider_LTLIBRARIES)
666 @$(NORMAL_INSTALL)684 @$(NORMAL_INSTALL)
667 test -z "$(providerdir)" || $(MKDIR_P) "$(DESTDIR)$(providerdir)"685 test -z "$(providerdir)" || $(MKDIR_P) "$(DESTDIR)$(providerdir)"
668 @list='$(provider_LTLIBRARIES)'; for p in $$list; do \686 @list='$(provider_LTLIBRARIES)'; test -n "$(providerdir)" || list=; \
687 list2=; for p in $$list; do \
669 if test -f $$p; then \688 if test -f $$p; then \
670 f=$(am__strip_dir) \689 list2="$$list2 $$p"; \
671 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(providerdir)/$$f'"; \
672 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(providerLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(providerdir)/$$f"; \
673 else :; fi; \690 else :; fi; \
674 done691 done; \
692 test -z "$$list2" || { \
693 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(providerdir)'"; \
694 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(providerdir)"; \
695 }
675696
676uninstall-providerLTLIBRARIES:697uninstall-providerLTLIBRARIES:
677 @$(NORMAL_UNINSTALL)698 @$(NORMAL_UNINSTALL)
678 @list='$(provider_LTLIBRARIES)'; for p in $$list; do \699 @list='$(provider_LTLIBRARIES)'; test -n "$(providerdir)" || list=; \
679 p=$(am__strip_dir) \700 for p in $$list; do \
680 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(providerdir)/$$p'"; \701 $(am__strip_dir) \
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'"; \
703 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(providerdir)/$$f"; \
682 done704 done
683705
684clean-providerLTLIBRARIES:706clean-providerLTLIBRARIES:
@@ -717,71 +739,118 @@
717 $(LINK) -rpath $(libdir) $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_LIBADD) $(LIBS)739 $(LINK) -rpath $(libdir) $(libdmiinfo_la_OBJECTS) $(libdmiinfo_la_LIBADD) $(LIBS)
718740
719clean-noinstPROGRAMS:741clean-noinstPROGRAMS:
720 @list='$(noinst_PROGRAMS)'; for p in $$list; do \742 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
721 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \743 echo " rm -f" $$list; \
722 echo " rm -f $$p $$f"; \744 rm -f $$list || exit $$?; \
723 rm -f $$p $$f ; \745 test -n "$(EXEEXT)" || exit 0; \
724 done746 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
747 echo " rm -f" $$list; \
748 rm -f $$list
725dmitest$(EXEEXT): $(dmitest_OBJECTS) $(dmitest_DEPENDENCIES) 749dmitest$(EXEEXT): $(dmitest_OBJECTS) $(dmitest_DEPENDENCIES)
726 @rm -f dmitest$(EXEEXT)750 @rm -f dmitest$(EXEEXT)
727 $(LINK) $(dmitest_OBJECTS) $(dmitest_LDADD) $(LIBS)751 $(LINK) $(dmitest_OBJECTS) $(dmitest_LDADD) $(LIBS)
728install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)752install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
729 @$(NORMAL_INSTALL)753 @$(NORMAL_INSTALL)
730 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"754 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
731 @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \755 @list='$(pkgdata_SCRIPTS)'; test -n "$(pkgdatadir)" || list=; \
756 for p in $$list; do \
732 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \757 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
733 if test -f $$d$$p; then \758 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
734 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \759 done | \
735 echo " $(pkgdataSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \760 sed -e 'p;s,.*/,,;n' \
736 $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \761 -e 'h;s|.*|.|' \
737 else :; fi; \762 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
738 done763 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
764 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
765 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
766 if (++n[d] == $(am__install_max)) { \
767 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
768 else { print "f", d "/" $$4, $$1 } } \
769 END { for (d in files) print "f", d, files[d] }' | \
770 while read type dir files; do \
771 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
772 test -z "$$files" || { \
773 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkgdatadir)$$dir'"; \
774 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkgdatadir)$$dir" || exit $$?; \
775 } \
776 ; done
739777
740uninstall-pkgdataSCRIPTS:778uninstall-pkgdataSCRIPTS:
741 @$(NORMAL_UNINSTALL)779 @$(NORMAL_UNINSTALL)
742 @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \780 @list='$(pkgdata_SCRIPTS)'; test -n "$(pkgdatadir)" || exit 0; \
743 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \781 files=`for p in $$list; do echo "$$p"; done | \
744 echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \782 sed -e 's,.*/,,;$(transform)'`; \
745 rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \783 test -n "$$list" || exit 0; \
746 done784 echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
785 cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
747install-testsuiteSCRIPTS: $(testsuite_SCRIPTS)786install-testsuiteSCRIPTS: $(testsuite_SCRIPTS)
748 @$(NORMAL_INSTALL)787 @$(NORMAL_INSTALL)
749 test -z "$(testsuitedir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitedir)"788 test -z "$(testsuitedir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitedir)"
750 @list='$(testsuite_SCRIPTS)'; for p in $$list; do \789 @list='$(testsuite_SCRIPTS)'; test -n "$(testsuitedir)" || list=; \
790 for p in $$list; do \
751 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \791 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
752 if test -f $$d$$p; then \792 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
753 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \793 done | \
754 echo " $(testsuiteSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitedir)/$$f'"; \794 sed -e 'p;s,.*/,,;n' \
755 $(testsuiteSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitedir)/$$f"; \795 -e 'h;s|.*|.|' \
756 else :; fi; \796 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
757 done797 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
798 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
799 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
800 if (++n[d] == $(am__install_max)) { \
801 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
802 else { print "f", d "/" $$4, $$1 } } \
803 END { for (d in files) print "f", d, files[d] }' | \
804 while read type dir files; do \
805 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
806 test -z "$$files" || { \
807 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(testsuitedir)$$dir'"; \
808 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(testsuitedir)$$dir" || exit $$?; \
809 } \
810 ; done
758811
759uninstall-testsuiteSCRIPTS:812uninstall-testsuiteSCRIPTS:
760 @$(NORMAL_UNINSTALL)813 @$(NORMAL_UNINSTALL)
761 @list='$(testsuite_SCRIPTS)'; for p in $$list; do \814 @list='$(testsuite_SCRIPTS)'; test -n "$(testsuitedir)" || exit 0; \
762 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \815 files=`for p in $$list; do echo "$$p"; done | \
763 echo " rm -f '$(DESTDIR)$(testsuitedir)/$$f'"; \816 sed -e 's,.*/,,;$(transform)'`; \
764 rm -f "$(DESTDIR)$(testsuitedir)/$$f"; \817 test -n "$$list" || exit 0; \
765 done818 echo " ( cd '$(DESTDIR)$(testsuitedir)' && rm -f" $$files ")"; \
819 cd "$(DESTDIR)$(testsuitedir)" && rm -f $$files
766install-testsuitesystemSCRIPTS: $(testsuitesystem_SCRIPTS)820install-testsuitesystemSCRIPTS: $(testsuitesystem_SCRIPTS)
767 @$(NORMAL_INSTALL)821 @$(NORMAL_INSTALL)
768 test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)"822 test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)"
769 @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \823 @list='$(testsuitesystem_SCRIPTS)'; test -n "$(testsuitesystemdir)" || list=; \
824 for p in $$list; do \
770 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \825 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
771 if test -f $$d$$p; then \826 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
772 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \827 done | \
773 echo " $(testsuitesystemSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \828 sed -e 'p;s,.*/,,;n' \
774 $(testsuitesystemSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \829 -e 'h;s|.*|.|' \
775 else :; fi; \830 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
776 done831 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
832 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
833 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
834 if (++n[d] == $(am__install_max)) { \
835 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
836 else { print "f", d "/" $$4, $$1 } } \
837 END { for (d in files) print "f", d, files[d] }' | \
838 while read type dir files; do \
839 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
840 test -z "$$files" || { \
841 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(testsuitesystemdir)$$dir'"; \
842 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(testsuitesystemdir)$$dir" || exit $$?; \
843 } \
844 ; done
777845
778uninstall-testsuitesystemSCRIPTS:846uninstall-testsuitesystemSCRIPTS:
779 @$(NORMAL_UNINSTALL)847 @$(NORMAL_UNINSTALL)
780 @list='$(testsuitesystem_SCRIPTS)'; for p in $$list; do \848 @list='$(testsuitesystem_SCRIPTS)'; test -n "$(testsuitesystemdir)" || exit 0; \
781 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \849 files=`for p in $$list; do echo "$$p"; done | \
782 echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \850 sed -e 's,.*/,,;$(transform)'`; \
783 rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \851 test -n "$$list" || exit 0; \
784 done852 echo " ( cd '$(DESTDIR)$(testsuitesystemdir)' && rm -f" $$files ")"; \
853 cd "$(DESTDIR)$(testsuitesystemdir)" && rm -f $$files
785854
786mostlyclean-compile:855mostlyclean-compile:
787 -rm -f *.$(OBJEXT)856 -rm -f *.$(OBJEXT)
@@ -819,21 +888,21 @@
819888
820.c.o:889.c.o:
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 $@ $<
822@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po891@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
823@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@892@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
824@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@893@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
825@am__fastdepCC_FALSE@ $(COMPILE) -c $<894@am__fastdepCC_FALSE@ $(COMPILE) -c $<
826895
827.c.obj:896.c.obj:
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) '$<'`
829@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po898@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
830@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@899@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
831@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@900@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
832@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`901@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
833902
834.c.lo:903.c.lo:
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 $@ $<
836@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo905@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
837@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@906@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
838@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@907@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
839@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<908@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
@@ -845,106 +914,121 @@
845 -rm -rf .libs _libs914 -rm -rf .libs _libs
846915
847distclean-libtool:916distclean-libtool:
848 -rm -f libtool917 -rm -f libtool config.lt
849install-docDATA: $(doc_DATA)918install-docDATA: $(doc_DATA)
850 @$(NORMAL_INSTALL)919 @$(NORMAL_INSTALL)
851 test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"920 test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
852 @list='$(doc_DATA)'; for p in $$list; do \921 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
922 for p in $$list; do \
853 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \923 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
854 f=$(am__strip_dir) \924 echo "$$d$$p"; \
855 echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \925 done | $(am__base_list) | \
856 $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \926 while read files; do \
927 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
928 $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
857 done929 done
858930
859uninstall-docDATA:931uninstall-docDATA:
860 @$(NORMAL_UNINSTALL)932 @$(NORMAL_UNINSTALL)
861 @list='$(doc_DATA)'; for p in $$list; do \933 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
862 f=$(am__strip_dir) \934 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
863 echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \935 test -n "$$files" || exit 0; \
864 rm -f "$(DESTDIR)$(docdir)/$$f"; \936 echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \
865 done937 cd "$(DESTDIR)$(docdir)" && rm -f $$files
866install-pkgdataDATA: $(pkgdata_DATA)938install-pkgdataDATA: $(pkgdata_DATA)
867 @$(NORMAL_INSTALL)939 @$(NORMAL_INSTALL)
868 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"940 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
869 @list='$(pkgdata_DATA)'; for p in $$list; do \941 @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
942 for p in $$list; do \
870 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \943 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
871 f=$(am__strip_dir) \944 echo "$$d$$p"; \
872 echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \945 done | $(am__base_list) | \
873 $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \946 while read files; do \
947 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
948 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
874 done949 done
875950
876uninstall-pkgdataDATA:951uninstall-pkgdataDATA:
877 @$(NORMAL_UNINSTALL)952 @$(NORMAL_UNINSTALL)
878 @list='$(pkgdata_DATA)'; for p in $$list; do \953 @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
879 f=$(am__strip_dir) \954 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
880 echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \955 test -n "$$files" || exit 0; \
881 rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \956 echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
882 done957 cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
883install-testsuitecimDATA: $(testsuitecim_DATA)958install-testsuitecimDATA: $(testsuitecim_DATA)
884 @$(NORMAL_INSTALL)959 @$(NORMAL_INSTALL)
885 test -z "$(testsuitecimdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitecimdir)"960 test -z "$(testsuitecimdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitecimdir)"
886 @list='$(testsuitecim_DATA)'; for p in $$list; do \961 @list='$(testsuitecim_DATA)'; test -n "$(testsuitecimdir)" || list=; \
962 for p in $$list; do \
887 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \963 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
888 f=$(am__strip_dir) \964 echo "$$d$$p"; \
889 echo " $(testsuitecimDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitecimdir)/$$f'"; \965 done | $(am__base_list) | \
890 $(testsuitecimDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitecimdir)/$$f"; \966 while read files; do \
967 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(testsuitecimdir)'"; \
968 $(INSTALL_DATA) $$files "$(DESTDIR)$(testsuitecimdir)" || exit $$?; \
891 done969 done
892970
893uninstall-testsuitecimDATA:971uninstall-testsuitecimDATA:
894 @$(NORMAL_UNINSTALL)972 @$(NORMAL_UNINSTALL)
895 @list='$(testsuitecim_DATA)'; for p in $$list; do \973 @list='$(testsuitecim_DATA)'; test -n "$(testsuitecimdir)" || list=; \
896 f=$(am__strip_dir) \974 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
897 echo " rm -f '$(DESTDIR)$(testsuitecimdir)/$$f'"; \975 test -n "$$files" || exit 0; \
898 rm -f "$(DESTDIR)$(testsuitecimdir)/$$f"; \976 echo " ( cd '$(DESTDIR)$(testsuitecimdir)' && rm -f" $$files ")"; \
899 done977 cd "$(DESTDIR)$(testsuitecimdir)" && rm -f $$files
900install-testsuitesystemDATA: $(testsuitesystem_DATA)978install-testsuitesystemDATA: $(testsuitesystem_DATA)
901 @$(NORMAL_INSTALL)979 @$(NORMAL_INSTALL)
902 test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)"980 test -z "$(testsuitesystemdir)" || $(MKDIR_P) "$(DESTDIR)$(testsuitesystemdir)"
903 @list='$(testsuitesystem_DATA)'; for p in $$list; do \981 @list='$(testsuitesystem_DATA)'; test -n "$(testsuitesystemdir)" || list=; \
982 for p in $$list; do \
904 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \983 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
905 f=$(am__strip_dir) \984 echo "$$d$$p"; \
906 echo " $(testsuitesystemDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \985 done | $(am__base_list) | \
907 $(testsuitesystemDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(testsuitesystemdir)/$$f"; \986 while read files; do \
987 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(testsuitesystemdir)'"; \
988 $(INSTALL_DATA) $$files "$(DESTDIR)$(testsuitesystemdir)" || exit $$?; \
908 done989 done
909990
910uninstall-testsuitesystemDATA:991uninstall-testsuitesystemDATA:
911 @$(NORMAL_UNINSTALL)992 @$(NORMAL_UNINSTALL)
912 @list='$(testsuitesystem_DATA)'; for p in $$list; do \993 @list='$(testsuitesystem_DATA)'; test -n "$(testsuitesystemdir)" || list=; \
913 f=$(am__strip_dir) \994 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
914 echo " rm -f '$(DESTDIR)$(testsuitesystemdir)/$$f'"; \995 test -n "$$files" || exit 0; \
915 rm -f "$(DESTDIR)$(testsuitesystemdir)/$$f"; \996 echo " ( cd '$(DESTDIR)$(testsuitesystemdir)' && rm -f" $$files ")"; \
916 done997 cd "$(DESTDIR)$(testsuitesystemdir)" && rm -f $$files
917install-sblimincHEADERS: $(sbliminc_HEADERS)998install-sblimincHEADERS: $(sbliminc_HEADERS)
918 @$(NORMAL_INSTALL)999 @$(NORMAL_INSTALL)
919 test -z "$(sblimincdir)" || $(MKDIR_P) "$(DESTDIR)$(sblimincdir)"1000 test -z "$(sblimincdir)" || $(MKDIR_P) "$(DESTDIR)$(sblimincdir)"
920 @list='$(sbliminc_HEADERS)'; for p in $$list; do \1001 @list='$(sbliminc_HEADERS)'; test -n "$(sblimincdir)" || list=; \
1002 for p in $$list; do \
921 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \1003 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
922 f=$(am__strip_dir) \1004 echo "$$d$$p"; \
923 echo " $(sblimincHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sblimincdir)/$$f'"; \1005 done | $(am__base_list) | \
924 $(sblimincHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sblimincdir)/$$f"; \1006 while read files; do \
1007 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(sblimincdir)'"; \
1008 $(INSTALL_HEADER) $$files "$(DESTDIR)$(sblimincdir)" || exit $$?; \
925 done1009 done
9261010
927uninstall-sblimincHEADERS:1011uninstall-sblimincHEADERS:
928 @$(NORMAL_UNINSTALL)1012 @$(NORMAL_UNINSTALL)
929 @list='$(sbliminc_HEADERS)'; for p in $$list; do \1013 @list='$(sbliminc_HEADERS)'; test -n "$(sblimincdir)" || list=; \
930 f=$(am__strip_dir) \1014 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
931 echo " rm -f '$(DESTDIR)$(sblimincdir)/$$f'"; \1015 test -n "$$files" || exit 0; \
932 rm -f "$(DESTDIR)$(sblimincdir)/$$f"; \1016 echo " ( cd '$(DESTDIR)$(sblimincdir)' && rm -f" $$files ")"; \
933 done1017 cd "$(DESTDIR)$(sblimincdir)" && rm -f $$files
9341018
935ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)1019ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
936 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \1020 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
937 unique=`for i in $$list; do \1021 unique=`for i in $$list; do \
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; \
939 done | \1023 done | \
940 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \1024 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
941 END { if (nonempty) { for (i in files) print i; }; }'`; \1025 END { if (nonempty) { for (i in files) print i; }; }'`; \
942 mkid -fID $$unique1026 mkid -fID $$unique
943tags: TAGS1027tags: TAGS
9441028
945TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \1029TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
946 $(TAGS_FILES) $(LISP)1030 $(TAGS_FILES) $(LISP)
947 tags=; \1031 set x; \
948 here=`pwd`; \1032 here=`pwd`; \
949 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \1033 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
950 unique=`for i in $$list; do \1034 unique=`for i in $$list; do \
@@ -952,36 +1036,41 @@
952 done | \1036 done | \
953 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \1037 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
954 END { if (nonempty) { for (i in files) print i; }; }'`; \1038 END { if (nonempty) { for (i in files) print i; }; }'`; \
955 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \1039 shift; \
1040 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
956 test -n "$$unique" || unique=$$empty_fix; \1041 test -n "$$unique" || unique=$$empty_fix; \
957 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \1042 if test $$# -gt 0; then \
958 $$tags $$unique; \1043 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1044 "$$@" $$unique; \
1045 else \
1046 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1047 $$unique; \
1048 fi; \
959 fi1049 fi
960ctags: CTAGS1050ctags: CTAGS
961CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \1051CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
962 $(TAGS_FILES) $(LISP)1052 $(TAGS_FILES) $(LISP)
963 tags=; \
964 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \1053 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
965 unique=`for i in $$list; do \1054 unique=`for i in $$list; do \
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; \
967 done | \1056 done | \
968 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \1057 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
969 END { if (nonempty) { for (i in files) print i; }; }'`; \1058 END { if (nonempty) { for (i in files) print i; }; }'`; \
970 test -z "$(CTAGS_ARGS)$$tags$$unique" \1059 test -z "$(CTAGS_ARGS)$$unique" \
971 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \1060 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
972 $$tags $$unique1061 $$unique
9731062
974GTAGS:1063GTAGS:
975 here=`$(am__cd) $(top_builddir) && pwd` \1064 here=`$(am__cd) $(top_builddir) && pwd` \
976 && cd $(top_srcdir) \1065 && $(am__cd) $(top_srcdir) \
977 && gtags -i $(GTAGS_ARGS) $$here1066 && gtags -i $(GTAGS_ARGS) "$$here"
9781067
979distclean-tags:1068distclean-tags:
980 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags1069 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
9811070
982distdir: $(DISTFILES)1071distdir: $(DISTFILES)
983 $(am__remove_distdir)1072 $(am__remove_distdir)
984 test -d $(distdir) || mkdir $(distdir)1073 test -d "$(distdir)" || mkdir "$(distdir)"
985 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \1074 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
986 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \1075 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
987 list='$(DISTFILES)'; \1076 list='$(DISTFILES)'; \
@@ -997,28 +1086,33 @@
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; \
998 if test -d $$d/$$file; then \1087 if test -d $$d/$$file; then \
999 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \1088 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1089 if test -d "$(distdir)/$$file"; then \
1090 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1091 fi; \
1000 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \1092 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1001 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \1093 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1094 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1002 fi; \1095 fi; \
1003 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \1096 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1004 else \1097 else \
1005 test -f $(distdir)/$$file \1098 test -f "$(distdir)/$$file" \
1006 || cp -p $$d/$$file $(distdir)/$$file \1099 || cp -p $$d/$$file "$(distdir)/$$file" \
1007 || exit 1; \1100 || exit 1; \
1008 fi; \1101 fi; \
1009 done1102 done
1010 $(MAKE) $(AM_MAKEFLAGS) \1103 $(MAKE) $(AM_MAKEFLAGS) \
1011 top_distdir="$(top_distdir)" distdir="$(distdir)" \1104 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1012 dist-hook1105 dist-hook
1013 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \1106 -test -n "$(am__skip_mode_fix)" \
1107 || find "$(distdir)" -type d ! -perm -755 \
1108 -exec chmod u+rwx,go+rx {} \; -o \
1014 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \1109 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1015 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \1110 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1016 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \1111 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1017 || chmod -R a+r $(distdir)1112 || chmod -R a+r "$(distdir)"
1018dist-gzip: distdir1113dist-gzip: distdir
1019 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz1114 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1020 $(am__remove_distdir)1115 $(am__remove_distdir)
1021
1022dist-bzip2: distdir1116dist-bzip2: distdir
1023 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz21117 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
1024 $(am__remove_distdir)1118 $(am__remove_distdir)
@@ -1027,6 +1121,10 @@
1027 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma1121 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
1028 $(am__remove_distdir)1122 $(am__remove_distdir)
10291123
1124dist-xz: distdir
1125 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
1126 $(am__remove_distdir)
1127
1030dist-tarZ: distdir1128dist-tarZ: distdir
1031 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z1129 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1032 $(am__remove_distdir)1130 $(am__remove_distdir)
@@ -1041,7 +1139,7 @@
1041 $(am__remove_distdir)1139 $(am__remove_distdir)
10421140
1043dist dist-all: distdir1141dist dist-all: distdir
1044 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz1142 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
1045 $(am__remove_distdir)1143 $(am__remove_distdir)
10461144
1047# This target untars the dist file and tries a VPATH configuration. Then1145# This target untars the dist file and tries a VPATH configuration. Then
@@ -1050,15 +1148,17 @@
1050distcheck: dist1148distcheck: dist
1051 case '$(DIST_ARCHIVES)' in \1149 case '$(DIST_ARCHIVES)' in \
1052 *.tar.gz*) \1150 *.tar.gz*) \
1053 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\1151 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1054 *.tar.bz2*) \1152 *.tar.bz2*) \
1055 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\1153 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1056 *.tar.lzma*) \1154 *.tar.lzma*) \
1057 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\1155 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
1156 *.tar.xz*) \
1157 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1058 *.tar.Z*) \1158 *.tar.Z*) \
1059 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\1159 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1060 *.shar.gz*) \1160 *.shar.gz*) \
1061 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\1161 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1062 *.zip*) \1162 *.zip*) \
1063 unzip $(distdir).zip ;;\1163 unzip $(distdir).zip ;;\
1064 esac1164 esac
@@ -1066,9 +1166,11 @@
1066 mkdir $(distdir)/_build1166 mkdir $(distdir)/_build
1067 mkdir $(distdir)/_inst1167 mkdir $(distdir)/_inst
1068 chmod a-w $(distdir)1168 chmod a-w $(distdir)
1169 test -d $(distdir)/_build || exit 0; \
1069 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \1170 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1070 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \1171 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1071 && cd $(distdir)/_build \1172 && am__cwd=`pwd` \
1173 && $(am__cd) $(distdir)/_build \
1072 && ../configure --srcdir=.. --prefix="$$dc_install_base" \1174 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
1073 $(DISTCHECK_CONFIGURE_FLAGS) \1175 $(DISTCHECK_CONFIGURE_FLAGS) \
1074 && $(MAKE) $(AM_MAKEFLAGS) \1176 && $(MAKE) $(AM_MAKEFLAGS) \
@@ -1090,13 +1192,15 @@
1090 && rm -rf "$$dc_destdir" \1192 && rm -rf "$$dc_destdir" \
1091 && $(MAKE) $(AM_MAKEFLAGS) dist \1193 && $(MAKE) $(AM_MAKEFLAGS) dist \
1092 && rm -rf $(DIST_ARCHIVES) \1194 && rm -rf $(DIST_ARCHIVES) \
1093 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck1195 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1196 && cd "$$am__cwd" \
1197 || exit 1
1094 $(am__remove_distdir)1198 $(am__remove_distdir)
1095 @(echo "$(distdir) archives ready for distribution: "; \1199 @(echo "$(distdir) archives ready for distribution: "; \
1096 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \1200 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
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'
1098distuninstallcheck:1202distuninstallcheck:
1099 @cd $(distuninstallcheck_dir) \1203 @$(am__cd) '$(distuninstallcheck_dir)' \
1100 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \1204 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
1101 || { echo "ERROR: files left after uninstall:" ; \1205 || { echo "ERROR: files left after uninstall:" ; \
1102 if test -n "$(DESTDIR)"; then \1206 if test -n "$(DESTDIR)"; then \
@@ -1141,6 +1245,7 @@
11411245
1142distclean-generic:1246distclean-generic:
1143 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)1247 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1248 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
11441249
1145maintainer-clean-generic:1250maintainer-clean-generic:
1146 @echo "This command is intended for maintainers to use"1251 @echo "This command is intended for maintainers to use"
@@ -1163,6 +1268,8 @@
11631268
1164html: html-am1269html: html-am
11651270
1271html-am:
1272
1166info: info-am1273info: info-am
11671274
1168info-am:1275info-am:
@@ -1175,18 +1282,28 @@
11751282
1176install-dvi: install-dvi-am1283install-dvi: install-dvi-am
11771284
1285install-dvi-am:
1286
1178install-exec-am: install-libLTLIBRARIES1287install-exec-am: install-libLTLIBRARIES
11791288
1180install-html: install-html-am1289install-html: install-html-am
11811290
1291install-html-am:
1292
1182install-info: install-info-am1293install-info: install-info-am
11831294
1295install-info-am:
1296
1184install-man:1297install-man:
11851298
1186install-pdf: install-pdf-am1299install-pdf: install-pdf-am
11871300
1301install-pdf-am:
1302
1188install-ps: install-ps-am1303install-ps: install-ps-am
11891304
1305install-ps-am:
1306
1190installcheck-am:1307installcheck-am:
11911308
1192maintainer-clean: maintainer-clean-am1309maintainer-clean: maintainer-clean-am
@@ -1215,21 +1332,21 @@
1215 uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \1332 uninstall-testsuiteSCRIPTS uninstall-testsuitecimDATA \
1216 uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS1333 uninstall-testsuitesystemDATA uninstall-testsuitesystemSCRIPTS
12171334
1218.MAKE: install-am install-strip1335.MAKE: all install-am install-strip
12191336
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 \
1221 clean-generic clean-libLTLIBRARIES clean-libtool \1338 clean-generic clean-libLTLIBRARIES clean-libtool \
1222 clean-noinstPROGRAMS clean-providerLTLIBRARIES ctags dist \1339 clean-noinstPROGRAMS clean-providerLTLIBRARIES ctags dist \
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 \
1224 dist-tarZ dist-zip distcheck distclean distclean-compile \1341 dist-tarZ dist-xz dist-zip distcheck distclean \
1225 distclean-generic distclean-hdr distclean-libtool \1342 distclean-compile distclean-generic distclean-hdr \
1226 distclean-tags distcleancheck distdir distuninstallcheck dvi \1343 distclean-libtool distclean-tags distcleancheck distdir \
1227 dvi-am html html-am info info-am install install-am \1344 distuninstallcheck dvi dvi-am html html-am info info-am \
1228 install-data install-data-am install-docDATA install-dvi \1345 install install-am install-data install-data-am \
1229 install-dvi-am install-exec install-exec-am install-html \1346 install-docDATA install-dvi install-dvi-am install-exec \
1230 install-html-am install-info install-info-am \1347 install-exec-am install-html install-html-am install-info \
1231 install-libLTLIBRARIES install-man install-pdf install-pdf-am \1348 install-info-am install-libLTLIBRARIES install-man install-pdf \
1232 install-pkgdataDATA install-pkgdataSCRIPTS \1349 install-pdf-am install-pkgdataDATA install-pkgdataSCRIPTS \
1233 install-providerLTLIBRARIES install-ps install-ps-am \1350 install-providerLTLIBRARIES install-ps install-ps-am \
1234 install-sblimincHEADERS install-strip install-testsuiteSCRIPTS \1351 install-sblimincHEADERS install-strip install-testsuiteSCRIPTS \
1235 install-testsuitecimDATA install-testsuitesystemDATA \1352 install-testsuitecimDATA install-testsuitesystemDATA \
@@ -1256,6 +1373,7 @@
12561373
1257@TESTSUITE_TRUE@runtest: install1374@TESTSUITE_TRUE@runtest: install
1258@TESTSUITE_TRUE@ cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh1375@TESTSUITE_TRUE@ cd $(DESTDIR)$(TESTSUITEDIR) && ./test-cmpi-base.sh
1376
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.
1260# Otherwise a system limit (for SysV at least) may be exceeded.1378# Otherwise a system limit (for SysV at least) may be exceeded.
1261.NOEXPORT:1379.NOEXPORT:
12621380
=== modified file 'NEWS'
--- NEWS 2009-07-29 14:43:34 +0000
+++ NEWS 2013-01-12 05:25:23 +0000
@@ -1,3 +1,21 @@
1Changes in Version 1.6.2
2========================
3
4Bugs Fixed:
5- 3275169 bash error reported in provider bootstrap scripts
6- 3306580 wrong OperatingSystem.Version prop value on RHEL6
7- 3424288 Underlinked libcmpiOSBase_ProcessorProvider.so
8- 3582069 Linux_UnixProcess command injection vulnerability
9
10Changes in Version 1.6.1
11========================
12
13Bugs Fixed:
14- 2843613 Missing fclose in sblim-cmpi-base
15- 2882514 leak in sblim-cmpi-base-1.5.9/cmpiOSBase_OperatingSystem.c
16- 2836926 _osbase_common_init unreliable
17- 2610775 ProcessorProvider crashes on exit
18
1Changes in Version 1.6.019Changes in Version 1.6.0
2========================20========================
321
422
=== modified file 'OSBase_Common.c'
--- OSBase_Common.c 2009-07-29 14:43:34 +0000
+++ OSBase_Common.c 2013-01-12 05:25:23 +0000
@@ -42,6 +42,7 @@
4242
43/* ---------------------------------------------------------------------------*/43/* ---------------------------------------------------------------------------*/
4444
45#define DEFAULT_HOST_NAME "localhost.localdomain"
45char * CIM_HOST_NAME = NULL;46char * CIM_HOST_NAME = NULL;
46char * CIM_OS_NAME = NULL;47char * CIM_OS_NAME = NULL;
47int CIM_OS_TIMEZONE = 999;48int CIM_OS_TIMEZONE = 999;
@@ -155,7 +156,9 @@
155 _OSBASE_TRACE(4,("--- _init_system_name() called : init"));156 _OSBASE_TRACE(4,("--- _init_system_name() called : init"));
156157
157 host = calloc(1,255);158 host = calloc(1,255);
158 if ( gethostname(host, 255 ) == -1 ) { return; }159 if ( gethostname(host, 255 ) == -1 ) {
160 _OSBASE_TRACE(4,("--- _init_system_name() : gethostname returned -1"));
161 }
159 /* if host does not contain a '.' we can suppose, that the domain is not162 /* if host does not contain a '.' we can suppose, that the domain is not
160 * available in the current value. but we try to get the full qualified163 * available in the current value. but we try to get the full qualified
161 * hostname.164 * hostname.
@@ -185,6 +188,9 @@
185 strcat( CIM_HOST_NAME, ".");188 strcat( CIM_HOST_NAME, ".");
186 strcat( CIM_HOST_NAME, domain );189 strcat( CIM_HOST_NAME, domain );
187 }190 }
191 } else {
192 CIM_HOST_NAME = calloc(1, (strlen(DEFAULT_HOST_NAME) + 1));
193 strcpy(CIM_HOST_NAME, DEFAULT_HOST_NAME);
188 }194 }
189195
190 if(host) free(host);196 if(host) free(host);
191197
=== modified file 'OSBase_OperatingSystem.c'
--- OSBase_OperatingSystem.c 2009-07-29 14:43:34 +0000
+++ OSBase_OperatingSystem.c 2013-01-12 05:25:23 +0000
@@ -143,7 +143,7 @@
143 143
144 _OSBASE_TRACE(4,("--- _init_os_distro() called : init"));144 _OSBASE_TRACE(4,("--- _init_os_distro() called : init"));
145145
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 );
147 if( rc == 0 && *hdout != NULL) {147 if( rc == 0 && *hdout != NULL) {
148 while (hdout[j] && hdout[j][0]) {148 while (hdout[j] && hdout[j][0]) {
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]) {
150150
=== modified file 'OSBase_OperatingSystemStatisticalData.c'
--- OSBase_OperatingSystemStatisticalData.c 2009-07-29 14:43:34 +0000
+++ OSBase_OperatingSystemStatisticalData.c 2013-01-12 05:25:23 +0000
@@ -155,6 +155,7 @@
155 if ((f = fopen(DATA_FILE,"r")) != NULL) {155 if ((f = fopen(DATA_FILE,"r")) != NULL) {
156 read_count = fread(buf,sizeof(char),sizeof(buf)-1,f);156 read_count = fread(buf,sizeof(char),sizeof(buf)-1,f);
157 buf[read_count] = '\0';157 buf[read_count] = '\0';
158 fclose(f);
158159
159 /* read cpu data160 /* read cpu data
160 *161 *
161162
=== modified file 'OSBase_Processor.c'
--- OSBase_Processor.c 2009-07-29 14:43:34 +0000
+++ OSBase_Processor.c 2013-01-12 05:25:23 +0000
@@ -56,6 +56,7 @@
56#define SAMPLE_PERIOD 6056#define SAMPLE_PERIOD 60
57#define SAMPLE_INTERVAL 1057#define SAMPLE_INTERVAL 10
58static int SAMPLE_CPU = 1;58static int SAMPLE_CPU = 1;
59static int running = 1;
5960
60static pthread_t tid;61static pthread_t tid;
6162
@@ -123,12 +124,6 @@
123 struct cpu_sample * cur_ptr;124 struct cpu_sample * cur_ptr;
124 int i;125 int i;
125 126
126 /* SAMPLE_CPU = 0; */
127 /* pthread_join(tid, NULL); */
128
129 pthread_cancel(tid);
130 /* sleep(1); */
131
132 for (i = 0; i < num_cpus; i++) {127 for (i = 0; i < num_cpus; i++) {
133 cur_ptr = cpu_samples[i]->next;128 cur_ptr = cpu_samples[i]->next;
134 cpu_samples[i]->next = NULL;129 cpu_samples[i]->next = NULL;
@@ -143,6 +138,13 @@
143 /* free(cpu_loads); */138 /* free(cpu_loads); */
144}139}
145140
141int proc_cancel_thread() {
142 running = 0;
143 pthread_join(tid, NULL);
144
145 return 1;
146}
147
146int enum_all_processor( struct processorlist ** lptr ) {148int enum_all_processor( struct processorlist ** lptr ) {
147 struct processorlist * lptrhelp = NULL;149 struct processorlist * lptrhelp = NULL;
148 char ** hdout = NULL;150 char ** hdout = NULL;
@@ -555,7 +557,7 @@
555 int count = 0;557 int count = 0;
556 int i;558 int i;
557 559
558 while (1) {560 while (running) {
559 sleep(SAMPLE_INTERVAL);561 sleep(SAMPLE_INTERVAL);
560 562
561 for (i = 0; i < num_cpus; i++) {563 for (i = 0; i < num_cpus; i++) {
562564
=== modified file 'OSBase_Processor.h'
--- OSBase_Processor.h 2009-07-29 14:43:34 +0000
+++ OSBase_Processor.h 2013-01-12 05:25:23 +0000
@@ -58,6 +58,8 @@
58void free_processorlist( struct processorlist * );58void free_processorlist( struct processorlist * );
59void free_processor( struct cim_processor * );59void free_processor( struct cim_processor * );
6060
61int proc_cancel_thread();
62
61/* ---------------------------------------------------------------------------*/63/* ---------------------------------------------------------------------------*/
6264
63#ifdef __cplusplus65#ifdef __cplusplus
6466
=== modified file 'OSBase_UnixProcess.c'
--- OSBase_UnixProcess.c 2009-07-29 14:43:34 +0000
+++ OSBase_UnixProcess.c 2013-01-12 05:25:23 +0000
@@ -86,21 +86,28 @@
86 char * cmd = NULL;86 char * cmd = NULL;
87 char * str = NULL;87 char * str = NULL;
88 char * ptr = NULL;88 char * ptr = NULL;
89 DIR * dpid = NULL;89 char buf[256];
90 int len = 0;
90 int i = 0;91 int i = 0;
91 int rc = 0;92 int rc = 0;
9293
93 _OSBASE_TRACE(3,("--- get_process_data() called"));94 _OSBASE_TRACE(3,("--- get_process_data() called"));
9495
95 cmd = (char*)malloc((strlen(pid)+100));96 sscanf(pid, "%[0-9] %n", buf, &len);
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)) {
97 rc = runcommand( cmd , NULL, &hdout, NULL );98 _OSBASE_TRACE(3,("--- get_process_data() failed : PID %s not valid", pid));
99 return -1;
100 }
101
102 cmd = (char*)malloc(len + 100);
103 sprintf(cmd, "ps -p %s --no-headers -o pid,ppid,tty,pri,nice,uid,gid,pmem,pcpu,cputime,session,state,args",buf);
104 rc = runcommand( cmd , NULL, &hdout, NULL );
98 if (rc == 0) {105 if (rc == 0) {
99 while( hdout[i] ) {106 while( hdout[i] ) {
100 if((ptr=strchr(hdout[i], '\n'))) { *ptr = '\0'; }107 if((ptr=strchr(hdout[i], '\n'))) { *ptr = '\0'; }
101 str = hdout[i];108 str = hdout[i];
102 while( *str == ' ' ) { str = str+1; }109 while( *str == ' ' ) { str = str+1; }
103 if( strncmp( str,pid,strlen(pid)) == 0 ) {110 if( strncmp( str,buf,len) == 0 ) {
104 rc = _process_data( hdout[i], sptr );111 rc = _process_data( hdout[i], sptr );
105 break;112 break;
106 }113 }
@@ -108,7 +115,6 @@
108 }115 }
109 free ( cmd );116 free ( cmd );
110 freeresultbuf( hdout );117 freeresultbuf( hdout );
111 closedir(dpid);
112 }118 }
113 else { 119 else {
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));
115121
=== modified file 'aclocal.m4'
--- aclocal.m4 2009-01-26 14:11:21 +0000
+++ aclocal.m4 2013-01-12 05:25:23 +0000
@@ -1,7 +1,7 @@
1# generated automatically by aclocal 1.10.1 -*- Autoconf -*-1# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.4# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.7# with or without modifications, as long as this notice is preserved.
@@ -13,108 +13,194 @@
1313
14m4_ifndef([AC_AUTOCONF_VERSION],14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(AC_AUTOCONF_VERSION, [2.61],,16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17[m4_warning([this file was generated for autoconf 2.61.17[m4_warning([this file was generated for autoconf 2.68.
18You have another version of autoconf. It may work, but is not guaranteed to.18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely.19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])])20To do so, use the procedure documented by the package, typically `autoreconf'.])])
2121
22# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-22# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2323#
24# serial 52 AC_PROG_LIBTOOL24# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2525# 2006, 2007, 2008 Free Software Foundation, Inc.
2626# Written by Gordon Matzigkeit, 1996
27# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)27#
28# -----------------------------------------------------------28# This file is free software; the Free Software Foundation gives
29# If this macro is not defined by Autoconf, define it here.29# unlimited permission to copy and/or distribute it, with or without
30m4_ifdef([AC_PROVIDE_IFELSE],30# modifications, as long as this notice is preserved.
31 [],31
32 [m4_define([AC_PROVIDE_IFELSE],32m4_define([_LT_COPYING], [dnl
33 [m4_ifdef([AC_PROVIDE_$1],33# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34 [$2], [$3])])])34# 2006, 2007, 2008 Free Software Foundation, Inc.
3535# Written by Gordon Matzigkeit, 1996
3636#
37# AC_PROG_LIBTOOL37# This file is part of GNU Libtool.
38# ---------------38#
39AC_DEFUN([AC_PROG_LIBTOOL],39# GNU Libtool is free software; you can redistribute it and/or
40[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl40# modify it under the terms of the GNU General Public License as
41dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX41# published by the Free Software Foundation; either version 2 of
42dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.42# the License, or (at your option) any later version.
43 AC_PROVIDE_IFELSE([AC_PROG_CXX],43#
44 [AC_LIBTOOL_CXX],44# As a special exception to the GNU General Public License,
45 [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX45# if you distribute this file as part of a program or library that
46 ])])46# is built using GNU Libtool, you may include this file under the
47dnl And a similar setup for Fortran 77 support47# same distribution terms that you use for the rest of that program.
48 AC_PROVIDE_IFELSE([AC_PROG_F77],48#
49 [AC_LIBTOOL_F77],49# GNU Libtool is distributed in the hope that it will be useful,
50 [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F7750# but WITHOUT ANY WARRANTY; without even the implied warranty of
51])])51# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5252# GNU General Public License for more details.
53dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.53#
54dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run54# You should have received a copy of the GNU General Public License
55dnl 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
56 AC_PROVIDE_IFELSE([AC_PROG_GCJ],56# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
57 [AC_LIBTOOL_GCJ],57# obtained by writing to the Free Software Foundation, Inc.,
58 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],58# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
59 [AC_LIBTOOL_GCJ],59])
60 [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],60
61 [AC_LIBTOOL_GCJ],61# serial 56 LT_INIT
62 [ifdef([AC_PROG_GCJ],62
63 [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])63
64 ifdef([A][M_PROG_GCJ],64# LT_PREREQ(VERSION)
65 [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])65# ------------------
66 ifdef([LT_AC_PROG_GCJ],66# Complain and exit if this libtool version is less that VERSION.
67 [define([LT_AC_PROG_GCJ],67m4_defun([LT_PREREQ],
68 defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])68[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
69])])# AC_PROG_LIBTOOL69 [m4_default([$3],
7070 [m4_fatal([Libtool version $1 or higher is required],
7171 63)])],
72# _AC_PROG_LIBTOOL72 [$2])])
73# ----------------73
74AC_DEFUN([_AC_PROG_LIBTOOL],74
75[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl75# _LT_CHECK_BUILDDIR
76AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl76# ------------------
77AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl77# Complain if the absolute build directory name contains unusual characters
78AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl78m4_defun([_LT_CHECK_BUILDDIR],
79[case `pwd` in
80 *\ * | *\ *)
81 AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
82esac
83])
84
85
86# LT_INIT([OPTIONS])
87# ------------------
88AC_DEFUN([LT_INIT],
89[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
90AC_BEFORE([$0], [LT_LANG])dnl
91AC_BEFORE([$0], [LT_OUTPUT])dnl
92AC_BEFORE([$0], [LTDL_INIT])dnl
93m4_require([_LT_CHECK_BUILDDIR])dnl
94
95dnl Autoconf doesn't catch unexpanded LT_ macros by default:
96m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
97m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
98dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
99dnl unless we require an AC_DEFUNed macro:
100AC_REQUIRE([LTOPTIONS_VERSION])dnl
101AC_REQUIRE([LTSUGAR_VERSION])dnl
102AC_REQUIRE([LTVERSION_VERSION])dnl
103AC_REQUIRE([LTOBSOLETE_VERSION])dnl
104m4_require([_LT_PROG_LTMAIN])dnl
105
106dnl Parse OPTIONS
107_LT_SET_OPTIONS([$0], [$1])
79108
80# This can be used to rebuild libtool when needed109# This can be used to rebuild libtool when needed
81LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"110LIBTOOL_DEPS="$ltmain"
82111
83# Always use our own libtool.112# Always use our own libtool.
84LIBTOOL='$(SHELL) $(top_builddir)/libtool'113LIBTOOL='$(SHELL) $(top_builddir)/libtool'
85AC_SUBST(LIBTOOL)dnl114AC_SUBST(LIBTOOL)dnl
86115
87# Prevent multiple expansion116_LT_SETUP
88define([AC_PROG_LIBTOOL], [])117
89])# _AC_PROG_LIBTOOL118# Only expand once:
90119m4_define([LT_INIT])
91120])# LT_INIT
92# AC_LIBTOOL_SETUP121
93# ----------------122# Old names:
94AC_DEFUN([AC_LIBTOOL_SETUP],123AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
95[AC_PREREQ(2.50)dnl124AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
96AC_REQUIRE([AC_ENABLE_SHARED])dnl125dnl aclocal-1.4 backwards compatibility:
97AC_REQUIRE([AC_ENABLE_STATIC])dnl126dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
98AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl127dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
99AC_REQUIRE([AC_CANONICAL_HOST])dnl128
129
130# _LT_CC_BASENAME(CC)
131# -------------------
132# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
133m4_defun([_LT_CC_BASENAME],
134[for cc_temp in $1""; do
135 case $cc_temp in
136 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
137 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
138 \-*) ;;
139 *) break;;
140 esac
141done
142cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
143])
144
145
146# _LT_FILEUTILS_DEFAULTS
147# ----------------------
148# It is okay to use these file commands and assume they have been set
149# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
150m4_defun([_LT_FILEUTILS_DEFAULTS],
151[: ${CP="cp -f"}
152: ${MV="mv -f"}
153: ${RM="rm -f"}
154])# _LT_FILEUTILS_DEFAULTS
155
156
157# _LT_SETUP
158# ---------
159m4_defun([_LT_SETUP],
160[AC_REQUIRE([AC_CANONICAL_HOST])dnl
100AC_REQUIRE([AC_CANONICAL_BUILD])dnl161AC_REQUIRE([AC_CANONICAL_BUILD])dnl
162_LT_DECL([], [host_alias], [0], [The host system])dnl
163_LT_DECL([], [host], [0])dnl
164_LT_DECL([], [host_os], [0])dnl
165dnl
166_LT_DECL([], [build_alias], [0], [The build system])dnl
167_LT_DECL([], [build], [0])dnl
168_LT_DECL([], [build_os], [0])dnl
169dnl
101AC_REQUIRE([AC_PROG_CC])dnl170AC_REQUIRE([AC_PROG_CC])dnl
102AC_REQUIRE([AC_PROG_LD])dnl171AC_REQUIRE([LT_PATH_LD])dnl
103AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl172AC_REQUIRE([LT_PATH_NM])dnl
104AC_REQUIRE([AC_PROG_NM])dnl173dnl
105
106AC_REQUIRE([AC_PROG_LN_S])dnl174AC_REQUIRE([AC_PROG_LN_S])dnl
107AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl175test -z "$LN_S" && LN_S="ln -s"
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
109AC_REQUIRE([AC_OBJEXT])dnl177dnl
110AC_REQUIRE([AC_EXEEXT])dnl178AC_REQUIRE([LT_CMD_MAX_LEN])dnl
111dnl179_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
112AC_LIBTOOL_SYS_MAX_CMD_LEN180_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
113AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE181dnl
114AC_LIBTOOL_OBJDIR182m4_require([_LT_FILEUTILS_DEFAULTS])dnl
115183m4_require([_LT_CHECK_SHELL_FEATURES])dnl
116AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl184m4_require([_LT_CMD_RELOAD])dnl
117_LT_AC_PROG_ECHO_BACKSLASH185m4_require([_LT_CHECK_MAGIC_METHOD])dnl
186m4_require([_LT_CMD_OLD_ARCHIVE])dnl
187m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
188
189_LT_CONFIG_LIBTOOL_INIT([
190# See if we are running on zsh, and set the options which allow our
191# commands through without removal of \ escapes INIT.
192if test -n "\${ZSH_VERSION+set}" ; then
193 setopt NO_GLOB_SUBST
194fi
195])
196if test -n "${ZSH_VERSION+set}" ; then
197 setopt NO_GLOB_SUBST
198fi
199
200_LT_CHECK_OBJDIR
201
202m4_require([_LT_TAG_COMPILER])dnl
203_LT_PROG_ECHO_BACKSLASH
118204
119case $host_os in205case $host_os in
120aix3*)206aix3*)
@@ -130,116 +216,652 @@
130216
131# Sed substitution that helps us do robust quoting. It backslashifies217# Sed substitution that helps us do robust quoting. It backslashifies
132# metacharacters that are still active within double-quoted strings.218# metacharacters that are still active within double-quoted strings.
133Xsed='sed -e 1s/^X//'219sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
134[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
135220
136# Same as above, but do not quote variable references.221# Same as above, but do not quote variable references.
137[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']222double_quote_subst='s/\([["`\\]]\)/\\\1/g'
138223
139# Sed substitution to delay expansion of an escaped shell variable in a224# Sed substitution to delay expansion of an escaped shell variable in a
140# double_quote_subst'ed string.225# double_quote_subst'ed string.
141delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'226delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
142227
228# Sed substitution to delay expansion of an escaped single quote.
229delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
230
143# Sed substitution to avoid accidental globbing in evaled expressions231# Sed substitution to avoid accidental globbing in evaled expressions
144no_glob_subst='s/\*/\\\*/g'232no_glob_subst='s/\*/\\\*/g'
145233
146# Constants:
147rm="rm -f"
148
149# Global variables:234# Global variables:
150default_ofile=libtool235ofile=libtool
151can_build_shared=yes236can_build_shared=yes
152237
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,
154# which needs '.lib').239# which needs '.lib').
155libext=a240libext=a
156ltmain="$ac_aux_dir/ltmain.sh"241
157ofile="$default_ofile"
158with_gnu_ld="$lt_cv_prog_gnu_ld"242with_gnu_ld="$lt_cv_prog_gnu_ld"
159243
160AC_CHECK_TOOL(AR, ar, false)
161AC_CHECK_TOOL(RANLIB, ranlib, :)
162AC_CHECK_TOOL(STRIP, strip, :)
163
164old_CC="$CC"244old_CC="$CC"
165old_CFLAGS="$CFLAGS"245old_CFLAGS="$CFLAGS"
166246
167# Set sane defaults for various variables247# Set sane defaults for various variables
168test -z "$AR" && AR=ar
169test -z "$AR_FLAGS" && AR_FLAGS=cru
170test -z "$AS" && AS=as
171test -z "$CC" && CC=cc248test -z "$CC" && CC=cc
172test -z "$LTCC" && LTCC=$CC249test -z "$LTCC" && LTCC=$CC
173test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS250test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
174test -z "$DLLTOOL" && DLLTOOL=dlltool
175test -z "$LD" && LD=ld251test -z "$LD" && LD=ld
176test -z "$LN_S" && LN_S="ln -s"
177test -z "$MAGIC_CMD" && MAGIC_CMD=file
178test -z "$NM" && NM=nm
179test -z "$SED" && SED=sed
180test -z "$OBJDUMP" && OBJDUMP=objdump
181test -z "$RANLIB" && RANLIB=:
182test -z "$STRIP" && STRIP=:
183test -z "$ac_objext" && ac_objext=o252test -z "$ac_objext" && ac_objext=o
184253
185# Determine commands to create old-style static archives.
186old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
187old_postinstall_cmds='chmod 644 $oldlib'
188old_postuninstall_cmds=
189
190if test -n "$RANLIB"; then
191 case $host_os in
192 openbsd*)
193 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
194 ;;
195 *)
196 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
197 ;;
198 esac
199 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
200fi
201
202_LT_CC_BASENAME([$compiler])254_LT_CC_BASENAME([$compiler])
203255
204# Only perform the check for file, if the check method requires it256# Only perform the check for file, if the check method requires it
257test -z "$MAGIC_CMD" && MAGIC_CMD=file
205case $deplibs_check_method in258case $deplibs_check_method in
206file_magic*)259file_magic*)
207 if test "$file_magic_cmd" = '$MAGIC_CMD'; then260 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
208 AC_PATH_MAGIC261 _LT_PATH_MAGIC
209 fi262 fi
210 ;;263 ;;
211esac264esac
212265
213_LT_REQUIRED_DARWIN_CHECKS
214
215AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
216AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
217enable_win32_dll=yes, enable_win32_dll=no)
218
219AC_ARG_ENABLE([libtool-lock],
220 [AC_HELP_STRING([--disable-libtool-lock],
221 [avoid locking (might break parallel builds)])])
222test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
223
224AC_ARG_WITH([pic],
225 [AC_HELP_STRING([--with-pic],
226 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
227 [pic_mode="$withval"],
228 [pic_mode=default])
229test -z "$pic_mode" && pic_mode=default
230
231# Use C for the default configuration in the libtool script266# Use C for the default configuration in the libtool script
232tagname=267LT_SUPPORTED_TAG([CC])
233AC_LIBTOOL_LANG_C_CONFIG268_LT_LANG_C_CONFIG
234_LT_AC_TAGCONFIG269_LT_LANG_DEFAULT_CONFIG
235])# AC_LIBTOOL_SETUP270_LT_CONFIG_COMMANDS
236271])# _LT_SETUP
237272
238# _LT_AC_SYS_COMPILER273
274# _LT_PROG_LTMAIN
275# ---------------
276# Note that this code is called both from `configure', and `config.status'
277# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
278# `config.status' has no value for ac_aux_dir unless we are using Automake,
279# so we pass a copy along to make sure it has a sensible value anyway.
280m4_defun([_LT_PROG_LTMAIN],
281[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
282_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
283ltmain="$ac_aux_dir/ltmain.sh"
284])# _LT_PROG_LTMAIN
285
286
287
288# So that we can recreate a full libtool script including additional
289# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
290# in macros and then make a single call at the end using the `libtool'
291# label.
292
293
294# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
295# ----------------------------------------
296# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
297m4_define([_LT_CONFIG_LIBTOOL_INIT],
298[m4_ifval([$1],
299 [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
300 [$1
301])])])
302
303# Initialize.
304m4_define([_LT_OUTPUT_LIBTOOL_INIT])
305
306
307# _LT_CONFIG_LIBTOOL([COMMANDS])
308# ------------------------------
309# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
310m4_define([_LT_CONFIG_LIBTOOL],
311[m4_ifval([$1],
312 [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
313 [$1
314])])])
315
316# Initialize.
317m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
318
319
320# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
321# -----------------------------------------------------
322m4_defun([_LT_CONFIG_SAVE_COMMANDS],
323[_LT_CONFIG_LIBTOOL([$1])
324_LT_CONFIG_LIBTOOL_INIT([$2])
325])
326
327
328# _LT_FORMAT_COMMENT([COMMENT])
329# -----------------------------
330# Add leading comment marks to the start of each line, and a trailing
331# full-stop to the whole comment if one is not present already.
332m4_define([_LT_FORMAT_COMMENT],
333[m4_ifval([$1], [
334m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
335 [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
336)])
337
338
339
340
341
342# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
343# -------------------------------------------------------------------
344# CONFIGNAME is the name given to the value in the libtool script.
345# VARNAME is the (base) name used in the configure script.
346# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
347# VARNAME. Any other value will be used directly.
348m4_define([_LT_DECL],
349[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
350 [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
351 [m4_ifval([$1], [$1], [$2])])
352 lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
353 m4_ifval([$4],
354 [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
355 lt_dict_add_subkey([lt_decl_dict], [$2],
356 [tagged?], [m4_ifval([$5], [yes], [no])])])
357])
358
359
360# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
361# --------------------------------------------------------
362m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
363
364
365# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
366# ------------------------------------------------
367m4_define([lt_decl_tag_varnames],
368[_lt_decl_filter([tagged?], [yes], $@)])
369
370
371# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
372# ---------------------------------------------------------
373m4_define([_lt_decl_filter],
374[m4_case([$#],
375 [0], [m4_fatal([$0: too few arguments: $#])],
376 [1], [m4_fatal([$0: too few arguments: $#: $1])],
377 [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
378 [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
379 [lt_dict_filter([lt_decl_dict], $@)])[]dnl
380])
381
382
383# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
384# --------------------------------------------------
385m4_define([lt_decl_quote_varnames],
386[_lt_decl_filter([value], [1], $@)])
387
388
389# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
390# ---------------------------------------------------
391m4_define([lt_decl_dquote_varnames],
392[_lt_decl_filter([value], [2], $@)])
393
394
395# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
396# ---------------------------------------------------
397m4_define([lt_decl_varnames_tagged],
398[m4_assert([$# <= 2])dnl
399_$0(m4_quote(m4_default([$1], [[, ]])),
400 m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
401 m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
402m4_define([_lt_decl_varnames_tagged],
403[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
404
405
406# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
407# ------------------------------------------------
408m4_define([lt_decl_all_varnames],
409[_$0(m4_quote(m4_default([$1], [[, ]])),
410 m4_if([$2], [],
411 m4_quote(lt_decl_varnames),
412 m4_quote(m4_shift($@))))[]dnl
413])
414m4_define([_lt_decl_all_varnames],
415[lt_join($@, lt_decl_varnames_tagged([$1],
416 lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
417])
418
419
420# _LT_CONFIG_STATUS_DECLARE([VARNAME])
421# ------------------------------------
422# Quote a variable value, and forward it to `config.status' so that its
423# declaration there will have the same value as in `configure'. VARNAME
424# must have a single quote delimited value for this to work.
425m4_define([_LT_CONFIG_STATUS_DECLARE],
426[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
427
428
429# _LT_CONFIG_STATUS_DECLARATIONS
430# ------------------------------
431# We delimit libtool config variables with single quotes, so when
432# we write them to config.status, we have to be sure to quote all
433# embedded single quotes properly. In configure, this macro expands
434# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
435#
436# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
437m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
438[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
439 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
440
441
442# _LT_LIBTOOL_TAGS
443# ----------------
444# Output comment and list of tags supported by the script
445m4_defun([_LT_LIBTOOL_TAGS],
446[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
447available_tags="_LT_TAGS"dnl
448])
449
450
451# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
452# -----------------------------------
453# Extract the dictionary values for VARNAME (optionally with TAG) and
454# expand to a commented shell variable setting:
455#
456# # Some comment about what VAR is for.
457# visible_name=$lt_internal_name
458m4_define([_LT_LIBTOOL_DECLARE],
459[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
460 [description])))[]dnl
461m4_pushdef([_libtool_name],
462 m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
463m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
464 [0], [_libtool_name=[$]$1],
465 [1], [_libtool_name=$lt_[]$1],
466 [2], [_libtool_name=$lt_[]$1],
467 [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
468m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
469])
470
471
472# _LT_LIBTOOL_CONFIG_VARS
473# -----------------------
474# Produce commented declarations of non-tagged libtool config variables
475# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
476# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
477# section) are produced by _LT_LIBTOOL_TAG_VARS.
478m4_defun([_LT_LIBTOOL_CONFIG_VARS],
479[m4_foreach([_lt_var],
480 m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
481 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
482
483
484# _LT_LIBTOOL_TAG_VARS(TAG)
485# -------------------------
486m4_define([_LT_LIBTOOL_TAG_VARS],
487[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
488 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
489
490
491# _LT_TAGVAR(VARNAME, [TAGNAME])
492# ------------------------------
493m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
494
495
496# _LT_CONFIG_COMMANDS
239# -------------------497# -------------------
240AC_DEFUN([_LT_AC_SYS_COMPILER],498# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
499# variables for single and double quote escaping we saved from calls
500# to _LT_DECL, we can put quote escaped variables declarations
501# into `config.status', and then the shell code to quote escape them in
502# for loops in `config.status'. Finally, any additional code accumulated
503# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
504m4_defun([_LT_CONFIG_COMMANDS],
505[AC_PROVIDE_IFELSE([LT_OUTPUT],
506 dnl If the libtool generation code has been placed in $CONFIG_LT,
507 dnl instead of duplicating it all over again into config.status,
508 dnl then we will have config.status run $CONFIG_LT later, so it
509 dnl needs to know what name is stored there:
510 [AC_CONFIG_COMMANDS([libtool],
511 [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
512 dnl If the libtool generation code is destined for config.status,
513 dnl expand the accumulated commands and init code now:
514 [AC_CONFIG_COMMANDS([libtool],
515 [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
516])#_LT_CONFIG_COMMANDS
517
518
519# Initialize.
520m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
521[
522
523# The HP-UX ksh and POSIX shell print the target directory to stdout
524# if CDPATH is set.
525(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
526
527sed_quote_subst='$sed_quote_subst'
528double_quote_subst='$double_quote_subst'
529delay_variable_subst='$delay_variable_subst'
530_LT_CONFIG_STATUS_DECLARATIONS
531LTCC='$LTCC'
532LTCFLAGS='$LTCFLAGS'
533compiler='$compiler_DEFAULT'
534
535# Quote evaled strings.
536for var in lt_decl_all_varnames([[ \
537]], lt_decl_quote_varnames); do
538 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
539 *[[\\\\\\\`\\"\\\$]]*)
540 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
541 ;;
542 *)
543 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
544 ;;
545 esac
546done
547
548# Double-quote double-evaled strings.
549for var in lt_decl_all_varnames([[ \
550]], lt_decl_dquote_varnames); do
551 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
552 *[[\\\\\\\`\\"\\\$]]*)
553 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
554 ;;
555 *)
556 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
557 ;;
558 esac
559done
560
561# Fix-up fallback echo if it was mangled by the above quoting rules.
562case \$lt_ECHO in
563*'\\\[$]0 --fallback-echo"')dnl "
564 lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
565 ;;
566esac
567
568_LT_OUTPUT_LIBTOOL_INIT
569])
570
571
572# LT_OUTPUT
573# ---------
574# This macro allows early generation of the libtool script (before
575# AC_OUTPUT is called), incase it is used in configure for compilation
576# tests.
577AC_DEFUN([LT_OUTPUT],
578[: ${CONFIG_LT=./config.lt}
579AC_MSG_NOTICE([creating $CONFIG_LT])
580cat >"$CONFIG_LT" <<_LTEOF
581#! $SHELL
582# Generated by $as_me.
583# Run this file to recreate a libtool stub with the current configuration.
584
585lt_cl_silent=false
586SHELL=\${CONFIG_SHELL-$SHELL}
587_LTEOF
588
589cat >>"$CONFIG_LT" <<\_LTEOF
590AS_SHELL_SANITIZE
591_AS_PREPARE
592
593exec AS_MESSAGE_FD>&1
594exec AS_MESSAGE_LOG_FD>>config.log
595{
596 echo
597 AS_BOX([Running $as_me.])
598} >&AS_MESSAGE_LOG_FD
599
600lt_cl_help="\
601\`$as_me' creates a local libtool stub from the current configuration,
602for use in further configure time tests before the real libtool is
603generated.
604
605Usage: $[0] [[OPTIONS]]
606
607 -h, --help print this help, then exit
608 -V, --version print version number, then exit
609 -q, --quiet do not print progress messages
610 -d, --debug don't remove temporary files
611
612Report bugs to <bug-libtool@gnu.org>."
613
614lt_cl_version="\
615m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
616m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
617configured by $[0], generated by m4_PACKAGE_STRING.
618
619Copyright (C) 2008 Free Software Foundation, Inc.
620This config.lt script is free software; the Free Software Foundation
621gives unlimited permision to copy, distribute and modify it."
622
623while test $[#] != 0
624do
625 case $[1] in
626 --version | --v* | -V )
627 echo "$lt_cl_version"; exit 0 ;;
628 --help | --h* | -h )
629 echo "$lt_cl_help"; exit 0 ;;
630 --debug | --d* | -d )
631 debug=: ;;
632 --quiet | --q* | --silent | --s* | -q )
633 lt_cl_silent=: ;;
634
635 -*) AC_MSG_ERROR([unrecognized option: $[1]
636Try \`$[0] --help' for more information.]) ;;
637
638 *) AC_MSG_ERROR([unrecognized argument: $[1]
639Try \`$[0] --help' for more information.]) ;;
640 esac
641 shift
642done
643
644if $lt_cl_silent; then
645 exec AS_MESSAGE_FD>/dev/null
646fi
647_LTEOF
648
649cat >>"$CONFIG_LT" <<_LTEOF
650_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
651_LTEOF
652
653cat >>"$CONFIG_LT" <<\_LTEOF
654AC_MSG_NOTICE([creating $ofile])
655_LT_OUTPUT_LIBTOOL_COMMANDS
656AS_EXIT(0)
657_LTEOF
658chmod +x "$CONFIG_LT"
659
660# configure is writing to config.log, but config.lt does its own redirection,
661# appending to config.log, which fails on DOS, as config.log is still kept
662# open by configure. Here we exec the FD to /dev/null, effectively closing
663# config.log, so it can be properly (re)opened and appended to by config.lt.
664if test "$no_create" != yes; then
665 lt_cl_success=:
666 test "$silent" = yes &&
667 lt_config_lt_args="$lt_config_lt_args --quiet"
668 exec AS_MESSAGE_LOG_FD>/dev/null
669 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
670 exec AS_MESSAGE_LOG_FD>>config.log
671 $lt_cl_success || AS_EXIT(1)
672fi
673])# LT_OUTPUT
674
675
676# _LT_CONFIG(TAG)
677# ---------------
678# If TAG is the built-in tag, create an initial libtool script with a
679# default configuration from the untagged config vars. Otherwise add code
680# to config.status for appending the configuration named by TAG from the
681# matching tagged config vars.
682m4_defun([_LT_CONFIG],
683[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
684_LT_CONFIG_SAVE_COMMANDS([
685 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
686 m4_if(_LT_TAG, [C], [
687 # See if we are running on zsh, and set the options which allow our
688 # commands through without removal of \ escapes.
689 if test -n "${ZSH_VERSION+set}" ; then
690 setopt NO_GLOB_SUBST
691 fi
692
693 cfgfile="${ofile}T"
694 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
695 $RM "$cfgfile"
696
697 cat <<_LT_EOF >> "$cfgfile"
698#! $SHELL
699
700# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
701# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
702# NOTE: Changes made to this file will be lost: look at ltmain.sh.
703#
704_LT_COPYING
705_LT_LIBTOOL_TAGS
706
707# ### BEGIN LIBTOOL CONFIG
708_LT_LIBTOOL_CONFIG_VARS
709_LT_LIBTOOL_TAG_VARS
710# ### END LIBTOOL CONFIG
711
712_LT_EOF
713
714 case $host_os in
715 aix3*)
716 cat <<\_LT_EOF >> "$cfgfile"
717# AIX sometimes has problems with the GCC collect2 program. For some
718# reason, if we set the COLLECT_NAMES environment variable, the problems
719# vanish in a puff of smoke.
720if test "X${COLLECT_NAMES+set}" != Xset; then
721 COLLECT_NAMES=
722 export COLLECT_NAMES
723fi
724_LT_EOF
725 ;;
726 esac
727
728 _LT_PROG_LTMAIN
729
730 # We use sed instead of cat because bash on DJGPP gets confused if
731 # if finds mixed CR/LF and LF-only lines. Since sed operates in
732 # text mode, it properly converts lines to CR/LF. This bash problem
733 # is reportedly fixed, but why not run on old versions too?
734 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
735 || (rm -f "$cfgfile"; exit 1)
736
737 _LT_PROG_XSI_SHELLFNS
738
739 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
740 || (rm -f "$cfgfile"; exit 1)
741
742 mv -f "$cfgfile" "$ofile" ||
743 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
744 chmod +x "$ofile"
745],
746[cat <<_LT_EOF >> "$ofile"
747
748dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
749dnl in a comment (ie after a #).
750# ### BEGIN LIBTOOL TAG CONFIG: $1
751_LT_LIBTOOL_TAG_VARS(_LT_TAG)
752# ### END LIBTOOL TAG CONFIG: $1
753_LT_EOF
754])dnl /m4_if
755],
756[m4_if([$1], [], [
757 PACKAGE='$PACKAGE'
758 VERSION='$VERSION'
759 TIMESTAMP='$TIMESTAMP'
760 RM='$RM'
761 ofile='$ofile'], [])
762])dnl /_LT_CONFIG_SAVE_COMMANDS
763])# _LT_CONFIG
764
765
766# LT_SUPPORTED_TAG(TAG)
767# ---------------------
768# Trace this macro to discover what tags are supported by the libtool
769# --tag option, using:
770# autoconf --trace 'LT_SUPPORTED_TAG:$1'
771AC_DEFUN([LT_SUPPORTED_TAG], [])
772
773
774# C support is built-in for now
775m4_define([_LT_LANG_C_enabled], [])
776m4_define([_LT_TAGS], [])
777
778
779# LT_LANG(LANG)
780# -------------
781# Enable libtool support for the given language if not already enabled.
782AC_DEFUN([LT_LANG],
783[AC_BEFORE([$0], [LT_OUTPUT])dnl
784m4_case([$1],
785 [C], [_LT_LANG(C)],
786 [C++], [_LT_LANG(CXX)],
787 [Java], [_LT_LANG(GCJ)],
788 [Fortran 77], [_LT_LANG(F77)],
789 [Fortran], [_LT_LANG(FC)],
790 [Windows Resource], [_LT_LANG(RC)],
791 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
792 [_LT_LANG($1)],
793 [m4_fatal([$0: unsupported language: "$1"])])])dnl
794])# LT_LANG
795
796
797# _LT_LANG(LANGNAME)
798# ------------------
799m4_defun([_LT_LANG],
800[m4_ifdef([_LT_LANG_]$1[_enabled], [],
801 [LT_SUPPORTED_TAG([$1])dnl
802 m4_append([_LT_TAGS], [$1 ])dnl
803 m4_define([_LT_LANG_]$1[_enabled], [])dnl
804 _LT_LANG_$1_CONFIG($1)])dnl
805])# _LT_LANG
806
807
808# _LT_LANG_DEFAULT_CONFIG
809# -----------------------
810m4_defun([_LT_LANG_DEFAULT_CONFIG],
811[AC_PROVIDE_IFELSE([AC_PROG_CXX],
812 [LT_LANG(CXX)],
813 [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
814
815AC_PROVIDE_IFELSE([AC_PROG_F77],
816 [LT_LANG(F77)],
817 [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
818
819AC_PROVIDE_IFELSE([AC_PROG_FC],
820 [LT_LANG(FC)],
821 [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
822
823dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
824dnl pulling things in needlessly.
825AC_PROVIDE_IFELSE([AC_PROG_GCJ],
826 [LT_LANG(GCJ)],
827 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
828 [LT_LANG(GCJ)],
829 [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
830 [LT_LANG(GCJ)],
831 [m4_ifdef([AC_PROG_GCJ],
832 [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
833 m4_ifdef([A][M_PROG_GCJ],
834 [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
835 m4_ifdef([LT_PROG_GCJ],
836 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
837
838AC_PROVIDE_IFELSE([LT_PROG_RC],
839 [LT_LANG(RC)],
840 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
841])# _LT_LANG_DEFAULT_CONFIG
842
843# Obsolete macros:
844AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
845AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
846AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
847AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
848dnl aclocal-1.4 backwards compatibility:
849dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
850dnl AC_DEFUN([AC_LIBTOOL_F77], [])
851dnl AC_DEFUN([AC_LIBTOOL_FC], [])
852dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
853
854
855# _LT_TAG_COMPILER
856# ----------------
857m4_defun([_LT_TAG_COMPILER],
241[AC_REQUIRE([AC_PROG_CC])dnl858[AC_REQUIRE([AC_PROG_CC])dnl
242859
860_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
861_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
862_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
863_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
864
243# If no C compiler was specified, use CC.865# If no C compiler was specified, use CC.
244LTCC=${LTCC-"$CC"}866LTCC=${LTCC-"$CC"}
245867
@@ -248,36 +870,20 @@
248870
249# Allow CC to be a program name with arguments.871# Allow CC to be a program name with arguments.
250compiler=$CC872compiler=$CC
251])# _LT_AC_SYS_COMPILER873])# _LT_TAG_COMPILER
252
253
254# _LT_CC_BASENAME(CC)
255# -------------------
256# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
257AC_DEFUN([_LT_CC_BASENAME],
258[for cc_temp in $1""; do
259 case $cc_temp in
260 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
261 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
262 \-*) ;;
263 *) break;;
264 esac
265done
266cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
267])
268874
269875
270# _LT_COMPILER_BOILERPLATE876# _LT_COMPILER_BOILERPLATE
271# ------------------------877# ------------------------
272# Check for compiler boilerplate output or warnings with878# Check for compiler boilerplate output or warnings with
273# the simple compiler test code.879# the simple compiler test code.
274AC_DEFUN([_LT_COMPILER_BOILERPLATE],880m4_defun([_LT_COMPILER_BOILERPLATE],
275[AC_REQUIRE([LT_AC_PROG_SED])dnl881[m4_require([_LT_DECL_SED])dnl
276ac_outfile=conftest.$ac_objext882ac_outfile=conftest.$ac_objext
277echo "$lt_simple_compile_test_code" >conftest.$ac_ext883echo "$lt_simple_compile_test_code" >conftest.$ac_ext
278eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err884eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
279_lt_compiler_boilerplate=`cat conftest.err`885_lt_compiler_boilerplate=`cat conftest.err`
280$rm conftest*886$RM conftest*
281])# _LT_COMPILER_BOILERPLATE887])# _LT_COMPILER_BOILERPLATE
282888
283889
@@ -285,39 +891,57 @@
285# ----------------------891# ----------------------
286# Check for linker boilerplate output or warnings with892# Check for linker boilerplate output or warnings with
287# the simple link test code.893# the simple link test code.
288AC_DEFUN([_LT_LINKER_BOILERPLATE],894m4_defun([_LT_LINKER_BOILERPLATE],
289[AC_REQUIRE([LT_AC_PROG_SED])dnl895[m4_require([_LT_DECL_SED])dnl
290ac_outfile=conftest.$ac_objext896ac_outfile=conftest.$ac_objext
291echo "$lt_simple_link_test_code" >conftest.$ac_ext897echo "$lt_simple_link_test_code" >conftest.$ac_ext
292eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err898eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
293_lt_linker_boilerplate=`cat conftest.err`899_lt_linker_boilerplate=`cat conftest.err`
294$rm -r conftest*900$RM -r conftest*
295])# _LT_LINKER_BOILERPLATE901])# _LT_LINKER_BOILERPLATE
296902
297# _LT_REQUIRED_DARWIN_CHECKS903# _LT_REQUIRED_DARWIN_CHECKS
298# --------------------------904# -------------------------
299# Check for some things on darwin905m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
300AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
301 case $host_os in906 case $host_os in
302 rhapsody* | darwin*)907 rhapsody* | darwin*)
303 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])908 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
304 AC_CHECK_TOOL([NMEDIT], [nmedit], [:])909 AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
910 AC_CHECK_TOOL([LIPO], [lipo], [:])
911 AC_CHECK_TOOL([OTOOL], [otool], [:])
912 AC_CHECK_TOOL([OTOOL64], [otool64], [:])
913 _LT_DECL([], [DSYMUTIL], [1],
914 [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
915 _LT_DECL([], [NMEDIT], [1],
916 [Tool to change global to local symbols on Mac OS X])
917 _LT_DECL([], [LIPO], [1],
918 [Tool to manipulate fat objects and archives on Mac OS X])
919 _LT_DECL([], [OTOOL], [1],
920 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
921 _LT_DECL([], [OTOOL64], [1],
922 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
305923
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],
307 [lt_cv_apple_cc_single_mod=no925 [lt_cv_apple_cc_single_mod=no
308 if test -z "${LT_MULTI_MODULE}"; then926 if test -z "${LT_MULTI_MODULE}"; then
309 # By default we will add the -single_module flag. You can override927 # By default we will add the -single_module flag. You can override
310 # by either setting the environment variable LT_MULTI_MODULE928 # by either setting the environment variable LT_MULTI_MODULE
311 # non-empty at configure time, or by adding -multi_module to the929 # non-empty at configure time, or by adding -multi_module to the
312 # link flags.930 # link flags.
313 echo "int foo(void){return 1;}" > conftest.c931 rm -rf libconftest.dylib*
314 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \932 echo "int foo(void){return 1;}" > conftest.c
315 -dynamiclib ${wl}-single_module conftest.c933 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
316 if test -f libconftest.dylib; then934-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
317 lt_cv_apple_cc_single_mod=yes935 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
318 rm -rf libconftest.dylib*936 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
319 fi937 _lt_result=$?
320 rm conftest.c938 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
939 lt_cv_apple_cc_single_mod=yes
940 else
941 cat conftest.err >&AS_MESSAGE_LOG_FD
942 fi
943 rm -rf libconftest.dylib*
944 rm -f conftest.*
321 fi])945 fi])
322 AC_CACHE_CHECK([for -exported_symbols_list linker flag],946 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
323 [lt_cv_ld_exported_symbols_list],947 [lt_cv_ld_exported_symbols_list],
@@ -326,26 +950,26 @@
326 echo "_main" > conftest.sym950 echo "_main" > conftest.sym
327 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"951 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
328 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],952 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
329 [lt_cv_ld_exported_symbols_list=yes],953 [lt_cv_ld_exported_symbols_list=yes],
330 [lt_cv_ld_exported_symbols_list=no])954 [lt_cv_ld_exported_symbols_list=no])
331 LDFLAGS="$save_LDFLAGS"955 LDFLAGS="$save_LDFLAGS"
332 ])956 ])
333 case $host_os in957 case $host_os in
334 rhapsody* | darwin1.[[0123]])958 rhapsody* | darwin1.[[012]])
335 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;959 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
336 darwin1.*)960 darwin1.*)
337 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;961 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
338 darwin*)962 darwin*) # darwin 5.x on
339 # if running on 10.5 or later, the deployment target defaults963 # if running on 10.5 or later, the deployment target defaults
340 # to the OS version, if on x86, and 10.4, the deployment964 # to the OS version, if on x86, and 10.4, the deployment
341 # target defaults to 10.4. Don't you love it?965 # target defaults to 10.4. Don't you love it?
342 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in966 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
343 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)967 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
344 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;968 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
345 10.[[012]]*)969 10.[[012]]*)
346 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;970 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
347 10.*)971 10.*)
348 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;972 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
349 esac973 esac
350 ;;974 ;;
351 esac975 esac
@@ -355,10 +979,10 @@
355 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then979 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
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'
357 else981 else
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}'
359 fi983 fi
360 if test "$DSYMUTIL" != ":"; then984 if test "$DSYMUTIL" != ":"; then
361 _lt_dsymutil="~$DSYMUTIL \$lib || :"985 _lt_dsymutil='~$DSYMUTIL $lib || :'
362 else986 else
363 _lt_dsymutil=987 _lt_dsymutil=
364 fi988 fi
@@ -366,17 +990,52 @@
366 esac990 esac
367])991])
368992
369# _LT_AC_SYS_LIBPATH_AIX993
370# ----------------------994# _LT_DARWIN_LINKER_FEATURES
995# --------------------------
996# Checks for linker and compiler features on darwin
997m4_defun([_LT_DARWIN_LINKER_FEATURES],
998[
999 m4_require([_LT_REQUIRED_DARWIN_CHECKS])
1000 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1001 _LT_TAGVAR(hardcode_direct, $1)=no
1002 _LT_TAGVAR(hardcode_automatic, $1)=yes
1003 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1004 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1005 _LT_TAGVAR(link_all_deplibs, $1)=yes
1006 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1007 case $cc_basename in
1008 ifort*) _lt_dar_can_shared=yes ;;
1009 *) _lt_dar_can_shared=$GCC ;;
1010 esac
1011 if test "$_lt_dar_can_shared" = "yes"; then
1012 output_verbose_link_cmd=echo
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}"
1014 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
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}"
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}"
1017 m4_if([$1], [CXX],
1018[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
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}"
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}"
1021 fi
1022],[])
1023 else
1024 _LT_TAGVAR(ld_shlibs, $1)=no
1025 fi
1026])
1027
1028# _LT_SYS_MODULE_PATH_AIX
1029# -----------------------
371# Links a minimal program and checks the executable1030# Links a minimal program and checks the executable
372# for the system default hardcoded library path. In most cases,1031# for the system default hardcoded library path. In most cases,
373# this is /usr/lib:/lib, but when the MPI compilers are used1032# this is /usr/lib:/lib, but when the MPI compilers are used
374# the location of the communication and MPI libs are included too.1033# the location of the communication and MPI libs are included too.
375# If we don't find anything, use the default library path according1034# If we don't find anything, use the default library path according
376# to the aix ld manual.1035# to the aix ld manual.
377AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],1036m4_defun([_LT_SYS_MODULE_PATH_AIX],
378[AC_REQUIRE([LT_AC_PROG_SED])dnl1037[m4_require([_LT_DECL_SED])dnl
379AC_LINK_IFELSE(AC_LANG_PROGRAM,[1038AC_LINK_IFELSE([AC_LANG_PROGRAM],[
380lt_aix_libpath_sed='1039lt_aix_libpath_sed='
381 /Import File Strings/,/^$/ {1040 /Import File Strings/,/^$/ {
382 /^0/ {1041 /^0/ {
@@ -390,45 +1049,45 @@
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"`
391fi],[])1050fi],[])
392if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi1051if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
393])# _LT_AC_SYS_LIBPATH_AIX1052])# _LT_SYS_MODULE_PATH_AIX
3941053
3951054
396# _LT_AC_SHELL_INIT(ARG)1055# _LT_SHELL_INIT(ARG)
397# ----------------------1056# -------------------
398AC_DEFUN([_LT_AC_SHELL_INIT],1057m4_define([_LT_SHELL_INIT],
399[ifdef([AC_DIVERSION_NOTICE],1058[ifdef([AC_DIVERSION_NOTICE],
400 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],1059 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
401 [AC_DIVERT_PUSH(NOTICE)])1060 [AC_DIVERT_PUSH(NOTICE)])
402$11061$1
403AC_DIVERT_POP1062AC_DIVERT_POP
404])# _LT_AC_SHELL_INIT1063])# _LT_SHELL_INIT
4051064
4061065
407# _LT_AC_PROG_ECHO_BACKSLASH1066# _LT_PROG_ECHO_BACKSLASH
408# --------------------------1067# -----------------------
409# Add some code to the start of the generated configure script which1068# Add some code to the start of the generated configure script which
410# will find an echo command which doesn't interpret backslashes.1069# will find an echo command which doesn't interpret backslashes.
411AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],1070m4_defun([_LT_PROG_ECHO_BACKSLASH],
412[_LT_AC_SHELL_INIT([1071[_LT_SHELL_INIT([
413# Check that we are running under the correct shell.1072# Check that we are running under the correct shell.
414SHELL=${CONFIG_SHELL-/bin/sh}1073SHELL=${CONFIG_SHELL-/bin/sh}
4151074
416case X$ECHO in1075case X$lt_ECHO in
417X*--fallback-echo)1076X*--fallback-echo)
418 # Remove one level of quotation (which was required for Make).1077 # Remove one level of quotation (which was required for Make).
419 ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`1078 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
420 ;;1079 ;;
421esac1080esac
4221081
423echo=${ECHO-echo}1082ECHO=${lt_ECHO-echo}
424if test "X[$]1" = X--no-reexec; then1083if test "X[$]1" = X--no-reexec; then
425 # Discard the --no-reexec flag, and continue.1084 # Discard the --no-reexec flag, and continue.
426 shift1085 shift
427elif test "X[$]1" = X--fallback-echo; then1086elif test "X[$]1" = X--fallback-echo; then
428 # Avoid inline document here, it may be left over1087 # Avoid inline document here, it may be left over
429 :1088 :
430elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then1089elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
431 # Yippee, $echo works!1090 # Yippee, $ECHO works!
432 :1091 :
433else1092else
434 # Restart under the correct shell.1093 # Restart under the correct shell.
@@ -438,9 +1097,9 @@
438if test "X[$]1" = X--fallback-echo; then1097if test "X[$]1" = X--fallback-echo; then
439 # used as fallback echo1098 # used as fallback echo
440 shift1099 shift
441 cat <<EOF1100 cat <<_LT_EOF
442[$]*1101[$]*
443EOF1102_LT_EOF
444 exit 01103 exit 0
445fi1104fi
4461105
@@ -448,124 +1107,127 @@
448# if CDPATH is set.1107# if CDPATH is set.
449(unset CDPATH) >/dev/null 2>&1 && unset CDPATH1108(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4501109
451if test -z "$ECHO"; then1110if test -z "$lt_ECHO"; then
452if test "X${echo_test_string+set}" != Xset; then1111 if test "X${echo_test_string+set}" != Xset; then
453# find a string as large as possible, as long as the shell can cope with it1112 # find a string as large as possible, as long as the shell can cope with it
454 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do1113 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
455 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...1114 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
456 if (echo_test_string=`eval $cmd`) 2>/dev/null &&1115 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
457 echo_test_string=`eval $cmd` &&1116 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
458 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null1117 then
459 then1118 break
460 break1119 fi
461 fi1120 done
462 done1121 fi
463fi1122
4641123 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
465if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&1124 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
466 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&1125 test "X$echo_testing_string" = "X$echo_test_string"; then
467 test "X$echo_testing_string" = "X$echo_test_string"; then1126 :
468 :1127 else
469else1128 # The Solaris, AIX, and Digital Unix default echo programs unquote
470 # The Solaris, AIX, and Digital Unix default echo programs unquote1129 # backslashes. This makes it impossible to quote backslashes using
471 # backslashes. This makes it impossible to quote backslashes using1130 # echo "$something" | sed 's/\\/\\\\/g'
472 # echo "$something" | sed 's/\\/\\\\/g'1131 #
473 #1132 # So, first we look for a working echo in the user's PATH.
474 # So, first we look for a working echo in the user's PATH.1133
4751134 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
476 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR1135 for dir in $PATH /usr/ucb; do
477 for dir in $PATH /usr/ucb; do1136 IFS="$lt_save_ifs"
1137 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1138 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1139 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1140 test "X$echo_testing_string" = "X$echo_test_string"; then
1141 ECHO="$dir/echo"
1142 break
1143 fi
1144 done
478 IFS="$lt_save_ifs"1145 IFS="$lt_save_ifs"
479 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
480 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
481 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
482 test "X$echo_testing_string" = "X$echo_test_string"; then
483 echo="$dir/echo"
484 break
485 fi
486 done
487 IFS="$lt_save_ifs"
4881146
489 if test "X$echo" = Xecho; then1147 if test "X$ECHO" = Xecho; then
490 # We didn't find a better echo, so look for alternatives.1148 # We didn't find a better echo, so look for alternatives.
491 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&1149 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
492 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&1150 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
493 test "X$echo_testing_string" = "X$echo_test_string"; then1151 test "X$echo_testing_string" = "X$echo_test_string"; then
494 # This shell has a builtin print -r that does the trick.1152 # This shell has a builtin print -r that does the trick.
495 echo='print -r'1153 ECHO='print -r'
496 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&1154 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
497 test "X$CONFIG_SHELL" != X/bin/ksh; then1155 test "X$CONFIG_SHELL" != X/bin/ksh; then
498 # If we have ksh, try running configure again with it.1156 # If we have ksh, try running configure again with it.
499 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}1157 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
500 export ORIGINAL_CONFIG_SHELL1158 export ORIGINAL_CONFIG_SHELL
501 CONFIG_SHELL=/bin/ksh1159 CONFIG_SHELL=/bin/ksh
502 export CONFIG_SHELL1160 export CONFIG_SHELL
503 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}1161 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
504 else
505 # Try using printf.
506 echo='printf %s\n'
507 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
508 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
509 test "X$echo_testing_string" = "X$echo_test_string"; then
510 # Cool, printf works
511 :
512 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
513 test "X$echo_testing_string" = 'X\t' &&
514 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
515 test "X$echo_testing_string" = "X$echo_test_string"; then
516 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
517 export CONFIG_SHELL
518 SHELL="$CONFIG_SHELL"
519 export SHELL
520 echo="$CONFIG_SHELL [$]0 --fallback-echo"
521 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
522 test "X$echo_testing_string" = 'X\t' &&
523 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
524 test "X$echo_testing_string" = "X$echo_test_string"; then
525 echo="$CONFIG_SHELL [$]0 --fallback-echo"
526 else1162 else
527 # maybe with a smaller string...1163 # Try using printf.
528 prev=:1164 ECHO='printf %s\n'
5291165 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
530 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do1166 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
531 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null1167 test "X$echo_testing_string" = "X$echo_test_string"; then
532 then1168 # Cool, printf works
533 break1169 :
1170 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1171 test "X$echo_testing_string" = 'X\t' &&
1172 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1173 test "X$echo_testing_string" = "X$echo_test_string"; then
1174 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1175 export CONFIG_SHELL
1176 SHELL="$CONFIG_SHELL"
1177 export SHELL
1178 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1179 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1180 test "X$echo_testing_string" = 'X\t' &&
1181 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1182 test "X$echo_testing_string" = "X$echo_test_string"; then
1183 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1184 else
1185 # maybe with a smaller string...
1186 prev=:
1187
1188 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1189 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
1190 then
1191 break
1192 fi
1193 prev="$cmd"
1194 done
1195
1196 if test "$prev" != 'sed 50q "[$]0"'; then
1197 echo_test_string=`eval $prev`
1198 export echo_test_string
1199 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1200 else
1201 # Oops. We lost completely, so just stick with echo.
1202 ECHO=echo
534 fi1203 fi
535 prev="$cmd"1204 fi
536 done
537
538 if test "$prev" != 'sed 50q "[$]0"'; then
539 echo_test_string=`eval $prev`
540 export echo_test_string
541 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
542 else
543 # Oops. We lost completely, so just stick with echo.
544 echo=echo
545 fi
546 fi1205 fi
547 fi1206 fi
548 fi1207 fi
549fi1208fi
550fi
5511209
552# Copy echo and quote the copy suitably for passing to libtool from1210# Copy echo and quote the copy suitably for passing to libtool from
553# the Makefile, instead of quoting the original, which is used later.1211# the Makefile, instead of quoting the original, which is used later.
554ECHO=$echo1212lt_ECHO=$ECHO
555if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then1213if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
556 ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"1214 lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
557fi1215fi
5581216
559AC_SUBST(ECHO)1217AC_SUBST(lt_ECHO)
560])])# _LT_AC_PROG_ECHO_BACKSLASH1218])
5611219_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
5621220_LT_DECL([], [ECHO], [1],
563# _LT_AC_LOCK1221 [An echo program that does not interpret backslashes])
564# -----------1222])# _LT_PROG_ECHO_BACKSLASH
565AC_DEFUN([_LT_AC_LOCK],1223
1224
1225# _LT_ENABLE_LOCK
1226# ---------------
1227m4_defun([_LT_ENABLE_LOCK],
566[AC_ARG_ENABLE([libtool-lock],1228[AC_ARG_ENABLE([libtool-lock],
567 [AC_HELP_STRING([--disable-libtool-lock],1229 [AS_HELP_STRING([--disable-libtool-lock],
568 [avoid locking (might break parallel builds)])])1230 [avoid locking (might break parallel builds)])])
569test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes1231test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5701232
571# Some flags need to be propagated to the compiler or linker for good1233# Some flags need to be propagated to the compiler or linker for good
@@ -576,12 +1238,12 @@
576 echo 'int i;' > conftest.$ac_ext1238 echo 'int i;' > conftest.$ac_ext
577 if AC_TRY_EVAL(ac_compile); then1239 if AC_TRY_EVAL(ac_compile); then
578 case `/usr/bin/file conftest.$ac_objext` in1240 case `/usr/bin/file conftest.$ac_objext` in
579 *ELF-32*)1241 *ELF-32*)
580 HPUX_IA64_MODE="32"1242 HPUX_IA64_MODE="32"
581 ;;1243 ;;
582 *ELF-64*)1244 *ELF-64*)
583 HPUX_IA64_MODE="64"1245 HPUX_IA64_MODE="64"
584 ;;1246 ;;
585 esac1247 esac
586 fi1248 fi
587 rm -rf conftest*1249 rm -rf conftest*
@@ -590,79 +1252,79 @@
590 # Find out which ABI we are using.1252 # Find out which ABI we are using.
591 echo '[#]line __oline__ "configure"' > conftest.$ac_ext1253 echo '[#]line __oline__ "configure"' > conftest.$ac_ext
592 if AC_TRY_EVAL(ac_compile); then1254 if AC_TRY_EVAL(ac_compile); then
593 if test "$lt_cv_prog_gnu_ld" = yes; then1255 if test "$lt_cv_prog_gnu_ld" = yes; then
594 case `/usr/bin/file conftest.$ac_objext` in1256 case `/usr/bin/file conftest.$ac_objext` in
595 *32-bit*)1257 *32-bit*)
596 LD="${LD-ld} -melf32bsmip"1258 LD="${LD-ld} -melf32bsmip"
597 ;;1259 ;;
598 *N32*)1260 *N32*)
599 LD="${LD-ld} -melf32bmipn32"1261 LD="${LD-ld} -melf32bmipn32"
600 ;;1262 ;;
601 *64-bit*)1263 *64-bit*)
602 LD="${LD-ld} -melf64bmip"1264 LD="${LD-ld} -melf64bmip"
603 ;;1265 ;;
604 esac1266 esac
605 else1267 else
606 case `/usr/bin/file conftest.$ac_objext` in1268 case `/usr/bin/file conftest.$ac_objext` in
607 *32-bit*)1269 *32-bit*)
608 LD="${LD-ld} -32"1270 LD="${LD-ld} -32"
609 ;;1271 ;;
610 *N32*)1272 *N32*)
611 LD="${LD-ld} -n32"1273 LD="${LD-ld} -n32"
612 ;;1274 ;;
613 *64-bit*)1275 *64-bit*)
614 LD="${LD-ld} -64"1276 LD="${LD-ld} -64"
615 ;;1277 ;;
616 esac1278 esac
617 fi1279 fi
618 fi1280 fi
619 rm -rf conftest*1281 rm -rf conftest*
620 ;;1282 ;;
6211283
622x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \1284x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
623s390*-*linux*|sparc*-*linux*)1285s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
624 # Find out which ABI we are using.1286 # Find out which ABI we are using.
625 echo 'int i;' > conftest.$ac_ext1287 echo 'int i;' > conftest.$ac_ext
626 if AC_TRY_EVAL(ac_compile); then1288 if AC_TRY_EVAL(ac_compile); then
627 case `/usr/bin/file conftest.o` in1289 case `/usr/bin/file conftest.o` in
628 *32-bit*)1290 *32-bit*)
629 case $host in1291 case $host in
630 x86_64-*kfreebsd*-gnu)1292 x86_64-*kfreebsd*-gnu)
631 LD="${LD-ld} -m elf_i386_fbsd"1293 LD="${LD-ld} -m elf_i386_fbsd"
632 ;;1294 ;;
633 x86_64-*linux*)1295 x86_64-*linux*)
634 LD="${LD-ld} -m elf_i386"1296 LD="${LD-ld} -m elf_i386"
635 ;;1297 ;;
636 ppc64-*linux*|powerpc64-*linux*)1298 ppc64-*linux*|powerpc64-*linux*)
637 LD="${LD-ld} -m elf32ppclinux"1299 LD="${LD-ld} -m elf32ppclinux"
638 ;;1300 ;;
639 s390x-*linux*)1301 s390x-*linux*)
640 LD="${LD-ld} -m elf_s390"1302 LD="${LD-ld} -m elf_s390"
641 ;;1303 ;;
642 sparc64-*linux*)1304 sparc64-*linux*)
643 LD="${LD-ld} -m elf32_sparc"1305 LD="${LD-ld} -m elf32_sparc"
644 ;;1306 ;;
645 esac1307 esac
646 ;;1308 ;;
647 *64-bit*)1309 *64-bit*)
648 case $host in1310 case $host in
649 x86_64-*kfreebsd*-gnu)1311 x86_64-*kfreebsd*-gnu)
650 LD="${LD-ld} -m elf_x86_64_fbsd"1312 LD="${LD-ld} -m elf_x86_64_fbsd"
651 ;;1313 ;;
652 x86_64-*linux*)1314 x86_64-*linux*)
653 LD="${LD-ld} -m elf_x86_64"1315 LD="${LD-ld} -m elf_x86_64"
654 ;;1316 ;;
655 ppc*-*linux*|powerpc*-*linux*)1317 ppc*-*linux*|powerpc*-*linux*)
656 LD="${LD-ld} -m elf64ppc"1318 LD="${LD-ld} -m elf64ppc"
657 ;;1319 ;;
658 s390*-*linux*)1320 s390*-*linux*|s390*-*tpf*)
659 LD="${LD-ld} -m elf64_s390"1321 LD="${LD-ld} -m elf64_s390"
660 ;;1322 ;;
661 sparc*-*linux*)1323 sparc*-*linux*)
662 LD="${LD-ld} -m elf64_sparc"1324 LD="${LD-ld} -m elf64_sparc"
663 ;;1325 ;;
664 esac1326 esac
665 ;;1327 ;;
666 esac1328 esac
667 fi1329 fi
668 rm -rf conftest*1330 rm -rf conftest*
@@ -674,7 +1336,7 @@
674 CFLAGS="$CFLAGS -belf"1336 CFLAGS="$CFLAGS -belf"
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,
676 [AC_LANG_PUSH(C)1338 [AC_LANG_PUSH(C)
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])
678 AC_LANG_POP])1340 AC_LANG_POP])
679 if test x"$lt_cv_cc_needs_belf" != x"yes"; then1341 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
680 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf1342 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
@@ -690,7 +1352,7 @@
690 case $lt_cv_prog_gnu_ld in1352 case $lt_cv_prog_gnu_ld in
691 yes*) LD="${LD-ld} -m elf64_sparc" ;;1353 yes*) LD="${LD-ld} -m elf64_sparc" ;;
692 *)1354 *)
693 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then1355 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
694 LD="${LD-ld} -64"1356 LD="${LD-ld} -64"
695 fi1357 fi
696 ;;1358 ;;
@@ -700,30 +1362,63 @@
700 fi1362 fi
701 rm -rf conftest*1363 rm -rf conftest*
702 ;;1364 ;;
703
704AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
705[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
706 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
707 AC_CHECK_TOOL(AS, as, false)
708 AC_CHECK_TOOL(OBJDUMP, objdump, false)
709 ;;
710 ])
711esac1365esac
7121366
713need_locks="$enable_libtool_lock"1367need_locks="$enable_libtool_lock"
7141368])# _LT_ENABLE_LOCK
715])# _LT_AC_LOCK1369
7161370
7171371# _LT_CMD_OLD_ARCHIVE
718# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,1372# -------------------
1373m4_defun([_LT_CMD_OLD_ARCHIVE],
1374[AC_CHECK_TOOL(AR, ar, false)
1375test -z "$AR" && AR=ar
1376test -z "$AR_FLAGS" && AR_FLAGS=cru
1377_LT_DECL([], [AR], [1], [The archiver])
1378_LT_DECL([], [AR_FLAGS], [1])
1379
1380AC_CHECK_TOOL(STRIP, strip, :)
1381test -z "$STRIP" && STRIP=:
1382_LT_DECL([], [STRIP], [1], [A symbol stripping program])
1383
1384AC_CHECK_TOOL(RANLIB, ranlib, :)
1385test -z "$RANLIB" && RANLIB=:
1386_LT_DECL([], [RANLIB], [1],
1387 [Commands used to install an old-style archive])
1388
1389# Determine commands to create old-style static archives.
1390old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
1391old_postinstall_cmds='chmod 644 $oldlib'
1392old_postuninstall_cmds=
1393
1394if test -n "$RANLIB"; then
1395 case $host_os in
1396 openbsd*)
1397 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1398 ;;
1399 *)
1400 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1401 ;;
1402 esac
1403 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1404fi
1405_LT_DECL([], [old_postinstall_cmds], [2])
1406_LT_DECL([], [old_postuninstall_cmds], [2])
1407_LT_TAGDECL([], [old_archive_cmds], [2],
1408 [Commands used to build an old-style archive])
1409])# _LT_CMD_OLD_ARCHIVE
1410
1411
1412# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
719# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])1413# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
720# ----------------------------------------------------------------1414# ----------------------------------------------------------------
721# Check whether the given compiler option works1415# Check whether the given compiler option works
722AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],1416AC_DEFUN([_LT_COMPILER_OPTION],
723[AC_REQUIRE([LT_AC_PROG_SED])1417[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1418m4_require([_LT_DECL_SED])dnl
724AC_CACHE_CHECK([$1], [$2],1419AC_CACHE_CHECK([$1], [$2],
725 [$2=no1420 [$2=no
726 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])1421 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
727 echo "$lt_simple_compile_test_code" > conftest.$ac_ext1422 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
728 lt_compiler_flag="$3"1423 lt_compiler_flag="$3"
729 # Insert the option either (1) after the last *FLAGS variable, or1424 # Insert the option either (1) after the last *FLAGS variable, or
@@ -743,29 +1438,35 @@
743 if (exit $ac_status) && test -s "$ac_outfile"; then1438 if (exit $ac_status) && test -s "$ac_outfile"; then
744 # The compiler can only warn and ignore the option if not recognized1439 # The compiler can only warn and ignore the option if not recognized
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.
746 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp1441 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
747 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er21442 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
748 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then1443 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
749 $2=yes1444 $2=yes
750 fi1445 fi
751 fi1446 fi
752 $rm conftest*1447 $RM conftest*
753])1448])
7541449
755if test x"[$]$2" = xyes; then1450if test x"[$]$2" = xyes; then
756 ifelse([$5], , :, [$5])1451 m4_if([$5], , :, [$5])
757else1452else
758 ifelse([$6], , :, [$6])1453 m4_if([$6], , :, [$6])
759fi1454fi
760])# AC_LIBTOOL_COMPILER_OPTION1455])# _LT_COMPILER_OPTION
7611456
7621457# Old name:
763# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,1458AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
764# [ACTION-SUCCESS], [ACTION-FAILURE])1459dnl aclocal-1.4 backwards compatibility:
765# ------------------------------------------------------------1460dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
766# Check whether the given compiler option works1461
767AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],1462
768[AC_REQUIRE([LT_AC_PROG_SED])dnl1463# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1464# [ACTION-SUCCESS], [ACTION-FAILURE])
1465# ----------------------------------------------------
1466# Check whether the given linker option works
1467AC_DEFUN([_LT_LINKER_OPTION],
1468[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1469m4_require([_LT_DECL_SED])dnl
769AC_CACHE_CHECK([$1], [$2],1470AC_CACHE_CHECK([$1], [$2],
770 [$2=no1471 [$2=no
771 save_LDFLAGS="$LDFLAGS"1472 save_LDFLAGS="$LDFLAGS"
@@ -777,7 +1478,7 @@
777 if test -s conftest.err; then1478 if test -s conftest.err; then
778 # Append any errors to the config.log.1479 # Append any errors to the config.log.
779 cat conftest.err 1>&AS_MESSAGE_LOG_FD1480 cat conftest.err 1>&AS_MESSAGE_LOG_FD
780 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp1481 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
781 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er21482 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
782 if diff conftest.exp conftest.er2 >/dev/null; then1483 if diff conftest.exp conftest.er2 >/dev/null; then
783 $2=yes1484 $2=yes
@@ -786,22 +1487,28 @@
786 $2=yes1487 $2=yes
787 fi1488 fi
788 fi1489 fi
789 $rm -r conftest*1490 $RM -r conftest*
790 LDFLAGS="$save_LDFLAGS"1491 LDFLAGS="$save_LDFLAGS"
791])1492])
7921493
793if test x"[$]$2" = xyes; then1494if test x"[$]$2" = xyes; then
794 ifelse([$4], , :, [$4])1495 m4_if([$4], , :, [$4])
795else1496else
796 ifelse([$5], , :, [$5])1497 m4_if([$5], , :, [$5])
797fi1498fi
798])# AC_LIBTOOL_LINKER_OPTION1499])# _LT_LINKER_OPTION
7991500
8001501# Old name:
801# AC_LIBTOOL_SYS_MAX_CMD_LEN1502AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
802# --------------------------1503dnl aclocal-1.4 backwards compatibility:
803AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],1504dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
804[# find the maximum length of command line arguments1505
1506
1507# LT_CMD_MAX_LEN
1508#---------------
1509AC_DEFUN([LT_CMD_MAX_LEN],
1510[AC_REQUIRE([AC_CANONICAL_HOST])dnl
1511# find the maximum length of command line arguments
805AC_MSG_CHECKING([the maximum length of command line arguments])1512AC_MSG_CHECKING([the maximum length of command line arguments])
806AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl1513AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
807 i=01514 i=0
@@ -823,7 +1530,7 @@
823 lt_cv_sys_max_cmd_len=-1;1530 lt_cv_sys_max_cmd_len=-1;
824 ;;1531 ;;
8251532
826 cygwin* | mingw*)1533 cygwin* | mingw* | cegcc*)
827 # On Win9x/ME, this test blows up -- it succeeds, but takes1534 # On Win9x/ME, this test blows up -- it succeeds, but takes
828 # about 5 minutes as the teststring grows exponentially.1535 # about 5 minutes as the teststring grows exponentially.
829 # Worse, since 9x/ME are not pre-emptively multitasking,1536 # Worse, since 9x/ME are not pre-emptively multitasking,
@@ -878,7 +1585,7 @@
878 sysv5* | sco5v6* | sysv4.2uw2*)1585 sysv5* | sco5v6* | sysv4.2uw2*)
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`
880 if test -n "$kargmax"; then1587 if test -n "$kargmax"; then
881 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`1588 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
882 else1589 else
883 lt_cv_sys_max_cmd_len=327681590 lt_cv_sys_max_cmd_len=32768
884 fi1591 fi
@@ -889,20 +1596,28 @@
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`
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`
891 else1598 else
1599 # Make teststring a little bigger before we do anything with it.
1600 # a 1K string should be a reasonable start.
1601 for i in 1 2 3 4 5 6 7 8 ; do
1602 teststring=$teststring$teststring
1603 done
892 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}1604 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
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
894 = "XX$teststring") >/dev/null 2>&1 &&
895 new_result=`expr "X$teststring" : ".*" 2>&1` &&
896 lt_cv_sys_max_cmd_len=$new_result &&
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: