ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/sgps/Makefile.am
Revision: 1.1
Committed: Mon Apr 4 14:27:24 2005 UTC (19 years, 2 months ago) by tdb
Branch: MAIN
Log Message:
Add build bits for sgps.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for libstatgrab/src/sgps
2     # http://www.i-scream.org/libstatgrab/
3     # $Id$
4    
5     if SGPS
6     bin_PROGRAMS = sgps
7     endif
8    
9     sgps_SOURCES = sgps.c
10    
11     INCLUDES = -I$(top_srcdir) -I$(top_builddir) \
12     -I$(top_srcdir)/src -I$(top_builddir)/src\
13     -I$(top_srcdir)/src/libstatgrab -I$(top_builddir)/src/libstatgrab
14    
15     LDADD = $(top_builddir)/src/libstatgrab/libstatgrab.la @LINKFLAGS@
16    
17     install-exec-local:
18     if SGPS
19     if SETGIDBINS
20     # Some operating systems need the binary to be setgid kmem
21     chgrp kmem $(DESTDIR)@bindir@/sgps
22     chmod g+s $(DESTDIR)@bindir@/sgps
23     endif
24     if SETUIDBINS
25     # Some operating systems need the binary to be setuid root
26     chown root $(DESTDIR)@bindir@/sgps
27     chmod u+s $(DESTDIR)@bindir@/sgps
28     endif
29     endif