1 |
# Makefile for libstatgrab/src/saidar |
2 |
# http://www.i-scream.org/libstatgrab/ |
3 |
# $Id: Makefile.am,v 1.5 2004/01/19 16:49:23 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 |
chown root @bindir@/saidar |
27 |
chmod u+s @bindir@/saidar |
28 |
endif |
29 |
endif |