1 |
tdb |
1.1 |
# Makefile for libstatgrab/src/sgps |
2 |
|
|
# http://www.i-scream.org/libstatgrab/ |
3 |
tdb |
1.2 |
# $Id: Makefile.am,v 1.1 2005/04/04 14:27:24 tdb Exp $ |
4 |
tdb |
1.1 |
|
5 |
|
|
if SGPS |
6 |
|
|
bin_PROGRAMS = sgps |
7 |
|
|
endif |
8 |
|
|
|
9 |
|
|
sgps_SOURCES = sgps.c |
10 |
|
|
|
11 |
|
|
INCLUDES = -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 @LINKFLAGS@ |
16 |
|
|
|
17 |
|
|
install-exec-local: |
18 |
|
|
if SGPS |
19 |
|
|
if SETGIDBINS |
20 |
|
|
# Some operating systems need the binary to be setgid kmem |
21 |
|
|
chgrp kmem $(DESTDIR)@bindir@/sgps |
22 |
|
|
chmod g+s $(DESTDIR)@bindir@/sgps |
23 |
|
|
endif |
24 |
|
|
if SETUIDBINS |
25 |
|
|
# Some operating systems need the binary to be setuid root |
26 |
|
|
chown root $(DESTDIR)@bindir@/sgps |
27 |
|
|
chmod u+s $(DESTDIR)@bindir@/sgps |
28 |
|
|
endif |
29 |
|
|
endif |