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

File Contents

# Content
1 # Makefile for libstatgrab/src/saidar
2 # http://www.i-scream.org/
3 # $Id: Makefile.am,v 1.3 2003/10/24 13:33:15 tdb Exp $
4
5 if SAIDAR
6 bin_PROGRAMS = saidar
7 endif
8
9 saidar_SOURCES = saidar.c
10
11 INCLUDES = @SAIDARCPPFLAGS@ -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 @SAIDARLIBS@ @LINKFLAGS@
16
17 install-exec-local:
18 if SAIDAR
19 if SETGIDBINS
20 # Some operating systems need the binary to be setgid kmem
21 chgrp kmem @bindir@/saidar
22 chmod g+s @bindir@/saidar
23 endif
24 if SETUIDBINS
25 # Some operating systems need the binary to be setuid root
26 chmod u+s @bindir@/saidar
27 endif
28 endif