HardenedBSD/usr.bin/procstat/Makefile
Konstantin Belousov 085e04945c Add pargs, penv, pwdx commands and aliases to procstat(1).
Intent is to mimic Solaris commands with the same names.

Submitted by:	Juraj Lutter <juraj@lutter.sk>
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D26310
2020-09-18 12:59:27 +00:00

39 lines
718 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
PROG= procstat
MAN= procstat.1
SRCS= procstat.c \
procstat_args.c \
procstat_auxv.c \
procstat_basic.c \
procstat_bin.c \
procstat_cred.c \
procstat_cs.c \
procstat_files.c \
procstat_kstack.c \
procstat_penv.c \
procstat_ptlwpinfo.c \
procstat_pwdx.c \
procstat_rlimit.c \
procstat_rusage.c \
procstat_sigs.c \
procstat_threads.c \
procstat_vm.c
MLINKS+= procstat.1 pargs.1
MLINKS+= procstat.1 penv.1
MLINKS+= procstat.1 pwdx.1
LIBADD+= procstat xo util sbuf
LINKS+= ${BINDIR}/procstat ${BINDIR}/pargs
LINKS+= ${BINDIR}/procstat ${BINDIR}/penv
LINKS+= ${BINDIR}/procstat ${BINDIR}/pwdx
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>