summaryrefslogtreecommitdiffstats
path: root/lib/libufs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libufs/Makefile')
-rw-r--r--lib/libufs/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/libufs/Makefile b/lib/libufs/Makefile
new file mode 100644
index 0000000..fc72c0c
--- /dev/null
+++ b/lib/libufs/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+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
+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
+.if defined(LIBUFS_DEBUG)
+CFLAGS+= -D_LIBUFS_DEBUGGING
+.endif
+WARNS?= 2
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud