1.include <src.opts.mk> 2 3PROG= procstat 4MAN= procstat.1 5SRCS= procstat.c \ 6 procstat_advlock.c \ 7 procstat_args.c \ 8 procstat_auxv.c \ 9 procstat_basic.c \ 10 procstat_bin.c \ 11 procstat_cred.c \ 12 procstat_cs.c \ 13 procstat_files.c \ 14 procstat_kstack.c \ 15 procstat_penv.c \ 16 procstat_ptlwpinfo.c \ 17 procstat_pwdx.c \ 18 procstat_rlimit.c \ 19 procstat_rlimitusage.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