1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5LIB= procstat 6 7SRCS= cd9660.c \ 8 common_kvm.c \ 9 libprocstat.c \ 10 msdosfs.c \ 11 udf.c 12 13VERSION_DEF= ${.CURDIR}/Versions.def 14SYMBOL_MAPS= ${.CURDIR}/Symbol.map 15 16INCS= libprocstat.h 17CFLAGS+= -I. -I${.CURDIR} -D_KVM_VNODE 18SHLIB_MAJOR= 1 19 20DPADD= ${LIBKVM} ${LIBUTIL} 21LDADD= -lkvm -lutil 22 23MAN= libprocstat.3 24 25# XXX This is a hack. 26.if ${MK_CDDL} != "no" 27CFLAGS+= -DLIBPROCSTAT_ZFS 28OBJS+= zfs/zfs.o 29SOBJS+= zfs/zfs.So 30POBJS+= zfs/zfs.po 31SUBDIR= zfs 32zfs/zfs.o: .PHONY 33 @cd ${.CURDIR}/zfs && ${MAKE} zfs.o 34zfs/zfs.So: .PHONY 35 @cd ${.CURDIR}/zfs && ${MAKE} zfs.So 36zfs/zfs.po: .PHONY 37 @cd ${.CURDIR}/zfs && ${MAKE} zfs.po 38.endif 39 40.include <bsd.lib.mk> 41