ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/statgrab/Makefile.am
Revision: 1.7
Committed: Fri Dec 12 09:48:21 2003 UTC (20 years, 5 months ago) by tdb
Branch: MAIN
CVS Tags: LIBSTATGRAB_0_8
Changes since 1.6: +6 -2 lines
Log Message:
On Solaris we sometimes need to be setuid root.

File Contents

# Content
1 # Makefile for libstatgrab/src/statgrab
2 # http://www.i-scream.org/
3 # $Id: Makefile.am,v 1.6 2003/10/24 13:33:15 tdb Exp $
4
5 if STATGRAB
6 bin_PROGRAMS = statgrab
7 bin_SCRIPTS = statgrab-make-mrtg-config statgrab-make-mrtg-index
8 endif
9
10 statgrab_SOURCES = statgrab.c
11
12 INCLUDES = -I$(top_srcdir) -I$(top_builddir) \
13 -I$(top_srcdir)/src -I$(top_builddir)/src\
14 -I$(top_srcdir)/src/libstatgrab -I$(top_builddir)/src/libstatgrab
15
16 LDADD = $(top_builddir)/src/libstatgrab/libstatgrab.la @LINKFLAGS@
17
18 install-exec-local:
19 if STATGRAB
20 if SETGIDBINS
21 # Some operating systems need the binary to be setgid kmem
22 chgrp kmem @bindir@/statgrab
23 chmod g+s @bindir@/statgrab
24 endif
25 if SETUIDBINS
26 # Some operating systems need the binary to be setuid root
27 chmod u+s @bindir@/statgrab
28 endif
29 endif