2016-03-11 04:34:27 +05:30
|
|
|
CYGWINFLAGS =
|
|
|
|
if CYGWIN
|
2017-08-19 18:35:22 +05:30
|
|
|
CYGWINFLAGS += -lintl
|
|
|
|
usrbin_exec_PROGRAMS =
|
2016-03-11 04:34:27 +05:30
|
|
|
endif
|
|
|
|
|
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 \
|
2016-04-25 12:37:22 +05:30
|
|
|
-DLOCALEDIR=\"$(localedir)\" \
|
|
|
|
@HARDEN_CFLAGS@
|
|
|
|
|
|
|
|
AM_LDFLAGS = @HARDEN_LDFLAGS@
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2015-05-02 09:58:53 +05:30
|
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
|
|
|
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 \
|
2014-06-28 19:08:13 +05:30
|
|
|
man-po \
|
2011-10-09 00:44:21 +05:30
|
|
|
po \
|
2015-05-02 09:58:53 +05:30
|
|
|
testsuite
|
2011-06-04 19:56:58 +05:30
|
|
|
|
|
|
|
AM_CFLAGS = -Iproc
|
2016-03-11 04:34:27 +05:30
|
|
|
LDADD = ./proc/libprocps.la $(CYGWINFLAGS)
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2017-08-19 18:35:22 +05:30
|
|
|
if CYGWIN
|
|
|
|
AM_LDFLAGS += ./proc/libprocps.la $(CYGWINFLAGS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
transform =
|
|
|
|
|
|
|
|
if !CYGWIN
|
|
|
|
transform += s/pscommand/ps/; $(program_transform_name)
|
|
|
|
sbin_PROGRAMS = \
|
|
|
|
sysctl
|
|
|
|
else
|
|
|
|
transform += s/pscommand/procps/; $(program_transform_name)
|
|
|
|
endif
|
2015-05-02 09:58:53 +05:30
|
|
|
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
2015-05-02 09:58:53 +05:30
|
|
|
bin_PROGRAMS = \
|
2015-05-02 11:57:13 +05:30
|
|
|
ps/pscommand \
|
2011-06-04 19:56:58 +05:30
|
|
|
free \
|
|
|
|
pgrep \
|
|
|
|
pkill \
|
|
|
|
pmap \
|
|
|
|
pwdx \
|
|
|
|
tload \
|
|
|
|
uptime \
|
|
|
|
vmstat \
|
|
|
|
w
|
2017-08-19 18:35:22 +05:30
|
|
|
else
|
|
|
|
usrbin_exec_PROGRAMS += \
|
|
|
|
ps/pscommand \
|
|
|
|
free \
|
|
|
|
pgrep \
|
|
|
|
pkill \
|
|
|
|
pmap \
|
|
|
|
uptime \
|
|
|
|
vmstat \
|
|
|
|
w
|
|
|
|
endif
|
2015-05-02 11:57:13 +05:30
|
|
|
|
|
|
|
lib_LTLIBRARIES = \
|
|
|
|
proc/libprocps.la
|
|
|
|
|
2011-06-04 19:56:58 +05:30
|
|
|
dist_man_MANS = \
|
|
|
|
free.1 \
|
|
|
|
pgrep.1 \
|
|
|
|
pkill.1 \
|
|
|
|
pmap.1 \
|
|
|
|
uptime.1 \
|
|
|
|
vmstat.8 \
|
2015-05-02 09:58:53 +05:30
|
|
|
w.1 \
|
2020-06-22 10:30:00 +05:30
|
|
|
doc/procps.3 \
|
2016-04-17 03:33:35 +05:30
|
|
|
doc/procps_linux_version.3 \
|
2020-05-18 17:12:49 +05:30
|
|
|
doc/procps_ns_get_id.3 \
|
|
|
|
doc/procps_ns_get_name.3 \
|
|
|
|
doc/procps_ns_read_pid.3 \
|
2020-06-22 10:30:00 +05:30
|
|
|
doc/procps_pids.3 \
|
2016-04-17 03:33:35 +05:30
|
|
|
doc/procps_uptime.3 \
|
|
|
|
doc/procps_uptime_sprint.3 \
|
|
|
|
doc/procps_uptime_sprint_short.3
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
|
|
|
dist_man_MANS += \
|
|
|
|
pwdx.1 \
|
|
|
|
tload.1 \
|
|
|
|
sysctl.8 \
|
|
|
|
sysctl.conf.5 \
|
|
|
|
ps/ps.1
|
|
|
|
endif
|
|
|
|
|
2012-05-20 12:57:14 +05:30
|
|
|
EXTRA_DIST = \
|
2015-08-09 11:57:37 +05:30
|
|
|
.version \
|
2012-05-20 12:57:14 +05:30
|
|
|
autogen.sh \
|
|
|
|
contrib \
|
|
|
|
COPYING.LIB \
|
|
|
|
misc/git-version-gen \
|
2015-05-10 13:19:11 +05:30
|
|
|
Documentation/CodingStyle.md \
|
2012-05-20 12:57:14 +05:30
|
|
|
Documentation/TODO \
|
2015-05-02 09:58:53 +05:30
|
|
|
ps/HACKING \
|
|
|
|
ps/regression \
|
2014-06-25 18:41:15 +05:30
|
|
|
$(DIST_MAN_POTS)
|
2012-05-20 12:57:14 +05:30
|
|
|
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
|
|
|
EXTRA_DIST += \
|
|
|
|
sysctl.conf
|
|
|
|
endif
|
|
|
|
|
2015-05-02 09:58:53 +05:30
|
|
|
procpsngdir = $(docdir)
|
|
|
|
dist_procpsng_DATA = \
|
2015-05-10 13:19:11 +05:30
|
|
|
Documentation/bugs.md \
|
2015-05-02 09:58:53 +05:30
|
|
|
Documentation/FAQ
|
|
|
|
|
2013-10-05 00:05:01 +05:30
|
|
|
if BUILD_PIDOF
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
2015-05-02 11:57:13 +05:30
|
|
|
bin_PROGRAMS += pidof
|
2017-08-19 18:35:22 +05:30
|
|
|
else
|
|
|
|
usrbin_exec_PROGRAMS += pidof
|
|
|
|
endif
|
2013-10-05 00:05:01 +05:30
|
|
|
dist_man_MANS += pidof.1
|
2015-05-02 10:06:40 +05:30
|
|
|
pidof_SOURCES = pidof.c lib/fileutils.c
|
2013-10-05 00:05:01 +05:30
|
|
|
else
|
|
|
|
EXTRA_DIST += pidof.1
|
|
|
|
endif
|
|
|
|
|
2011-10-04 23:46:46 +05:30
|
|
|
if BUILD_KILL
|
2017-08-19 18:35:22 +05:30
|
|
|
if CYGWIN
|
|
|
|
transform += ;s/^kill/prockill/; $(program_transform_name)
|
|
|
|
usrbin_exec_PROGRAMS += kill
|
|
|
|
else
|
2015-05-02 09:58:53 +05:30
|
|
|
bin_PROGRAMS += kill
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
2011-10-04 23:46:46 +05:30
|
|
|
dist_man_MANS += kill.1
|
2015-09-26 04:43:13 +05:30
|
|
|
kill_SOURCES = kill.c lib/strutils.c lib/fileutils.c lib/signals.c
|
2015-12-01 10:30:00 +05:30
|
|
|
kill_LDADD =
|
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
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
2015-05-02 11:57:13 +05:30
|
|
|
bin_PROGRAMS += \
|
2015-05-02 09:58:53 +05:30
|
|
|
watch \
|
|
|
|
top/top
|
2017-08-19 18:35:22 +05:30
|
|
|
else
|
|
|
|
usrbin_exec_PROGRAMS += \
|
|
|
|
watch \
|
|
|
|
top/top
|
|
|
|
endif
|
|
|
|
|
2011-06-04 19:56:58 +05:30
|
|
|
dist_man_MANS += \
|
2015-05-02 09:58:53 +05:30
|
|
|
watch.1 \
|
|
|
|
top/top.1
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
|
|
|
bin_PROGRAMS += \
|
|
|
|
slabtop
|
|
|
|
dist_man_MANS += \
|
|
|
|
slabtop.1
|
2015-05-02 10:06:40 +05:30
|
|
|
slabtop_SOURCES = slabtop.c lib/strutils.c lib/fileutils.c
|
2015-05-12 01:01:59 +05:30
|
|
|
slabtop_LDADD = $(LDADD) @NCURSES_LIBS@
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
2015-05-02 10:06:40 +05:30
|
|
|
watch_SOURCES = watch.c lib/strutils.c lib/fileutils.c
|
2016-03-11 04:34:27 +05:30
|
|
|
watch_LDADD = @WATCH_NCURSES_LIBS@ $(CYGWINFLAGS)
|
2015-05-02 09:58:53 +05:30
|
|
|
top_top_SOURCES = \
|
|
|
|
top/top.h \
|
|
|
|
top/top.c \
|
|
|
|
top/top_nls.h \
|
|
|
|
top/top_nls.c \
|
2015-06-29 17:39:59 +05:30
|
|
|
lib/fileutils.c \
|
2015-06-29 17:22:51 +05:30
|
|
|
lib/signals.c
|
2016-03-11 04:34:27 +05:30
|
|
|
if CYGWIN
|
2017-08-19 18:35:22 +05:30
|
|
|
top_top_SOURCES += lib/strverscmp.c
|
2016-03-11 04:34:27 +05:30
|
|
|
endif
|
|
|
|
|
2015-05-12 01:01:59 +05:30
|
|
|
top_top_LDADD = $(LDADD) @NCURSES_LIBS@ $(DL_LIB)
|
2011-06-04 19:56:58 +05:30
|
|
|
endif
|
|
|
|
|
2012-03-16 01:59:13 +05:30
|
|
|
if BUILD_SKILL
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
2015-05-02 11:57:13 +05:30
|
|
|
bin_PROGRAMS += \
|
2012-03-16 01:59:13 +05:30
|
|
|
skill \
|
|
|
|
snice
|
2017-08-19 18:35:22 +05:30
|
|
|
else
|
|
|
|
usrbin_exec_PROGRAMS += \
|
|
|
|
skill \
|
|
|
|
snice
|
|
|
|
endif
|
2015-09-03 18:02:19 +05:30
|
|
|
skill_SOURCES = skill.c lib/strutils.c lib/fileutils.c lib/signals.c
|
|
|
|
snice_SOURCES = skill.c lib/strutils.c lib/fileutils.c lib/signals.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
|
|
|
|
|
2015-05-02 10:06:40 +05:30
|
|
|
free_SOURCES = free.c lib/strutils.c lib/fileutils.c
|
2015-09-03 18:02:19 +05:30
|
|
|
pgrep_SOURCES = pgrep.c lib/fileutils.c lib/signals.c
|
|
|
|
pkill_SOURCES = pgrep.c lib/fileutils.c lib/signals.c
|
2015-05-02 10:06:40 +05:30
|
|
|
pmap_SOURCES = pmap.c lib/fileutils.c
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
2015-05-02 10:06:40 +05:30
|
|
|
pwdx_SOURCES = pwdx.c lib/fileutils.c
|
2016-03-11 04:34:27 +05:30
|
|
|
pwdx_LDADD= $(CYGWINFLAGS)
|
2018-03-01 15:55:04 +05:30
|
|
|
sysctl_SOURCES = \
|
|
|
|
sysctl.c \
|
|
|
|
lib/fileutils.c \
|
2018-04-01 11:30:00 +05:30
|
|
|
lib/procio.c
|
2015-09-01 16:27:56 +05:30
|
|
|
sysctl_LDADD=
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
2015-05-02 10:06:40 +05:30
|
|
|
tload_SOURCES = tload.c lib/strutils.c lib/fileutils.c
|
|
|
|
uptime_SOURCES = uptime.c lib/fileutils.c
|
|
|
|
vmstat_SOURCES = vmstat.c lib/strutils.c lib/fileutils.c
|
|
|
|
w_SOURCES = w.c lib/fileutils.c
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2015-05-02 09:58:53 +05:30
|
|
|
# proc/libprocps.la
|
|
|
|
|
|
|
|
# See http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
2018-04-11 10:30:00 +05:30
|
|
|
LIBprocps_CURRENT=7
|
2015-05-02 09:58:53 +05:30
|
|
|
LIBprocps_REVISION=0
|
2018-04-11 10:30:00 +05:30
|
|
|
LIBprocps_AGE=1
|
2015-05-02 09:58:53 +05:30
|
|
|
|
|
|
|
proc_libprocps_la_LIBADD = $(LIB_KPARTS)
|
|
|
|
|
|
|
|
if WITH_SYSTEMD
|
|
|
|
proc_libprocps_la_LIBADD += @SYSTEMD_LIBS@
|
|
|
|
endif
|
|
|
|
|
|
|
|
proc_libprocps_la_LDFLAGS = \
|
|
|
|
-version-info $(LIBprocps_CURRENT):$(LIBprocps_REVISION):$(LIBprocps_AGE) \
|
|
|
|
-no-undefined \
|
|
|
|
-Wl,--version-script=$(top_srcdir)/proc/libprocps.sym
|
|
|
|
|
|
|
|
proc_libprocps_la_SOURCES = \
|
|
|
|
proc/devname.c \
|
|
|
|
proc/devname.h \
|
2016-07-20 10:30:00 +05:30
|
|
|
proc/diskstats.c \
|
|
|
|
proc/diskstats.h \
|
2015-05-02 09:58:53 +05:30
|
|
|
proc/escape.c \
|
|
|
|
proc/escape.h \
|
2015-06-19 19:04:12 +05:30
|
|
|
proc/procps-private.h \
|
2015-06-20 18:38:47 +05:30
|
|
|
proc/meminfo.c \
|
|
|
|
proc/meminfo.h \
|
2015-09-03 18:02:19 +05:30
|
|
|
proc/namespace.c \
|
|
|
|
proc/namespace.h \
|
2017-05-12 10:33:00 +05:30
|
|
|
proc/numa.c \
|
|
|
|
proc/numa.h \
|
2015-08-19 10:30:00 +05:30
|
|
|
proc/pids.c \
|
|
|
|
proc/pids.h \
|
2015-05-02 09:58:53 +05:30
|
|
|
proc/procps.h \
|
|
|
|
proc/pwcache.c \
|
|
|
|
proc/pwcache.h \
|
|
|
|
proc/readproc.c \
|
|
|
|
proc/readproc.h \
|
2016-06-05 10:30:00 +05:30
|
|
|
proc/slabinfo.c \
|
|
|
|
proc/slabinfo.h \
|
2016-04-25 10:30:00 +05:30
|
|
|
proc/stat.c \
|
|
|
|
proc/stat.h \
|
2015-05-02 09:58:53 +05:30
|
|
|
proc/sysinfo.c \
|
|
|
|
proc/sysinfo.h \
|
|
|
|
proc/version.c \
|
|
|
|
proc/version.h \
|
2015-06-20 03:13:02 +05:30
|
|
|
proc/vmstat.c \
|
|
|
|
proc/vmstat.h \
|
2015-06-18 10:30:00 +05:30
|
|
|
proc/wchan.c \
|
2015-05-02 09:58:53 +05:30
|
|
|
proc/wchan.h \
|
2015-06-21 13:52:28 +05:30
|
|
|
proc/uptime.c \
|
2016-08-05 10:30:00 +05:30
|
|
|
proc/uptime.h \
|
|
|
|
proc/xtra-procps-debug.h
|
2015-05-02 09:58:53 +05:30
|
|
|
|
2020-06-22 10:30:00 +05:30
|
|
|
proc_libprocps_la_includedir = $(includedir)/procps/
|
2015-05-02 09:58:53 +05:30
|
|
|
proc_libprocps_la_include_HEADERS = \
|
|
|
|
proc/devname.h \
|
2016-07-20 10:30:00 +05:30
|
|
|
proc/diskstats.h \
|
2015-05-02 09:58:53 +05:30
|
|
|
proc/escape.h \
|
2017-08-14 00:15:12 +05:30
|
|
|
proc/meminfo.h \
|
|
|
|
proc/namespace.h \
|
2017-05-12 10:33:00 +05:30
|
|
|
proc/numa.h \
|
2015-08-19 10:30:00 +05:30
|
|
|
proc/pids.h \
|
2015-05-02 09:58:53 +05:30
|
|
|
proc/procps.h \
|
|
|
|
proc/pwcache.h \
|
|
|
|
proc/readproc.h \
|
2016-06-05 10:30:00 +05:30
|
|
|
proc/slabinfo.h \
|
2017-08-14 00:15:12 +05:30
|
|
|
proc/stat.h \
|
2015-05-02 09:58:53 +05:30
|
|
|
proc/sysinfo.h \
|
2015-06-23 17:52:50 +05:30
|
|
|
proc/uptime.h \
|
2015-05-02 09:58:53 +05:30
|
|
|
proc/version.h \
|
2015-06-23 17:52:50 +05:30
|
|
|
proc/vmstat.h \
|
2016-08-05 10:30:00 +05:30
|
|
|
proc/wchan.h \
|
|
|
|
proc/xtra-procps-debug.h
|
2015-05-02 09:58:53 +05:30
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = \
|
|
|
|
proc/libprocps.pc
|
|
|
|
|
|
|
|
EXTRA_DIST += proc/libprocps.sym
|
|
|
|
|
|
|
|
# ps/pscommand
|
|
|
|
|
|
|
|
ps_pscommand_SOURCES = \
|
|
|
|
ps/common.h \
|
|
|
|
ps/display.c \
|
|
|
|
ps/global.c \
|
|
|
|
ps/help.c \
|
|
|
|
ps/output.c \
|
|
|
|
ps/parser.c \
|
|
|
|
ps/select.c \
|
|
|
|
ps/sortformat.c \
|
|
|
|
ps/stacktrace.c \
|
2015-06-29 17:22:51 +05:30
|
|
|
lib/fileutils.c \
|
|
|
|
lib/signals.c
|
2015-05-02 09:58:53 +05:30
|
|
|
|
2016-03-03 15:54:08 +05:30
|
|
|
|
2016-07-09 10:05:06 +05:30
|
|
|
# Test programs required for dejagnu
|
|
|
|
noinst_PROGRAMS = \
|
2015-06-13 10:34:31 +05:30
|
|
|
lib/test_strutils \
|
|
|
|
lib/test_fileutils \
|
2016-07-09 10:05:06 +05:30
|
|
|
lib/test_process
|
2015-05-02 09:58:53 +05:30
|
|
|
|
|
|
|
lib_test_strutils_SOURCES = lib/test_strutils.c lib/strutils.c
|
2016-03-11 04:34:27 +05:30
|
|
|
lib_test_strutils_LDADD = $(CYGWINFLAGS)
|
2015-05-02 09:58:53 +05:30
|
|
|
lib_test_fileutils_SOURCES = lib/test_fileutils.c lib/fileutils.c
|
2016-03-11 04:34:27 +05:30
|
|
|
lib_test_fileutils_LDADD = $(CYGWINFLAGS)
|
2015-06-14 04:24:59 +05:30
|
|
|
lib_test_process_SOURCES = lib/test_process.c
|
2016-03-11 04:34:27 +05:30
|
|
|
lib_test_process_LDADD = $(CYGWINFLAGS)
|
2015-05-02 09:58:53 +05:30
|
|
|
|
2015-07-20 17:53:21 +05:30
|
|
|
proc_test_sysinfo_SOURCES = proc/test_sysinfo.c
|
|
|
|
proc_test_sysinfo_LDADD = proc/libprocps.la
|
2015-09-03 18:02:19 +05:30
|
|
|
proc_test_namespace_SOURCES = proc/test_namespace.c
|
|
|
|
proc_test_namespace_LDADD = proc/libprocps.la
|
2016-04-19 17:03:02 +05:30
|
|
|
proc_test_pids_SOURCES = proc/test_pids.c
|
|
|
|
proc_test_pids_LDADD = proc/libprocps.la
|
2016-04-16 17:32:10 +05:30
|
|
|
proc_test_uptime_SOURCES = include/tests.h proc/test_uptime.c
|
|
|
|
proc_test_uptime_LDADD = proc/libprocps.la
|
2016-04-14 17:58:38 +05:30
|
|
|
proc_test_version_SOURCES = include/tests.h proc/test_version.c
|
|
|
|
proc_test_version_LDADD = proc/libprocps.la
|
2016-03-03 15:54:08 +05:30
|
|
|
lib_test_strtod_nol_SOURCES = lib/test_strtod_nol.c lib/strutils.c
|
2016-03-11 04:34:27 +05:30
|
|
|
lib_test_strtod_nol_LDADD = $(CYGWINFLAGS)
|
2016-03-03 15:54:08 +05:30
|
|
|
|
2017-08-19 18:35:22 +05:30
|
|
|
if CYGWIN
|
|
|
|
skill_LDADD = $(CYGWINFLAGS)
|
|
|
|
kill_LDADD = $(CYGWINFLAGS)
|
|
|
|
free_LDADD = $(CYGWINFLAGS)
|
|
|
|
pgrep_LDADD = $(CYGWINFLAGS)
|
|
|
|
pkill_LDADD = $(CYGWINFLAGS)
|
|
|
|
pidof_LDADD = $(CYGWINFLAGS)
|
|
|
|
pmap_LDADD = $(CYGWINFLAGS)
|
|
|
|
snice_LDADD = $(CYGWINFLAGS)
|
|
|
|
tload_LDADD = $(CYGWINFLAGS)
|
|
|
|
uptime_LDADD = $(CYGWINFLAGS)
|
|
|
|
w_LDADD = $(CYGWINFLAGS)
|
|
|
|
vmstat_LDADD = $(CYGWINFLAGS)
|
|
|
|
endif
|
|
|
|
|
2012-04-29 20:52:29 +05:30
|
|
|
if EXAMPLE_FILES
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
2011-06-04 19:56:58 +05:30
|
|
|
sysconf_DATA = sysctl.conf
|
2012-04-29 20:52:29 +05:30
|
|
|
endif
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2012-06-24 16:21:18 +05:30
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
2014-06-24 17:50:13 +05:30
|
|
|
|
2016-07-09 10:36:32 +05:30
|
|
|
# Test programs not used by dejagnu but run directly
|
2015-09-03 18:02:19 +05:30
|
|
|
TESTS = proc/test_sysinfo \
|
2016-04-19 17:03:02 +05:30
|
|
|
proc/test_pids \
|
2016-03-08 01:49:47 +05:30
|
|
|
proc/test_namespace \
|
2016-04-16 17:32:10 +05:30
|
|
|
proc/test_uptime \
|
2016-04-14 17:58:38 +05:30
|
|
|
proc/test_version \
|
2016-03-08 01:49:47 +05:30
|
|
|
lib/test_strtod_nol
|
2016-07-09 10:36:32 +05:30
|
|
|
check_PROGRAMS = $(TESTS)
|
2015-07-20 17:53:21 +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
|