2011-10-09 03:14:21 +08:00
|
|
|
AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include
|
2011-06-04 22:26:58 +08:00
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2011-10-09 03:14:21 +08:00
|
|
|
SUBDIRS = \
|
2011-10-19 16:37:03 +08:00
|
|
|
include \
|
2011-10-19 02:54:30 +08:00
|
|
|
lib \
|
2011-10-09 03:14:21 +08:00
|
|
|
po \
|
|
|
|
proc \
|
|
|
|
ps \
|
|
|
|
testsuite
|
2011-06-04 22:26:58 +08:00
|
|
|
|
|
|
|
AM_CFLAGS = -Iproc
|
2011-12-17 19:35:05 +08:00
|
|
|
AM_LDFLAGS = ./proc/libprocfs.la
|
2011-06-04 22:26:58 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2011-10-05 02:16:46 +08:00
|
|
|
if BUILD_KILL
|
|
|
|
bin_PROGRAMS = kill
|
|
|
|
dist_man_MANS += kill.1
|
|
|
|
endif
|
|
|
|
|
2011-10-27 05:53:55 +08:00
|
|
|
if WITH_NCURSES
|
2011-06-04 22:26:58 +08:00
|
|
|
usrbin_exec_PROGRAMS += \
|
|
|
|
slabtop \
|
|
|
|
top \
|
|
|
|
watch
|
|
|
|
top_SOURCES = top.c top.h
|
|
|
|
dist_man_MANS += \
|
|
|
|
slabtop.1 \
|
|
|
|
top.1 \
|
|
|
|
watch.1
|
2011-12-18 22:12:06 +08:00
|
|
|
slabtop_SOURCES = slabtop.c $(top_srcdir)/lib/strutils.c
|
2011-06-04 22:26:58 +08:00
|
|
|
slabtop_LDADD = @NCURSES_LIBS@
|
|
|
|
top_LDADD = @NCURSES_LIBS@
|
2011-12-18 23:07:44 +08:00
|
|
|
watch_SOURCES = watch.c $(top_srcdir)/lib/strutils.c
|
|
|
|
watch_LDADD = @NCURSES_LIBS@
|
2011-06-04 22:26:58 +08:00
|
|
|
endif
|
|
|
|
|
2011-10-19 03:38:15 +08:00
|
|
|
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
|
2011-12-18 21:29:19 +08:00
|
|
|
tload_SOURCES = tload.c $(top_srcdir)/lib/strutils.c
|
2011-06-04 22:26:58 +08:00
|
|
|
pkill_SOURCES = pgrep.c
|
2011-12-18 21:55:30 +08:00
|
|
|
vmstat_SOURCES = vmstat.c $(top_srcdir)/lib/strutils.c
|
2011-06-04 22:26:58 +08:00
|
|
|
|
|
|
|
sysconf_DATA = sysctl.conf
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
autogen.sh \
|
|
|
|
CodingStyle \
|
2011-10-19 15:39:36 +08:00
|
|
|
contrib \
|
2011-06-04 22:26:58 +08:00
|
|
|
COPYING.LIB \
|
|
|
|
$(sysconf_DATA)
|
2011-10-06 22:26:24 +08:00
|
|
|
|
|
|
|
procpsngdir = $(docdir)
|
|
|
|
dist_procpsng_DATA = \
|
|
|
|
BUGS \
|
|
|
|
FAQ \
|
|
|
|
README.top
|