aboutsummaryrefslogtreecommitdiff
path: root/libsysfs
diff options
context:
space:
mode:
Diffstat (limited to 'libsysfs')
-rw-r--r--libsysfs/Makefile.am5
-rw-r--r--libsysfs/Makefile.in7
-rw-r--r--libsysfs/README70
3 files changed, 75 insertions, 7 deletions
diff --git a/libsysfs/Makefile.am b/libsysfs/Makefile.am
index 8d37bcc..a51f520 100644
--- a/libsysfs/Makefile.am
+++ b/libsysfs/Makefile.am
@@ -2,6 +2,5 @@ lib_LTLIBRARIES = libsysfs.la
libsysfs_la_SOURCES = sysfs_utils.c sysfs_attr.c sysfs_class.c dlist.c \
sysfs_device.c sysfs_driver.c sysfs_bus.c sysfs_module.c sysfs.h
INCLUDES = -I../include
-libsysfs_la_LDFLAGS = -version-info 2:1:0
-EXTRA_CFLAGS = @EXTRA_CLFAGS@
-libsysfs_la_CFLAGS = -Wall -W -Wstrict-prototypes $(EXTRA_CLFAGS)
+libsysfs_la_LDFLAGS = -version-info 2:1:0 -all-static
+libsysfs_la_CFLAGS = -Wall -W -Wstrict-prototypes -static
diff --git a/libsysfs/Makefile.in b/libsysfs/Makefile.in
index 840aeea..19590e1 100644
--- a/libsysfs/Makefile.in
+++ b/libsysfs/Makefile.in
@@ -37,7 +37,7 @@ host_triplet = @host@
subdir = libsysfs
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
@@ -211,9 +211,8 @@ libsysfs_la_SOURCES = sysfs_utils.c sysfs_attr.c sysfs_class.c dlist.c \
sysfs_device.c sysfs_driver.c sysfs_bus.c sysfs_module.c sysfs.h
INCLUDES = -I../include
-libsysfs_la_LDFLAGS = -version-info 2:1:0
-EXTRA_CFLAGS = @EXTRA_CLFAGS@
-libsysfs_la_CFLAGS = -Wall -W -Wstrict-prototypes $(EXTRA_CLFAGS)
+libsysfs_la_LDFLAGS = -version-info 2:1:0 -all-static
+libsysfs_la_CFLAGS = -Wall -W -Wstrict-prototypes -static
all: all-am
.SUFFIXES:
diff --git a/libsysfs/README b/libsysfs/README
new file mode 100644
index 0000000..6deefcf
--- /dev/null
+++ b/libsysfs/README
@@ -0,0 +1,70 @@
+
+ Sysfs Utilities Package - Includes Libsysfs(v. 2.1.0)
+ ======================================================
+
+Contents
+--------
+ 1. Introduction
+ 2. How to Install
+ 2.1 Caveats/Known issues
+ 3. Licenses
+ 4. Reporting Bugs
+
+
+1. Introduction
+---------------
+
+This package's purpose is to provide a set of utilities for interfacing
+with sysfs, a virtual filesystem in Linux kernel versions 2.5+ that
+provides a tree of system devices. While a filesystem is a very useful
+interface, we've decided to provide a stable programming interface
+that will hopefully make it easier for applications to query system devices
+and their attributes.
+
+This package currently includes:
+
+- libsysfs: a library for accessing system devices.
+- systool: an application to view system device information by bus, class,
+ and topology.
+- A number of example usage routines in the "test" directory.
+- A comprehensive testsuite, also shipped as part of the "test" directory. This
+ testsuite can be used to test _all_ the APIs exported by Libsysfs.
+ Please refer the libsysfs.txt file in the "docs" directory for
+ details as to how to use the testsuite.
+
+
+2. How to Install
+-----------------
+
+Run the "configure" script to generate Makefiles. Use "make" to build the
+library and utilities.
+
+For a successful install, run "make install" as super-user. "make uninstall"
+will clean up all installed files.
+
+
+3. Licenses
+-----------
+
+The commands and tests are licensed under the GNU Public License (GPL)
+Version2, June 1991. The full text of the GPL is located in this package's
+"cmd" directory:
+
+sysfsutils/cmd/GPL
+
+The library is licensed under the GNU Lesser Public License (LGPL)
+Version 2.1, February 1999. The full text of the LGPL is located in
+this package's "lib" directory:
+
+sysfsutils/lib/LGPL
+
+
+4. Reporting Bugs
+-----------------
+
+Please direct all bugs to either the linux-diag mailing list -
+linux-diag-devel@lists.sourceforge.net - or to the authors:
+
+Ananth Mavinakayanahalli <ananth@in.ibm.com>
+Daniel Stekloff <dsteklof@us.ibm.com>
+Mohan Kumar <mohan@in.ibm.com>