--- projects/libstatgrab/src/saidar/Makefile.am 2003/10/04 16:05:57 1.1 +++ projects/libstatgrab/src/saidar/Makefile.am 2004/06/18 23:45:40 1.7 @@ -1,6 +1,6 @@ # Makefile for libstatgrab/src/saidar -# http://www.i-scream.org/ -# $Id: Makefile.am,v 1.1 2003/10/04 16:05:57 tdb Exp $ +# http://www.i-scream.org/libstatgrab/ +# $Id: Makefile.am,v 1.7 2004/06/18 23:45:40 tdb Exp $ if SAIDAR bin_PROGRAMS = saidar @@ -13,3 +13,17 @@ INCLUDES = @SAIDARCPPFLAGS@ -I$(top_srcdir) -I$(top_bu -I$(top_srcdir)/src/libstatgrab -I$(top_builddir)/src/libstatgrab LDADD = $(top_builddir)/src/libstatgrab/libstatgrab.la @SAIDARLIBS@ @LINKFLAGS@ + +install-exec-local: +if SAIDAR +if SETGIDBINS +# Some operating systems need the binary to be setgid kmem + chgrp kmem $(DESTDIR)@bindir@/saidar + chmod g+s $(DESTDIR)@bindir@/saidar +endif +if SETUIDBINS +# Some operating systems need the binary to be setuid root + chown root $(DESTDIR)@bindir@/saidar + chmod u+s $(DESTDIR)@bindir@/saidar +endif +endif