From d567c868187572d94b306f9df57a61bae1cf271b Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sat, 22 Jan 2000 22:14:36 +0000 Subject: [PATCH] Install the library in $(backenddir). 2000-01-22 Martin Baulig * Makefile.am: Install the library in $(backenddir). --- sysdeps/linux/ChangeLog | 4 ++++ sysdeps/linux/Makefile.am | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sysdeps/linux/ChangeLog b/sysdeps/linux/ChangeLog index 10b66fad..fda368d0 100644 --- a/sysdeps/linux/ChangeLog +++ b/sysdeps/linux/ChangeLog @@ -1,3 +1,7 @@ +2000-01-22 Martin Baulig + + * Makefile.am: Install the library in $(backenddir). + 1999-12-11 Martin Baulig * cpu.c: Only set smp flags when we're really on a SMP machine. diff --git a/sysdeps/linux/Makefile.am b/sysdeps/linux/Makefile.am index b0b455a3..54791821 100644 --- a/sysdeps/linux/Makefile.am +++ b/sysdeps/linux/Makefile.am @@ -2,7 +2,9 @@ LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ INCLUDES = @INCLUDES@ -lib_LTLIBRARIES = libgtop_sysdeps.la +backenddir = @LIBGTOP_BACKEND_DIR@ + +backend_LTLIBRARIES = libgtop_sysdeps.la libgtop_sysdeps_la_SOURCES = open.c close.c cpu.c mem.c swap.c \ uptime.c loadavg.c shm_limits.c msg_limits.c \ @@ -13,6 +15,6 @@ libgtop_sysdeps_la_SOURCES = open.c close.c cpu.c mem.c swap.c \ ppp.c libgtop_sysdeps_la_LIBADD = @GLIB_LIBS@ -libgtop_sysdeps_la_LDFLAGS = $(LT_VERSION_INFO) +libgtop_sysdeps_la_LDFLAGS = $(LT_VERSION_INFO) -export-dynamic include_HEADERS = glibtop_server.h glibtop_machine.h