2014-06-24 17:50:13 +05:30
|
|
|
#AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
|
2012-01-02 20:38:58 +05:30
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-include $(top_builddir)/config.h \
|
2015-05-02 05:39:39 +05:30
|
|
|
-I$(top_srcdir) \
|
2012-01-02 20:38:58 +05:30
|
|
|
-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 \
|
2014-06-28 19:08:13 +05:30
|
|
|
man-po \
|
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 \
|
2014-09-15 23:25:13 +05:30
|
|
|
w.1
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2012-05-20 12:57:14 +05:30
|
|
|
EXTRA_DIST = \
|
|
|
|
autogen.sh \
|
|
|
|
contrib \
|
|
|
|
COPYING.LIB \
|
|
|
|
misc/git-version-gen \
|
|
|
|
Documentation/CodingStyle \
|
|
|
|
Documentation/TODO \
|
2014-06-25 18:41:15 +05:30
|
|
|
sysctl.conf \
|
|
|
|
$(DIST_MAN_POTS)
|
2012-05-20 12:57:14 +05:30
|
|
|
|
2013-10-05 00:05:01 +05:30
|
|
|
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-04 23:46:46 +05:30
|
|
|
if BUILD_KILL
|
|
|
|
bin_PROGRAMS = kill
|
|
|
|
dist_man_MANS += kill.1
|
2013-04-16 21:37:10 +05:30
|
|
|
kill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/fileutils.c $(top_srcdir)/lib/nsutils.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
|
2013-04-16 21:37:10 +05:30
|
|
|
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 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
|
2013-04-13 00:10:27 +05:30
|
|
|
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 18:02:24 +05:30
|
|
|
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
|
2014-06-24 17:50:13 +05:30
|
|
|
|
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
|
2014-06-25 18:41:15 +05:30
|
|
|
|
2014-02-22 06:04:53 +05:30
|
|
|
get-trans:
|
2014-05-28 15:21:37 +05:30
|
|
|
echo "Getting the latest translations from translationproject.org..."
|
2014-04-17 12:42:01 +05:30
|
|
|
rsync -Lrtvz translationproject.org::tp/latest/procps-ng/ po
|
2014-05-28 15:21:37 +05:30
|
|
|
rsync -Lrtvz translationproject.org::tp/latest/procps-ng-man/ man-po
|
|
|
|
rsync -Lrtvz translationproject.org::tp/latest/procps-ng-man-ps/ man-po/ps
|
|
|
|
rsync -Lrtvz translationproject.org::tp/latest/procps-ng-man-top/ man-po/top
|