freebsd-nq/usr.bin/procstat/Makefile
Enji Cooper c7d813a93e Start writing up some basic feature tests for procstat
These tests query a running process for information related to the -b,
-c, -e, and -f flags; the -f testcase is largely stubbed out, pending
additional work to determine a good, deterministic descriptor.

Core file test support is coming soon--it requires a bit more effort
due to the fact that:
- coredumps can be disabled (kern.coredump=0).
- corefiles can be put in different directories than the current
  directory, or be named something other than `<prog>.core`
  (`kern.corefile`).

MFC after:	2 months
Sponsored by:	Dell EMC Isilon
2017-05-15 22:52:25 +00:00

30 lines
472 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_ptlwpinfo.c \
procstat_rlimit.c \
procstat_rusage.c \
procstat_sigs.c \
procstat_threads.c \
procstat_vm.c
LIBADD+= procstat xo util sbuf
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.prog.mk>