procps/Makefile.am
Sami Kerola 1462c4e581 skill, snice: do not encourage building these utilities
Both skill and snice are are mentioned in manual page to be 'obsolete
and unportable'.  This commit discourages distributors to keep these
commands part of default system.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-03-16 14:34:21 +01:00

95 lines
1.5 KiB
Makefile

AM_CPPFLAGS = \
-include $(top_builddir)/config.h \
-I$(top_srcdir)/include \
-DLOCALEDIR=\"$(localedir)\"
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
include \
lib \
po \
proc \
ps \
testsuite \
top
AM_CFLAGS = -Iproc
AM_LDFLAGS = ./proc/libprocps.la
sbin_PROGRAMS = \
sysctl
usrbin_exec_PROGRAMS = \
free \
pgrep \
pkill \
pmap \
pwdx \
tload \
uptime \
vmstat \
w
dist_man_MANS = \
free.1 \
pgrep.1 \
pkill.1 \
pmap.1 \
pwdx.1 \
sysctl.8 \
sysctl.conf.5 \
tload.1 \
uptime.1 \
vmstat.8 \
w.1
if BUILD_KILL
bin_PROGRAMS = kill
dist_man_MANS += kill.1
endif
if WITH_NCURSES
usrbin_exec_PROGRAMS += \
slabtop \
watch
dist_man_MANS += \
slabtop.1 \
watch.1
slabtop_SOURCES = slabtop.c $(top_srcdir)/lib/strutils.c
slabtop_LDADD = @NCURSES_LIBS@
watch_SOURCES = watch.c $(top_srcdir)/lib/strutils.c
watch_LDADD = @WATCH_NCURSES_LIBS@
endif
if BUILD_SKILL
usrbin_exec_PROGRAMS += \
skill \
snice
skill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c
snice_SOURCES = skill.c $(top_srcdir)/lib/strutils.c
dist_man_MANS += \
skill.1 \
snice.1
endif
kill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c
tload_SOURCES = tload.c $(top_srcdir)/lib/strutils.c
pkill_SOURCES = pgrep.c
free_SOURCES = free.c $(top_srcdir)/lib/strutils.c
vmstat_SOURCES = vmstat.c $(top_srcdir)/lib/strutils.c
sysconf_DATA = sysctl.conf
EXTRA_DIST = \
autogen.sh \
contrib \
COPYING.LIB \
Documentation/CodingStyle \
Documentation/TODO \
$(sysconf_DATA)
procpsngdir = $(docdir)
dist_procpsng_DATA = \
Documentation/BUGS \
Documentation/FAQ