procps/Makefile.am
Sami Kerola 741de935ef slabtop: use strutils.c to validate user input
This commit fixes also peculiar behavior of

$ slabtop -d 0

which did not make sense. The fix is to disallow anything else but
positive integers, which includes zero as is is not positive (or
negative) number.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-12-20 17:30:54 +01:00

88 lines
1.3 KiB
Makefile

AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
include \
lib \
po \
proc \
ps \
testsuite
AM_CFLAGS = -Iproc
AM_LDFLAGS = ./proc/libprocfs.la
sbin_PROGRAMS = \
sysctl
usrbin_exec_PROGRAMS = \
free \
pgrep \
pkill \
pmap \
pwdx \
skill \
snice \
tload \
uptime \
vmstat \
w
dist_man_MANS = \
free.1 \
pgrep.1 \
pkill.1 \
pmap.1 \
pwdx.1 \
skill.1 \
snice.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 \
top \
watch
top_SOURCES = top.c top.h
dist_man_MANS += \
slabtop.1 \
top.1 \
watch.1
slabtop_SOURCES = slabtop.c $(top_srcdir)/lib/strutils.c
slabtop_LDADD = @NCURSES_LIBS@
top_LDADD = @NCURSES_LIBS@
watch_LDADD = @WATCH_NCURSES_LIBS@
endif
kill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c
skill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c
snice_SOURCES = skill.c $(top_srcdir)/lib/strutils.c
tload_SOURCES = tload.c $(top_srcdir)/lib/strutils.c
pkill_SOURCES = pgrep.c
vmstat_SOURCES = vmstat.c $(top_srcdir)/lib/strutils.c
sysconf_DATA = sysctl.conf
EXTRA_DIST = \
autogen.sh \
CodingStyle \
contrib \
COPYING.LIB \
$(sysconf_DATA)
procpsngdir = $(docdir)
dist_procpsng_DATA = \
BUGS \
FAQ \
README.top