1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PROG= procstat 6MAN= procstat.1 7SRCS= procstat.c \ 8 procstat_args.c \ 9 procstat_auxv.c \ 10 procstat_basic.c \ 11 procstat_bin.c \ 12 procstat_cred.c \ 13 procstat_cs.c \ 14 procstat_files.c \ 15 procstat_kstack.c \ 16 procstat_penv.c \ 17 procstat_ptlwpinfo.c \ 18 procstat_pwdx.c \ 19 procstat_rlimit.c \ 20 procstat_rusage.c \ 21 procstat_sigs.c \ 22 procstat_threads.c \ 23 procstat_vm.c 24 25MLINKS+= procstat.1 pargs.1 26MLINKS+= procstat.1 penv.1 27MLINKS+= procstat.1 pwdx.1 28 29LIBADD+= procstat xo util sbuf 30 31LINKS+= ${BINDIR}/procstat ${BINDIR}/pargs 32LINKS+= ${BINDIR}/procstat ${BINDIR}/penv 33LINKS+= ${BINDIR}/procstat ${BINDIR}/pwdx 34 35HAS_TESTS= 36SUBDIR.${MK_TESTS}+= tests 37 38.include <bsd.prog.mk> 39