2020-08-15 20:40:10 +05:30
|
|
|
|
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 \
|
2020-07-14 10:30:00 +05:30
|
|
|
-Wno-unused-result \
|
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 \
|
2022-08-29 13:37:43 +05:30
|
|
|
po-man \
|
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
|
|
|
|
2022-08-29 14:32:44 +05:30
|
|
|
AM_CFLAGS = -Ilibrary/include
|
|
|
|
LDADD = ./library/libproc-2.la $(CYGWINFLAGS)
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2017-08-19 18:35:22 +05:30
|
|
|
if CYGWIN
|
2022-08-29 14:32:44 +05:30
|
|
|
AM_LDFLAGS += ./library/libproc-2.la $(CYGWINFLAGS)
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
|
|
|
|
|
|
|
transform =
|
|
|
|
|
|
|
|
if !CYGWIN
|
|
|
|
transform += s/pscommand/ps/; $(program_transform_name)
|
|
|
|
sbin_PROGRAMS = \
|
2022-08-29 13:59:28 +05:30
|
|
|
src/sysctl
|
2017-08-19 18:35:22 +05:30
|
|
|
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 = \
|
2022-08-29 13:59:28 +05:30
|
|
|
src/ps/pscommand \
|
|
|
|
src/free \
|
|
|
|
src/pgrep \
|
|
|
|
src/pkill \
|
|
|
|
src/pmap \
|
|
|
|
src/pwdx \
|
|
|
|
src/tload \
|
|
|
|
src/uptime \
|
|
|
|
src/vmstat
|
2021-02-15 15:40:06 +05:30
|
|
|
if BUILD_PIDWAIT
|
2022-08-29 13:59:28 +05:30
|
|
|
bin_PROGRAMS += src/pidwait
|
2020-02-24 08:32:59 +05:30
|
|
|
endif
|
2017-08-19 18:35:22 +05:30
|
|
|
else
|
|
|
|
usrbin_exec_PROGRAMS += \
|
2022-08-29 13:59:28 +05:30
|
|
|
src/ps/pscommand \
|
|
|
|
src/free \
|
|
|
|
src/pgrep \
|
|
|
|
src/pkill \
|
|
|
|
src/pmap \
|
|
|
|
src/uptime \
|
|
|
|
src/vmstat
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
2015-05-02 11:57:13 +05:30
|
|
|
|
|
|
|
lib_LTLIBRARIES = \
|
2022-08-29 14:32:44 +05:30
|
|
|
library/libproc-2.la
|
2015-05-02 11:57:13 +05:30
|
|
|
|
2011-06-04 19:56:58 +05:30
|
|
|
dist_man_MANS = \
|
2022-08-29 13:37:43 +05:30
|
|
|
man/free.1 \
|
|
|
|
man/pgrep.1 \
|
|
|
|
man/pkill.1 \
|
|
|
|
man/pmap.1 \
|
|
|
|
man/uptime.1 \
|
|
|
|
man/vmstat.8 \
|
|
|
|
man/procps.3 \
|
|
|
|
man/procps_pids.3 \
|
|
|
|
man/procps_misc.3
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
|
|
|
dist_man_MANS += \
|
2022-08-29 13:37:43 +05:30
|
|
|
man/pwdx.1 \
|
|
|
|
man/tload.1 \
|
|
|
|
man/sysctl.8 \
|
|
|
|
man/sysctl.conf.5 \
|
|
|
|
man/ps.1
|
2020-02-24 08:32:59 +05:30
|
|
|
|
2021-02-15 15:40:06 +05:30
|
|
|
if BUILD_PIDWAIT
|
2022-08-29 13:37:43 +05:30
|
|
|
dist_man_MANS += man/pidwait.1
|
2020-02-24 08:32:59 +05:30
|
|
|
endif
|
2017-08-19 18:35:22 +05:30
|
|
|
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 \
|
|
|
|
COPYING.LIB \
|
|
|
|
misc/git-version-gen \
|
2022-08-29 14:08:52 +05:30
|
|
|
doc/CodingStyle.md \
|
|
|
|
doc/TODO \
|
2022-08-29 13:59:28 +05:30
|
|
|
src/ps/HACKING \
|
|
|
|
src/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 = \
|
2022-08-29 14:08:52 +05:30
|
|
|
doc/bugs.md \
|
|
|
|
doc/FAQ \
|
|
|
|
doc/libproc.supp
|
2015-05-02 09:58:53 +05:30
|
|
|
|
2013-10-05 00:05:01 +05:30
|
|
|
if BUILD_PIDOF
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
2022-08-29 13:59:28 +05:30
|
|
|
bin_PROGRAMS += src/pidof
|
2017-08-19 18:35:22 +05:30
|
|
|
else
|
2022-08-29 13:59:28 +05:30
|
|
|
usrbin_exec_PROGRAMS += src/pidof
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
2022-08-29 13:37:43 +05:30
|
|
|
dist_man_MANS += man/pidof.1
|
2022-08-29 13:59:28 +05:30
|
|
|
src_pidof_SOURCES = src/pidof.c lib/fileutils.c
|
2013-10-05 00:05:01 +05:30
|
|
|
else
|
2022-08-29 13:37:43 +05:30
|
|
|
EXTRA_DIST += man/pidof.1
|
2013-10-05 00:05:01 +05:30
|
|
|
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)
|
2022-08-29 13:59:28 +05:30
|
|
|
usrbin_exec_PROGRAMS += src/kill
|
2017-08-19 18:35:22 +05:30
|
|
|
else
|
2022-08-29 13:59:28 +05:30
|
|
|
bin_PROGRAMS += src/kill
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
2022-08-29 13:37:43 +05:30
|
|
|
dist_man_MANS += man/kill.1
|
2022-08-29 13:59:28 +05:30
|
|
|
src_kill_SOURCES = src/kill.c lib/strutils.c lib/fileutils.c lib/signals.c
|
|
|
|
src_kill_LDADD =
|
2012-05-20 12:57:14 +05:30
|
|
|
else
|
2022-08-29 13:37:43 +05:30
|
|
|
EXTRA_DIST += man/kill.1
|
2011-10-04 23:46:46 +05:30
|
|
|
endif
|
|
|
|
|
2021-04-24 01:28:36 +05:30
|
|
|
if BUILD_W
|
|
|
|
if CYGWIN
|
2022-08-29 13:59:28 +05:30
|
|
|
usrbin_exec_PROGRAMS += src/w
|
2021-04-24 01:28:36 +05:30
|
|
|
else
|
2022-08-29 13:59:28 +05:30
|
|
|
bin_PROGRAMS += src/w
|
2021-04-24 01:28:36 +05:30
|
|
|
endif
|
|
|
|
|
2022-08-29 13:37:43 +05:30
|
|
|
dist_man_MANS += man/w.1
|
2022-08-29 13:59:28 +05:30
|
|
|
src_w_SOURCES = src/w.c lib/fileutils.c
|
2021-04-24 01:28:36 +05:30
|
|
|
else
|
2022-08-29 13:37:43 +05:30
|
|
|
EXTRA_DIST += man/w.1
|
2021-04-24 01:28:36 +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 += \
|
2022-08-29 13:59:28 +05:30
|
|
|
src/watch \
|
|
|
|
src/top/top
|
2017-08-19 18:35:22 +05:30
|
|
|
else
|
|
|
|
usrbin_exec_PROGRAMS += \
|
2022-08-29 13:59:28 +05:30
|
|
|
src/watch \
|
|
|
|
src/top/top
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
|
|
|
|
2011-06-04 19:56:58 +05:30
|
|
|
dist_man_MANS += \
|
2022-08-29 13:37:43 +05:30
|
|
|
man/watch.1 \
|
|
|
|
man/top.1
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
|
|
|
bin_PROGRAMS += \
|
2022-08-29 13:59:28 +05:30
|
|
|
src/slabtop
|
2017-08-19 18:35:22 +05:30
|
|
|
dist_man_MANS += \
|
2022-08-29 13:37:43 +05:30
|
|
|
man/slabtop.1
|
2022-08-29 13:59:28 +05:30
|
|
|
src_slabtop_SOURCES = src/slabtop.c lib/strutils.c lib/fileutils.c
|
|
|
|
src_slabtop_LDADD = $(LDADD) @NCURSES_LIBS@
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
2022-08-29 13:59:28 +05:30
|
|
|
src_watch_SOURCES = src/watch.c lib/strutils.c lib/fileutils.c
|
|
|
|
src_watch_LDADD = @NCURSES_LIBS@ $(CYGWINFLAGS)
|
|
|
|
src_top_top_SOURCES = \
|
|
|
|
src/top/top.h \
|
|
|
|
src/top/top.c \
|
|
|
|
src/top/top_nls.h \
|
|
|
|
src/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
|
2022-08-29 13:59:28 +05:30
|
|
|
src_top_top_SOURCES += lib/strverscmp.c
|
2016-03-11 04:34:27 +05:30
|
|
|
endif
|
|
|
|
|
2022-08-29 13:59:28 +05:30
|
|
|
src_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 += \
|
2022-08-29 13:59:28 +05:30
|
|
|
src/skill \
|
|
|
|
src/snice
|
2017-08-19 18:35:22 +05:30
|
|
|
else
|
|
|
|
usrbin_exec_PROGRAMS += \
|
2022-08-29 13:59:28 +05:30
|
|
|
src/skill \
|
|
|
|
src/snice
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
2022-08-29 13:59:28 +05:30
|
|
|
src_skill_SOURCES = src/skill.c lib/strutils.c lib/fileutils.c lib/signals.c
|
|
|
|
src_snice_SOURCES = src/skill.c lib/strutils.c lib/fileutils.c lib/signals.c
|
2012-03-16 01:59:13 +05:30
|
|
|
dist_man_MANS += \
|
2022-08-29 13:37:43 +05:30
|
|
|
man/skill.1 \
|
|
|
|
man/snice.1
|
2012-05-20 12:57:14 +05:30
|
|
|
else
|
|
|
|
EXTRA_DIST += \
|
2022-08-29 13:37:43 +05:30
|
|
|
man/skill.1 \
|
|
|
|
man/snice.1
|
2012-03-16 01:59:13 +05:30
|
|
|
endif
|
|
|
|
|
2022-08-29 13:59:28 +05:30
|
|
|
src_free_SOURCES = src/free.c lib/strutils.c lib/fileutils.c
|
|
|
|
src_pgrep_SOURCES = src/pgrep.c lib/fileutils.c lib/signals.c
|
|
|
|
src_pkill_SOURCES = src/pgrep.c lib/fileutils.c lib/signals.c
|
|
|
|
src_pmap_SOURCES = src/pmap.c lib/fileutils.c
|
2021-02-15 15:40:06 +05:30
|
|
|
if BUILD_PIDWAIT
|
2022-08-29 13:59:28 +05:30
|
|
|
src_pidwait_SOURCES = src/pgrep.c lib/fileutils.c lib/signals.c
|
2020-02-24 08:32:59 +05:30
|
|
|
endif
|
2017-08-19 18:35:22 +05:30
|
|
|
if !CYGWIN
|
2022-08-29 13:59:28 +05:30
|
|
|
src_pwdx_SOURCES = src/pwdx.c lib/fileutils.c
|
|
|
|
src_pwdx_LDADD= $(CYGWINFLAGS)
|
|
|
|
src_sysctl_SOURCES = \
|
|
|
|
src/sysctl.c \
|
2018-03-01 15:55:04 +05:30
|
|
|
lib/fileutils.c \
|
2018-04-01 11:30:00 +05:30
|
|
|
lib/procio.c
|
2022-08-29 13:59:28 +05:30
|
|
|
src_sysctl_LDADD=
|
2017-08-19 18:35:22 +05:30
|
|
|
endif
|
2022-08-29 13:59:28 +05:30
|
|
|
src_tload_SOURCES = src/tload.c lib/strutils.c lib/fileutils.c
|
|
|
|
src_uptime_SOURCES = src/uptime.c lib/fileutils.c
|
|
|
|
src_vmstat_SOURCES = src/vmstat.c lib/strutils.c lib/fileutils.c
|
2011-06-04 19:56:58 +05:30
|
|
|
|
2015-05-02 09:58:53 +05:30
|
|
|
|
|
|
|
# See http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
2021-02-20 17:00:31 +05:30
|
|
|
LIBproc_2_CURRENT=0
|
|
|
|
LIBproc_2_REVISION=0
|
|
|
|
LIBproc_2_AGE=0
|
2015-05-02 09:58:53 +05:30
|
|
|
|
2022-08-29 14:32:44 +05:30
|
|
|
library_libproc_2_la_LIBADD = $(LIB_KPARTS)
|
2015-05-02 09:58:53 +05:30
|
|
|
|
|
|
|
if WITH_SYSTEMD
|
2022-08-29 14:32:44 +05:30
|
|
|
library_libproc_2_la_LIBADD += @SYSTEMD_LIBS@
|
2015-05-02 09:58:53 +05:30
|
|
|
endif
|
|
|
|
|
2017-05-30 20:03:28 +05:30
|
|
|
if WITH_ELOGIND
|
2022-08-29 14:32:44 +05:30
|
|
|
library_libproc_2_la_LIBADD += @ELOGIND_LIBS@
|
2017-05-30 20:03:28 +05:30
|
|
|
endif
|
|
|
|
|
2022-08-29 14:32:44 +05:30
|
|
|
library_libproc_2_la_LDFLAGS = \
|
2021-02-20 17:00:31 +05:30
|
|
|
-version-info $(LIBproc_2_CURRENT):$(LIBproc_2_REVISION):$(LIBproc_2_AGE) \
|
2015-05-02 09:58:53 +05:30
|
|
|
-no-undefined \
|
2022-08-29 14:32:44 +05:30
|
|
|
-Wl,--version-script=$(top_srcdir)/library/libproc-2.sym
|
|
|
|
|
|
|
|
library_libproc_2_la_SOURCES = \
|
|
|
|
library/devname.c \
|
|
|
|
library/include/devname.h \
|
|
|
|
library/diskstats.c \
|
|
|
|
library/include/diskstats.h \
|
|
|
|
library/escape.c \
|
|
|
|
library/include/escape.h \
|
|
|
|
library/include/procps-private.h \
|
|
|
|
library/meminfo.c \
|
|
|
|
library/include/meminfo.h \
|
|
|
|
library/include/misc.h \
|
|
|
|
library/namespace.c \
|
|
|
|
library/numa.c \
|
|
|
|
library/include/numa.h \
|
|
|
|
library/pids.c \
|
|
|
|
library/include/pids.h \
|
|
|
|
library/pwcache.c \
|
|
|
|
library/include/pwcache.h \
|
|
|
|
library/readproc.c \
|
|
|
|
library/include/readproc.h \
|
|
|
|
library/slabinfo.c \
|
|
|
|
library/include/slabinfo.h \
|
|
|
|
library/stat.c \
|
|
|
|
library/include/stat.h \
|
|
|
|
library/sysinfo.c \
|
|
|
|
library/version.c \
|
|
|
|
library/vmstat.c \
|
|
|
|
library/include/vmstat.h \
|
|
|
|
library/wchan.c \
|
|
|
|
library/include/wchan.h \
|
|
|
|
library/uptime.c \
|
|
|
|
library/include/xtra-procps-debug.h
|
|
|
|
|
|
|
|
library_libproc_2_la_includedir = $(includedir)/procps/
|
|
|
|
library_libproc_2_la_include_HEADERS = \
|
|
|
|
library/include/diskstats.h \
|
|
|
|
library/include/meminfo.h \
|
|
|
|
library/include/misc.h \
|
|
|
|
library/include/pids.h \
|
|
|
|
library/include/slabinfo.h \
|
|
|
|
library/include/stat.h \
|
|
|
|
library/include/vmstat.h \
|
|
|
|
library/include/xtra-procps-debug.h
|
2015-05-02 09:58:53 +05:30
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = \
|
2022-08-29 14:32:44 +05:30
|
|
|
library/libproc-2.pc
|
2015-05-02 09:58:53 +05:30
|
|
|
|
2022-08-29 14:32:44 +05:30
|
|
|
EXTRA_DIST += library/libproc-2.sym
|
2015-05-02 09:58:53 +05:30
|
|
|
|
|
|
|
# ps/pscommand
|
|
|
|
|
2022-08-29 13:59:28 +05:30
|
|
|
src_ps_pscommand_SOURCES = \
|
|
|
|
src/ps/common.h \
|
|
|
|
src/ps/display.c \
|
|
|
|
src/ps/global.c \
|
|
|
|
src/ps/help.c \
|
|
|
|
src/ps/output.c \
|
|
|
|
src/ps/parser.c \
|
|
|
|
src/ps/select.c \
|
|
|
|
src/ps/sortformat.c \
|
|
|
|
src/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
|
|
|
|
2020-08-15 20:40:10 +05:30
|
|
|
# Test programs required for dejagnu or standalone testing
|
2020-10-19 14:35:41 +05:30
|
|
|
check_PROGRAMS = \
|
2015-06-13 10:34:31 +05:30
|
|
|
lib/test_strutils \
|
|
|
|
lib/test_fileutils \
|
2020-08-15 20:40:10 +05:30
|
|
|
lib/test_process \
|
2022-04-26 17:34:05 +05:30
|
|
|
lib/test_strtod_nol \
|
|
|
|
lib/test_shm
|
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)
|
2020-08-15 20:40:10 +05:30
|
|
|
lib_test_strtod_nol_SOURCES = lib/test_strtod_nol.c lib/strutils.c
|
|
|
|
lib_test_strtod_nol_LDADD = $(CYGWINFLAGS)
|
2022-04-26 17:34:05 +05:30
|
|
|
lib_test_shm_SOURCES = lib/test_shm.c lib/strutils.c
|
|
|
|
lib_test_shm_LDADD = $(CYGWINFLAGS)
|
2020-08-15 20:40:10 +05:30
|
|
|
|
2020-10-19 14:35:41 +05:30
|
|
|
check_PROGRAMS += \
|
2022-08-29 14:32:44 +05:30
|
|
|
library/tests/test_Itemtables \
|
|
|
|
library/tests/test_pids \
|
|
|
|
library/tests/test_uptime \
|
|
|
|
library/tests/test_sysinfo \
|
|
|
|
library/tests/test_version \
|
|
|
|
library/tests/test_namespace
|
|
|
|
|
|
|
|
library_tests_test_Itemtables_SOURCES = library/tests/test_Itemtables.c
|
|
|
|
library_tests_test_Itemtables_LDADD = library/libproc-2.la
|
|
|
|
library_tests_test_pids_SOURCES = library/tests/test_pids.c
|
|
|
|
library_tests_test_pids_LDADD = library/libproc-2.la
|
|
|
|
library_tests_test_uptime_SOURCES = library/tests/test_uptime.c
|
|
|
|
library_tests_test_uptime_LDADD = library/libproc-2.la
|
|
|
|
library_tests_test_sysinfo_SOURCES = library/tests/test_sysinfo.c
|
|
|
|
library_tests_test_sysinfo_LDADD = library/libproc-2.la
|
|
|
|
library_tests_test_version_SOURCES = library/tests/test_version.c
|
|
|
|
library_tests_test_version_LDADD = library/libproc-2.la
|
|
|
|
library_tests_test_namespace_SOURCES = library/tests/test_namespace.c
|
|
|
|
library_tests_test_namespace_LDADD = library/libproc-2.la
|
2016-03-03 15:54:08 +05:30
|
|
|
|
2017-08-19 18:35:22 +05:30
|
|
|
if CYGWIN
|
2022-08-29 13:59:28 +05:30
|
|
|
src_skill_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_kill_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_free_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_pgrep_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_pkill_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_pidof_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_pmap_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_snice_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_tload_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_uptime_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_w_LDADD = $(CYGWINFLAGS)
|
|
|
|
src_vmstat_LDADD = $(CYGWINFLAGS)
|
2017-08-19 18:35:22 +05:30
|
|
|
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
|
|
|
|
2020-10-19 13:55:33 +05:30
|
|
|
check-lib: clean
|
2022-08-29 14:32:44 +05:30
|
|
|
$(MAKE) CFLAGS=-DITEMTABLE_DEBUG library/test_Itemtables
|
|
|
|
$(top_builddir)/library/test_Itemtables
|
2020-10-21 10:30:00 +05:30
|
|
|
$(MAKE) clean &>/dev/null
|
2020-10-19 13:55:33 +05:30
|
|
|
|
2016-07-09 10:36:32 +05:30
|
|
|
# Test programs not used by dejagnu but run directly
|
2020-08-15 20:40:10 +05:30
|
|
|
TESTS = \
|
2022-08-29 14:32:44 +05:30
|
|
|
library/tests/test_pids \
|
|
|
|
library/tests/test_uptime \
|
|
|
|
library/tests/test_sysinfo \
|
|
|
|
library/tests/test_version \
|
|
|
|
library/tests/test_namespace \
|
2020-08-15 20:40:10 +05:30
|
|
|
lib/test_fileutils \
|
2016-03-08 01:49:47 +05:30
|
|
|
lib/test_strtod_nol
|
2020-08-15 20:40:10 +05:30
|
|
|
|
2020-10-19 14:35:41 +05:30
|
|
|
# Automake should do this, but it doesn't
|
2022-03-21 16:07:17 +05:30
|
|
|
check: $(check_PROGRAMS) $(PROGRAMS)
|
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
|
2022-08-29 13:37:43 +05:30
|
|
|
rsync -Lrtvz translationproject.org::tp/latest/procps-ng-man/ po-man
|