diff options
author | stas <stas@FreeBSD.org> | 2011-05-12 22:21:39 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2011-05-12 22:21:39 +0000 |
commit | 6fd0f335d929854d9189d46d8279e5f8534989dd (patch) | |
tree | a87a5e8e8ca3af531aac5a5058b83dff74fa1cd4 /lib/libprocstat/Makefile | |
parent | 18a608d91f94fc62f0f22660db70f386a0a88deb (diff) | |
download | FreeBSD-src-6fd0f335d929854d9189d46d8279e5f8534989dd.zip FreeBSD-src-6fd0f335d929854d9189d46d8279e5f8534989dd.tar.gz |
- Don't try to build NWFS support module if NCP/IPX is disabled in the build.
- Rename ZFS definition to LIBPROCSTAT_ZFS to be consistent with NWFS and to
prevent possible collisions.
Reported by: many
Diffstat (limited to 'lib/libprocstat/Makefile')
-rw-r--r-- | lib/libprocstat/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libprocstat/Makefile b/lib/libprocstat/Makefile index dc3dd58..e289ef5 100644 --- a/lib/libprocstat/Makefile +++ b/lib/libprocstat/Makefile @@ -9,7 +9,6 @@ SRCS= cd9660.c \ libprocstat.c \ msdosfs.c \ ntfs.c \ - nwfs.c \ smbfs.c \ udf.c @@ -18,9 +17,14 @@ CFLAGS+= -I. -I${.CURDIR} -D_KVM_VNODE SHLIB_MAJOR= 1 WITHOUT_MAN= yes +.if ${MK_NCP} != "no" +CFLAGS+= -DLIBPROCSTAT_NWFS +SRCS+= nwfs.c +.endif + # XXX This is a hack. .if ${MK_CDDL} != "no" -CFLAGS+= -DZFS +CFLAGS+= -DLIBPROCSTAT_ZFS OBJS+= zfs/zfs.o SOBJS+= zfs/zfs.So POBJS+= zfs/zfs.po |