From c14ecfe452046c00ffe83171ec7f9b64ff374795 Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Mon, 2 May 2011 18:47:10 -0400 Subject: Make strcasestr() and strchrnul() into separate compat files Force everyone to use compat functions not just Solaris Remove libsysfs from buildconf Add libtool support (needed for libdusercompat.a) --- src/Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index ba9d267..ecfb6de 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,11 @@ -sbin_PROGRAMS= duser +sbin_PROGRAMS= duser -duser_SOURCES= compat.c \ - duser.c \ +LIBCOMPAT_LDADDS= $(top_builddir)/compat/libdusercompat.a + +AM_CPPFLAGS= -I$(top_srcdir)/include + +duser_LDFLAGS= -L$(top_srcdir)/compat +duser_SOURCES= duser.c \ user.c \ util.c \ log.c \ -- cgit