2012-01-02 23:08:58 +08:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-include $(top_builddir)/config.h \
|
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-DLOCALEDIR=\"$(localedir)\"
|
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 \
|
2011-10-12 03:02:59 +08:00
|
|
|
testsuite \
|
|
|
|
top
|
2011-06-04 22:26:58 +08:00
|
|
|
|
|
|
|
AM_CFLAGS = -Iproc
|
2011-12-23 06:18:43 +08:00
|
|
|
AM_LDFLAGS = ./proc/libprocps.la
|
2011-06-04 22:26:58 +08:00
|
|
|
|
|
|
|
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 15:27:14 +08:00
|
|
|
EXTRA_DIST = \
|
|
|
|
autogen.sh \
|
|
|
|
contrib \
|
|
|
|
COPYING.LIB \
|
|
|
|
misc/git-version-gen \
|
|
|
|
Documentation/CodingStyle \
|
|
|
|
Documentation/TODO \
|
2012-10-30 06:47:05 +08:00
|
|
|
sysctl.conf
|
2012-05-20 15:27:14 +08:00
|
|
|
|
2013-10-05 02:35:01 +08:00
|
|
|
if BUILD_PIDOF
|
|
|
|
usrbin_exec_PROGRAMS += pidof
|
|
|
|
dist_man_MANS += pidof.1
|
|
|
|
pidof_SOURCES = pidof.c $(top_srcdir)/lib/fileutils.c
|
|
|
|
else
|
|
|
|
EXTRA_DIST += pidof.1
|
|
|
|
endif
|
|
|
|
|
2011-10-05 02:16:46 +08:00
|
|
|
if BUILD_KILL
|
|
|
|
bin_PROGRAMS = kill
|
|
|
|
dist_man_MANS += kill.1
|
2013-04-17 00:07:10 +08:00
|
|
|
kill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c $(top_srcdir)/lib/nsutils.c
|
2012-05-20 15:27:14 +08:00
|
|
|
else
|
|
|
|
EXTRA_DIST += kill.1
|
2011-10-05 02:16:46 +08:00
|
|
|
endif
|
|
|
|
|
2011-10-27 05:53:55 +08:00
|
|
|
if WITH_NCURSES
|
2011-06-04 22:26:58 +08:00
|
|
|
usrbin_exec_PROGRAMS += \
|
|
|
|
slabtop \
|
|
|
|
watch
|
|
|
|
dist_man_MANS += \
|
|
|
|
slabtop.1 \
|
|
|
|
watch.1
|
2012-03-23 20:32:24 +08:00
|
|
|
slabtop_SOURCES = slabtop.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
2011-06-04 22:26:58 +08:00
|
|
|
slabtop_LDADD = @NCURSES_LIBS@
|
2012-03-23 20:32:24 +08:00
|
|
|
watch_SOURCES = watch.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
2012-01-09 18:40:53 +08:00
|
|
|
watch_LDADD = @WATCH_NCURSES_LIBS@
|
2011-06-04 22:26:58 +08:00
|
|
|
endif
|
|
|
|
|
2012-03-16 04:29:13 +08:00
|
|
|
if BUILD_SKILL
|
|
|
|
usrbin_exec_PROGRAMS += \
|
|
|
|
skill \
|
|
|
|
snice
|
2013-04-17 00:07:10 +08:00
|
|
|
skill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c $(top_srcdir)/lib/nsutils.c
|
|
|
|
snice_SOURCES = skill.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c $(top_srcdir)/lib/nsutils.c
|
2012-03-16 04:29:13 +08:00
|
|
|
dist_man_MANS += \
|
|
|
|
skill.1 \
|
|
|
|
snice.1
|
2012-05-20 15:27:14 +08:00
|
|
|
else
|
|
|
|
EXTRA_DIST += \
|
|
|
|
skill.1 \
|
|
|
|
snice.1
|
2012-03-16 04:29:13 +08:00
|
|
|
endif
|
|
|
|
|
2012-03-23 20:32:24 +08:00
|
|
|
free_SOURCES = free.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c
|
2013-04-13 02:40:27 +08:00
|
|
|
pgrep_SOURCES = pgrep.c $(top_srcdir)/lib/fileutils.c $(top_srcdir)/lib/nsutils.c
|
|
|
|
pkill_SOURCES = pgrep.c $(top_srcdir)/lib/fileutils.c $(top_srcdir)/lib/nsutils.c
|
2012-03-23 20:32:24 +08:00
|
|
|
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 22:26:58 +08:00
|
|
|
|
2012-04-29 23:22:29 +08:00
|
|
|
if EXAMPLE_FILES
|
2011-06-04 22:26:58 +08:00
|
|
|
sysconf_DATA = sysctl.conf
|
2012-04-29 23:22:29 +08:00
|
|
|
endif
|
2011-06-04 22:26:58 +08:00
|
|
|
|
2011-10-06 22:26:24 +08:00
|
|
|
procpsngdir = $(docdir)
|
|
|
|
dist_procpsng_DATA = \
|
2012-01-08 00:57:07 +08:00
|
|
|
Documentation/BUGS \
|
|
|
|
Documentation/FAQ
|
2012-05-20 15:27:14 +08:00
|
|
|
|
2012-06-24 18:51:18 +08:00
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
2012-05-20 15:27:14 +08:00
|
|
|
$(top_srcdir)/.version:
|
2012-06-24 18:51:18 +08:00
|
|
|
touch $(top_srcdir)/.version
|
2012-05-20 15:27:14 +08:00
|
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
dist-hook:
|
|
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
|
|
|
|
2014-02-22 08:34:53 +08:00
|
|
|
get-trans:
|
2014-04-17 15:12:01 +08:00
|
|
|
rsync -Lrtvz translationproject.org::tp/latest/procps-ng/ po
|