summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 3c5be856cb2e3c7e71fa156bf488efc122bd95fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
AM_CPPFLAGS = -include $(top_builddir)/config.h

ACLOCAL_AMFLAGS = -I m4
SUBDIRS = 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_LDADD = @NCURSES_LIBS@
top_LDADD = @NCURSES_LIBS@
watch_LDADD = @WATCH_NCURSES_LIBS@
endif

kill_SOURCES = skill.c
snice_SOURCES = skill.c
pkill_SOURCES = pgrep.c

sysconf_DATA = sysctl.conf

EXTRA_DIST = \
	autogen.sh \
	CodingStyle \
	contrib/ \
	COPYING.LIB \
	$(sysconf_DATA)

procpsngdir = $(docdir)
dist_procpsng_DATA = \
	BUGS \
	FAQ \
	README.top