|
|
| File: [Development] / xfs-linux-nodel / Attic / Makefile-linux-2.6 (download)
Revision 1.32, Tue Jan 17 20:33:39 1995 UTC (22 years, 9 months ago) by tap
disable warning 1552. When the kernel is compiled non-debug, those variables used only in assert statements are flagged with the warnings of set but not used. |
#!smake
#
# Makefile for SGI xFS
#
# $Revision: 1.31 $
DEPTH?=../..
include ${DEPTH}/kcommondefs
KPATH=$(TOP)/fs/xfs
.PATH:$(KPATH)
#if defined(DBOPTS) && !empty(DBOPTS)
#else
#
# when compiling a nondebug kernel, turn off compiler warnings about variables
# being set but not used. with DEBUG disabled, the ASSERT statements are gone.
#
KWOFF=,1552
#endif
KCOPTS=-fullwarn $(XFSCOPTS)
XFS_NAME=xfs.a
XFS_CSRCS= 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_dir.c \
xfs_dir_btree.c \
xfs_error.c \
xfs_extfree_item.c \
xfs_fsops.c \
xfs_grio.c \
xfs_handle.c \
xfs_ialloc.c \
xfs_ialloc_btree.c \
xfs_iget.c \
xfs_inode.c \
xfs_inode_item.c \
xfs_itable.c \
xfs_log.c \
xfs_log_recover.c \
xfs_mount.c \
xfs_rtalloc.c \
xfs_rw.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_vfsops.c \
xfs_vnodeops.c
XFS_OBJS=$(XFS_CSRCS:.c=.o)
$(XFS_NAME):$(XFS_NAME)($(XFS_OBJS)) MAKELIB
TARGETS=$(XFS_NAME)
LINTNAME=xfs
CFILES=$(XFS_CSRCS)
HFILES= xfs_ag.h \
xfs_alloc.h \
xfs_alloc_btree.h \
xfs_bit.h \
xfs_bmap.h \
xfs_bmap_btree.h \
xfs_btree.h \
xfs_buf_item.h \
xfs_clnt.h \
xfs_dinode.h \
xfs_dir.h \
xfs_dir_btree.h \
xfs_error.h \
xfs_extfree_item.h \
xfs_fsops.h \
xfs_handle.h \
xfs_ialloc.h \
xfs_ialloc_btree.h \
xfs_imap.h \
xfs_inode.h \
xfs_inode_item.h \
xfs_inum.h \
xfs_itable.h \
xfs_log.h \
xfs_log_priv.h \
xfs_log_recover.h \
xfs_mount.h \
xfs_rtalloc.h \
xfs_rw.h \
xfs_sb.h \
xfs_trans.h \
xfs_trans_priv.h \
xfs_types.h
#
# Rules
#
include ${DEPTH}/kcommonrules
$(KCOMMONPREF)default:$(TARGETS)
${KLINKINSTALL} ${TARGETS}
$(KCOMMONPREF)install: $(KCOMMONPREF)default
${KINSTALL} ${XFS_NAME}
${KDEVINSTALL} ${TARGETS}
headers!
$(INSTALL) -m 444 -F /usr/include/sys/fs $(HFILES)