| 1 |
# Makefile for libstatgrab/src/saidar |
| 2 |
# http://www.i-scream.org/libstatgrab/ |
| 3 |
# $Id: Makefile.am,v 1.4 2003/12/12 09:48:20 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 |