summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libufs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libufs/Makefile b/lib/libufs/Makefile
index fc72c0c..855af17 100644
--- a/lib/libufs/Makefile
+++ b/lib/libufs/Makefile
@@ -2,8 +2,10 @@
LIB= ufs
SHLIBDIR?= /lib
+
SRCS= block.c cgroup.c inode.c sblock.c type.c
INCS= libufs.h
+
MAN= bread.3 cgread.3 libufs.3 sbread.3 ufs_disk_close.3
MLINKS+= bread.3 bwrite.3
MLINKS+= cgread.3 cgread1.3
@@ -11,10 +13,13 @@ MLINKS+= sbread.3 sbwrite.3
MLINKS+= ufs_disk_close.3 ufs_disk_fillout.3
MLINKS+= ufs_disk_close.3 ufs_disk_fillout_blank.3
MLINKS+= ufs_disk_close.3 ufs_disk_write.3
-CFLAGS+= -I${.CURDIR} -D_LIBUFS
+
+WARNS?= 2
+
+CFLAGS+= -D_LIBUFS
.if defined(LIBUFS_DEBUG)
CFLAGS+= -D_LIBUFS_DEBUGGING
.endif
-WARNS?= 2
+CFLAGS+= -I${.CURDIR}
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud