ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/statgrab/Makefile.am
(Generate patch)

Comparing projects/libstatgrab/src/statgrab/Makefile.am (file contents):
Revision 1.3 by tdb, Mon Sep 29 08:59:21 2003 UTC vs.
Revision 1.10 by tdb, Fri Jun 18 23:45:41 2004 UTC

# Line 1 | Line 1
1   # Makefile for libstatgrab/src/statgrab
2 < # http://www.i-scream.org/
2 > # http://www.i-scream.org/libstatgrab/
3   # $Id$
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) \
# Line 11 | Line 14 | INCLUDES = -I$(top_srcdir) -I$(top_builddir) \
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 $(DESTDIR)@bindir@/statgrab
23 +        chmod g+s $(DESTDIR)@bindir@/statgrab
24 + endif
25 + if SETUIDBINS
26 + # Some operating systems need the binary to be setuid root
27 +        chown root $(DESTDIR)@bindir@/statgrab
28 +        chmod u+s $(DESTDIR)@bindir@/statgrab
29 + endif
30 + endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines