1 |
tdb |
1.1 |
# Makefile for libstatgrab/src/saidar |
2 |
tdb |
1.5 |
# http://www.i-scream.org/libstatgrab/ |
3 |
|
|
# $Id: Makefile.am,v 1.4 2003/12/12 09:48:20 tdb Exp $ |
4 |
tdb |
1.1 |
|
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 |
tdb |
1.2 |
|
17 |
tdb |
1.3 |
install-exec-local: |
18 |
tdb |
1.4 |
if SAIDAR |
19 |
tdb |
1.2 |
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 |
tdb |
1.4 |
endif |
24 |
|
|
if SETUIDBINS |
25 |
|
|
# Some operating systems need the binary to be setuid root |
26 |
|
|
chmod u+s @bindir@/saidar |
27 |
tdb |
1.3 |
endif |
28 |
tdb |
1.2 |
endif |