2012-01-02 20:38:58 +05:30
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-include $(top_builddir)/config.h \
|
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-DLOCALEDIR=\"$(localedir)\"
|
2011-06-04 19:56:58 +05:30
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2011-10-09 00:44:21 +05:30
|
|
|
SUBDIRS = \
|
2011-10-19 14:07:03 +05:30
|
|
|
include \
|
2011-10-19 00:24:30 +05:30
|
|
|
lib \
|
2011-10-09 00:44:21 +05:30
|
|
|
po \
|
|
|
|
proc \
|
|
|
|
ps \
|
2011-10-12 00:32:59 +05:30
|
|
|
testsuite \
|
|
|
|
top
|
2011-06-04 19:56:58 +05:30
|
|
|
|
|
|
|
AM_CFLAGS = -Iproc
|
2011-12-23 03:48:43 +05:30
|
|
|
AM_LDFLAGS = ./proc/libprocps.la
|
2011-06-04 19:56:58 +05:30
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-05-20 12:57:14 +05:30
|
|
|
EXTRA_DIST = \
|
|
|
|
autogen.sh \
|
|
|
|
contrib \
|
|
|
|
COPYING.LIB \
|
|
|
|
misc/git-version-gen \
|
|
|
|
Documentation/CodingStyle \
|
|
|
|
Documentation/TODO \
|
2012-10-30 04:17:05 +05:30
|
|
|
sysctl.conf
|
2012-05-20 12:57:14 +05:30
|
|
|
|
2011-10-04 23:46:46 +05:30
|
|
|
if BUILD_KILL
|
|
|
|
bin_PROGRAMS = kill
|
|
|
|
dist_man_MANS += kill.1
|
2012-03-23 18:02:24 +05:30
|
|
|
kill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
2012-05-20 12:57:14 +05:30
|
|
|
else
|
|
|
|
EXTRA_DIST += kill.1
|
2011-10-04 23:46:46 +05:30
|
|
|
endif
|
|
|
|
|
2011-10-27 03:23:55 +05:30
|
|
|
if WITH_NCURSES
|
2011-06-04 19:56:58 +05:30
|
|
|
usrbin_exec_PROGRAMS += \
|
|
|
|
slabtop \
|
|
|
|
watch
|
|
|
|
dist_man_MANS += \
|
|
|
|
slabtop.1 \
|
|
|
|
watch.1
|
2012-03-23 18:02:24 +05:30
|
|
|
slabtop_SOURCES = slabtop.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
2011-06-04 19:56:58 +05:30
|
|
|
slabtop_LDADD = @NCURSES_LIBS@
|
2012-03-23 18:02:24 +05:30
|
|
|
watch_SOURCES = watch.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
2012-01-09 16:10:53 +05:30
|
|
|
watch_LDADD = @WATCH_NCURSES_LIBS@
|
2011-06-04 19:56:58 +05:30
|
|
|
endif
|
|
|
|
|
2012-03-16 01:59:13 +05:30
|
|
|
if BUILD_SKILL
|
|
|
|
usrbin_exec_PROGRAMS += \
|
|
|
|
skill \
|
|
|
|
snice
|
2012-03-23 18:02:24 +05:30
|
|
|
skill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
snice_SOURCES = skill.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
2012-03-16 01:59:13 +05:30
|
|
|
dist_man_MANS += \
|
|
|
|
skill.1 \
|
|
|
|
snice.1
|
2012-05-20 12:57:14 +05:30
|
|
|
else
|
|
|
|
EXTRA_DIST += \
|
|
|
|
skill.1 \
|
|
|
|
snice.1
|
2012-03-16 01:59:13 +05:30
|
|
|
endif
|
|
|
|
|
2012-03-23 18:02:24 +05:30
|
|
|
free_SOURCES = free.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
pgrep_SOURCES = pgrep.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
pkill_SOURCES = pgrep.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
pmap_SOURCES = pmap.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
pwdx_SOURCES = pwdx.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
sysctl_SOURCES = sysctl.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
tload_SOURCES = tload.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
uptime_SOURCES = uptime.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
vmstat_SOURCES = vmstat.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
w_SOURCES = w.c $(top_srcdir)/lib/fileutils.c
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2012-04-29 20:52:29 +05:30
|
|
|
if EXAMPLE_FILES
|
2011-06-04 19:56:58 +05:30
|
|
|
sysconf_DATA = sysctl.conf
|
2012-04-29 20:52:29 +05:30
|
|
|
endif
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2011-10-06 19:56:24 +05:30
|
|
|
procpsngdir = $(docdir)
|
|
|
|
dist_procpsng_DATA = \
|
2012-01-07 22:27:07 +05:30
|
|
|
Documentation/BUGS \
|
|
|
|
Documentation/FAQ
|
2012-05-20 12:57:14 +05:30
|
|
|
|
2012-06-24 16:21:18 +05:30
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
2012-05-20 12:57:14 +05:30
|
|
|
$(top_srcdir)/.version:
|
2012-06-24 16:21:18 +05:30
|
|
|
touch $(top_srcdir)/.version
|
2012-05-20 12:57:14 +05:30
|
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
dist-hook:
|
|
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
|
|
|
|