diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2005-12-12 01:11:08 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2005-12-12 01:11:08 +0000 |
commit | d823b4fb7c2dfadd32c984df710bf884a990485f (patch) | |
tree | 83117b0339856eb632ac82d1094a5f5d47f589ef /sys/modules/xfs | |
parent | 410e08d350a2cfcb50386dc6b5a24a5d82825067 (diff) | |
download | FreeBSD-src-d823b4fb7c2dfadd32c984df710bf884a990485f.zip FreeBSD-src-d823b4fb7c2dfadd32c984df710bf884a990485f.tar.gz |
Add Makefile for compiling XFS as a kernel module.
Diffstat (limited to 'sys/modules/xfs')
-rw-r--r-- | sys/modules/xfs/Makefile | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/sys/modules/xfs/Makefile b/sys/modules/xfs/Makefile new file mode 100644 index 0000000..473c9da --- /dev/null +++ b/sys/modules/xfs/Makefile @@ -0,0 +1,94 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../gnu/fs/xfs \ + ${.CURDIR}/../../gnu/fs/xfs/FreeBSD \ + ${.CURDIR}/../../gnu/fs/xfs/FreeBSD/support + +KMOD= xfs + +WERROR= + +SRCS = vnode_if.h \ + xfs_alloc.c \ + xfs_alloc_btree.c \ + xfs_bit.c \ + xfs_bmap.c \ + xfs_bmap_btree.c \ + xfs_btree.c \ + xfs_buf_item.c \ + xfs_da_btree.c \ + xfs_dir.c \ + xfs_dir2.c \ + xfs_dir2_block.c \ + xfs_dir2_data.c \ + xfs_dir2_leaf.c \ + xfs_dir2_node.c \ + xfs_dir2_sf.c \ + xfs_dir2_trace.c \ + xfs_dir_leaf.c \ + xfs_error.c \ + xfs_extfree_item.c \ + xfs_fsops.c \ + xfs_ialloc.c \ + xfs_ialloc_btree.c \ + xfs_inode.c \ + xfs_inode_item.c \ + xfs_iocore.c \ + xfs_itable.c \ + xfs_dfrag.c \ + xfs_log.c \ + xfs_log_recover.c \ + xfs_macros.c \ + xfs_mount.c \ + xfs_rename.c \ + xfs_trans.c \ + xfs_trans_ail.c \ + xfs_trans_buf.c \ + xfs_trans_extfree.c \ + xfs_trans_inode.c \ + xfs_trans_item.c \ + xfs_utils.c \ + xfs_vfsops.c \ + xfs_vnodeops.c \ + xfs_rw.c \ + xfs_iget.c \ + xfs_attr_leaf.c \ + xfs_attr.c \ + xfsrtstubs.c \ + xfsquotasstubs.c \ + xfsdmapistubs.c \ + xfs_dmops.c \ + xfs_qmops.c \ + xfs_mountops.c \ + xfs_vnops.c \ + xfs_frw.c \ + xfs_iomap.c \ + xfs_buf.c \ + xfs_globals.c \ + xfs_dmistubs.c \ + xfs_behavior.c \ + xfs_super.c \ + xfs_stats.c \ + xfs_sysctl.c \ + xfs_vfs.c \ + xfs_vnode.c \ + xfs_fs_subr.c \ + xfs_ioctl.c \ + debug.c \ + ktrace.c \ + mrlock.c \ + uuid.c \ + kmem.c \ + kdb.c + +.include <bsd.kmod.mk> + +CFLAGS+= -I${.CURDIR}/../../gnu/fs/xfs/FreeBSD \ + -I${.CURDIR}/../../gnu/fs/xfs/FreeBSD/support \ + -I${.CURDIR}/../../gnu/fs/xfs + +# +# XFS sources trigger missing-prototypes warnings. +# Disable them here. +# +CWARNFLAGS+= -Wno-missing-prototypes |