|
|
| File: [Development] / xfs-linux / Attic / Makefile-linux-2.6 (download)
Revision 1.35, Mon May 8 19:53:49 1995 UTC (22 years, 5 months ago) by curtis
Restructured code support for directories and added fiels for attributes. |
#!smake
#
# Makefile for SGI xFS
#
# $Revision: 1.34 $
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_attr.c \
xfs_attr_leaf.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_dir_leaf.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
XIDBG_NAME=xfsidbg.o
XIDBG_CSRCS=xfsidbg.c
TARGETS=$(XFS_NAME) $(XIDBG_NAME)
LINTNAME=xfs
CFILES=$(XFS_CSRCS) $(XIDBG_CSRCS)
HFILES= xfs_ag.h \
xfs_alloc.h \
xfs_alloc_btree.h \
xfs_attr.h \
xfs_attr_leaf.h \
xfs_attr_sf.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_da_btree.h \
xfs_dir.h \
xfs_dir_leaf.h \
xfs_dir_sf.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 \
xfsidbg.h
#
# Rules
#
include ${DEPTH}/kcommonrules
$(KCOMMONPREF)default:$(TARGETS)
${KLINKINSTALL} ${TARGETS}
$(KCOMMONPREF)install: $(KCOMMONPREF)default
${KINSTALL} ${XFS_NAME}
${KINSTALL} ${XIDBG_NAME}
${KDEVINSTALL} ${TARGETS}
headers!
$(INSTALL) -m 444 -F /usr/include/sys/fs $(HFILES)
xfsidbg.o: xfsidbg.c
$(CCF) -c $(JALR) -G 0 -common $(KPATH)/xfsidbg.c && \
$(LDF) $(PRODOBJECT) -r $(.TARGET:T) -o $$$$.o && \
mv $$$$.o $(.TARGET:T)