Renaming libprocfs to libprocps

The library used to be called libprocps but it was renamed to make sure
there was only one. However the formatting of the library SONAME has
changed so there cannot be any confusion.

libprocps makes it clear that its a library from this project and not a
set of functions directly on the filesystem.
This commit is contained in:
Craig Small 2011-12-23 09:18:43 +11:00
parent 23e753fd47
commit 2983b30523
7 changed files with 21 additions and 21 deletions

4
.gitignore vendored
View File

@ -28,8 +28,8 @@ pkill
pmap pmap
procps-ng-*.tar.gz procps-ng-*.tar.gz
proc/.depend proc/.depend
proc/libprocfs.la proc/libprocps.la
proc/libprocfs.pc proc/libprocps.pc
proc/Makefile proc/Makefile
proc/Makefile.in proc/Makefile.in
ps/Makefile ps/Makefile

View File

@ -4,7 +4,7 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = proc ps testsuite SUBDIRS = proc ps testsuite
AM_CFLAGS = -Iproc AM_CFLAGS = -Iproc
AM_LDFLAGS = ./proc/libprocfs.la AM_LDFLAGS = ./proc/libprocps.la
sbin_PROGRAMS = \ sbin_PROGRAMS = \
sysctl sysctl

View File

@ -169,7 +169,7 @@ AC_SUBST(DEJAGNU)
AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile
proc/Makefile proc/Makefile
proc/libprocfs.pc proc/libprocps.pc
ps/Makefile ps/Makefile
testsuite/Makefile testsuite/Makefile
]) ])

View File

@ -1,27 +1,27 @@
PACKAGE_VERSION = @PACKAGE_VERSION@ PACKAGE_VERSION = @PACKAGE_VERSION@
AM_CPPFLAGS = -include $(top_builddir)/config.h AM_CPPFLAGS = -include $(top_builddir)/config.h
LIBPROCFS_CURRENT=0 LIBprocps_CURRENT=0
LIBPROCFS_REVISION=0 LIBprocps_REVISION=0
LIBPROCFS_AGE=0 LIBprocps_AGE=0
lib_LTLIBRARIES = libprocfs.la lib_LTLIBRARIES = libprocps.la
libprocfs_ladir = $(ladir) libprocps_ladir = $(ladir)
libprocfs_la_LIBADD = $(LIB_KPARTS) libprocps_la_LIBADD = $(LIB_KPARTS)
libprocfs_la_LDFLAGS = \ libprocps_la_LDFLAGS = \
$(AM_LDFLAGS) \ $(AM_LDFLAGS) \
$(all_libraries) \ $(all_libraries) \
-version-info $(LIBPROCFS_CURRENT):$(LIBPROCFS_REVISION):$(LIBPROCFS_AGE) \ -version-info $(LIBprocps_CURRENT):$(LIBprocps_REVISION):$(LIBprocps_AGE) \
-no-undefined \ -no-undefined \
-Wl,--version-script=$(top_srcdir)/proc/libprocfs.sym -Wl,--version-script=$(top_srcdir)/proc/libprocps.sym
EXTRA_DIST = library.map EXTRA_DIST = library.map
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libprocfs.pc pkgconfig_DATA = libprocps.pc
libprocfs_la_SOURCES = \ libprocps_la_SOURCES = \
alloc.c \ alloc.c \
alloc.h \ alloc.h \
devname.c \ devname.c \
@ -46,8 +46,8 @@ libprocfs_la_SOURCES = \
whattime.c \ whattime.c \
whattime.h whattime.h
libprocfs_la_includedir = $(includedir)/proc/ libprocps_la_includedir = $(includedir)/proc/
libprocfs_la_include_HEADERS = \ libprocps_la_include_HEADERS = \
alloc.h \ alloc.h \
devname.h \ devname.h \
escape.h \ escape.h \

View File

@ -3,9 +3,9 @@ exec_prefix=@exec_prefix@
libdir=@libdir@ libdir=@libdir@
includedir=@includedir@ includedir=@includedir@
Name: libprocfs Name: libprocps
Description: Library to control and query process state Description: Library to control and query process state
Version: @VERSION@ Version: @VERSION@
Libs: -L${libdir} -lprocfs Libs: -L${libdir} -lprocps
Libs.private: Libs.private:
Cflags: -I${includedir} Cflags: -I${includedir}

View File

@ -1,4 +1,4 @@
LIBPROCFS_0 { LIBPROCPS_0 {
global: global:
Hertz; Hertz;
__cyg_profile_func_enter; __cyg_profile_func_enter;

View File

@ -1,7 +1,7 @@
AM_CPPFLAGS = -include $(top_builddir)/config.h AM_CPPFLAGS = -include $(top_builddir)/config.h
AM_CFLAGS = -I../proc AM_CFLAGS = -I../proc
AM_LDFLAGS = ../proc/libprocfs.la AM_LDFLAGS = ../proc/libprocps.la
dist_man_MANS = ps.1 dist_man_MANS = ps.1