1 |
tdb |
1.1 |
# Makefile for libstatgrab/src/statgrab |
2 |
tdb |
1.8 |
# http://www.i-scream.org/libstatgrab/ |
3 |
tdb |
1.10 |
# $Id: Makefile.am,v 1.9 2004/02/15 21:18:37 tdb Exp $ |
4 |
tdb |
1.1 |
|
5 |
tdb |
1.4 |
if STATGRAB |
6 |
tdb |
1.1 |
bin_PROGRAMS = statgrab |
7 |
ats |
1.2 |
bin_SCRIPTS = statgrab-make-mrtg-config statgrab-make-mrtg-index |
8 |
tdb |
1.4 |
endif |
9 |
|
|
|
10 |
tdb |
1.1 |
statgrab_SOURCES = statgrab.c |
11 |
|
|
|
12 |
|
|
INCLUDES = -I$(top_srcdir) -I$(top_builddir) \ |
13 |
|
|
-I$(top_srcdir)/src -I$(top_builddir)/src\ |
14 |
|
|
-I$(top_srcdir)/src/libstatgrab -I$(top_builddir)/src/libstatgrab |
15 |
|
|
|
16 |
tdb |
1.3 |
LDADD = $(top_builddir)/src/libstatgrab/libstatgrab.la @LINKFLAGS@ |
17 |
tdb |
1.5 |
|
18 |
tdb |
1.6 |
install-exec-local: |
19 |
tdb |
1.7 |
if STATGRAB |
20 |
tdb |
1.5 |
if SETGIDBINS |
21 |
|
|
# Some operating systems need the binary to be setgid kmem |
22 |
tdb |
1.10 |
chgrp kmem $(DESTDIR)@bindir@/statgrab |
23 |
|
|
chmod g+s $(DESTDIR)@bindir@/statgrab |
24 |
tdb |
1.7 |
endif |
25 |
|
|
if SETUIDBINS |
26 |
|
|
# Some operating systems need the binary to be setuid root |
27 |
tdb |
1.10 |
chown root $(DESTDIR)@bindir@/statgrab |
28 |
|
|
chmod u+s $(DESTDIR)@bindir@/statgrab |
29 |
tdb |
1.6 |
endif |
30 |
tdb |
1.5 |
endif |