ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/statgrab/Makefile.am
Revision: 1.5
Committed: Thu Oct 9 10:37:42 2003 UTC (21 years ago) by tdb
Branch: MAIN
CVS Tags: LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6
Changes since 1.4: +10 -1 lines
Log Message:
Enable binaries being setgid kmem on FreeBSD. Will set this based on
the operating system, but is overridable using a configure flag.

File Contents

# Content
1 # Makefile for libstatgrab/src/statgrab
2 # http://www.i-scream.org/
3 # $Id: Makefile.am,v 1.4 2003/10/04 16:05:57 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 if SETGIDBINS
19 # Some operating systems need the binary to be setgid kmem
20 install-exec-local:
21 chgrp kmem @bindir@/statgrab
22 chmod g+s @bindir@/statgrab
23 else
24 install-exec-local:
25 endif