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_rusage.c \ 20 procstat_sigs.c \ 21 procstat_threads.c \ 22 procstat_vm.c 23 24MLINKS+= procstat.1 pargs.1 25MLINKS+= procstat.1 penv.1 26MLINKS+= procstat.1 pwdx.1 27 28LIBADD+= procstat xo util sbuf 29 30LINKS+= ${BINDIR}/procstat ${BINDIR}/pargs 31LINKS+= ${BINDIR}/procstat ${BINDIR}/penv 32LINKS+= ${BINDIR}/procstat ${BINDIR}/pwdx 33 34HAS_TESTS= 35SUBDIR.${MK_TESTS}+= tests 36 37.include <bsd.prog.mk> 38