build-sys: rename libproc to libprog-ng

The library file version string is taken from configure.ac AC_INIT.

Reference: http://www.freelists.org/archive/procps/09-2011

Signed-off-by: Jim Warner <james.warner@comcast.net>
Signed-off-by: Craig Small <csmall-procps@enc.com.au>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Jim Warner 2011-09-22 04:10:05 -05:00 committed by Sami Kerola
parent bf4c442699
commit b7638e7ae9
4 changed files with 11 additions and 11 deletions

2
.gitignore vendored
View File

@ -27,7 +27,7 @@ pgrep
pkill
pmap
proc/.depend
proc/libproc.la
proc/libproc-ng.la
proc/Makefile
proc/Makefile.in
ps/Makefile

View File

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

View File

@ -1,12 +1,12 @@
PACKAGE_VERSION = @PACKAGE_VERSION@
AM_CPPFLAGS = -include $(top_builddir)/config.h
lib_LTLIBRARIES = libproc-ng.la
lib_LTLIBRARIES = libproc.la
libproc_ng_ladir = $(ladir)
libproc_ng_la_LIBADD = $(LIB_KPARTS)
libproc_ng_la_LDFLAGS = $(all_libraries) -release $(PACKAGE_VERSION) -no-undefined
libproc_ladir = $(ladir)
libproc_la_LIBADD = $(LIB_KPARTS)
libproc_la_LDFLAGS = $(all_libraries) -release 3.2.8 -no-undefined
libproc_la_SOURCES = \
libproc_ng_la_SOURCES = \
alloc.c \
alloc.h \
devname.c \
@ -31,8 +31,8 @@ libproc_la_SOURCES = \
whattime.c \
whattime.h
libproc_la_includedir = $(includedir)/proc/
libproc_la_include_HEADERS = \
libproc_ng_la_includedir = $(includedir)/proc/
libproc_ng_la_include_HEADERS = \
alloc.h \
devname.h \
escape.h \

View File

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