aboutsummaryrefslogtreecommitdiff
path: root/lib/libufs/Makefile
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2002-07-01 01:45:03 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2002-07-01 01:45:03 +0000
commit20938dbf843569a50694a30c1fdf9c34d75bcbb8 (patch)
treed5ae23d585834242620eaad9e34fadb41eecfb56 /lib/libufs/Makefile
parent101d16a80f3880cb09fbc0cc09d6b352bc885cad (diff)
downloadsrc-20938dbf843569a50694a30c1fdf9c34d75bcbb8.tar.gz
src-20938dbf843569a50694a30c1fdf9c34d75bcbb8.zip
Add libufs, a library for dealing with UFS filesystems from userland to
the build. It is here to compartmentalise functionality currently duplicated in many notable programs in the base system. It currently handles block reads and writes, as well as reading and writing of the filesystem superblock, and the reading/lookup of inode data. It supports both UFS and UFS2. I will be maintaining it, and porting programs to use it, however for now, it is simply being built as part of world.
Notes
Notes: svn path=/head/; revision=99193
Diffstat (limited to 'lib/libufs/Makefile')
-rw-r--r--lib/libufs/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libufs/Makefile b/lib/libufs/Makefile
new file mode 100644
index 000000000000..04195ebb3e5a
--- /dev/null
+++ b/lib/libufs/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+LIB= ufs
+SRCS= block.c inode.c sblock.c type.c
+INCS= libufs.h
+NOMAN= noman
+CFLAGS+= -I${.CURDIR} -D_LIBUFS
+.if defined(DEBUG)
+CFLAGS+= -D_LIBUFS_DEBUGGING
+.endif
+
+.include <bsd.lib.mk>