[BACK]Return to Makefile-linux-2.6 CVS log [TXT][DIR] Up to [Development] / xfs-linux-nodel

File: [Development] / xfs-linux-nodel / Attic / Makefile-linux-2.6 (download)

Revision 1.73, Thu Sep 2 22:52:53 1999 UTC (18 years, 1 month ago) by mostek
Branch: MAIN
Changes since 1.72: +6 -5 lines

Add DMAPI and Real time stubs.

#
# Makefile for XFS on Linux.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile...

XFS_CFLAGS	= -Wstrict-prototypes -O2 -fomit-frame-pointer

EXTRA_CFLAGS += -I.. -I. -D_KERNEL

O_TARGET := xfs.o

LINO_OBJS   := linux/xfs_file.o  linux/xfs_super.o \
 linux/xfs_vnode.o linux/xfs_behavior.o linux/xfs_vfs.o  linux/xfs_random.o \
 linux/xfs_locks.o linux/xfs_globals.o linux/xfs_debug.o linux/xfs_uuid.o \
 linux/xfs_dnlc.o linux/xfs_fs_bio.o linux/xfs_fs_subr.o  linux/xfs_griostubs.o \
 linux/xfs_aclstubs.o linux/xfs_dmistubs.o linux/xfs_move.o linux/xfs_thread.o
 
# linux/xfs_inode.o

M_OBJS   := $(O_TARGET)
XFS_OBJS  :=   xfs_alloc.o \
                xfs_alloc_btree.o \
                xfs_attr.o \
                xfs_attr_leaf.o \
                xfs_bit.o \
                xfs_bmap.o \
                xfs_bmap_btree.o \
                xfs_btree.o \
                xfs_buf_item.o \
                xfs_da_btree.o \
                xfs_dir.o \
                xfs_dir2.o \
                xfs_dir2_block.o \
                xfs_dir2_data.o \
                xfs_dir2_leaf.o \
                xfs_dir2_node.o \
                xfs_dir2_sf.o \
                xfs_dir2_trace.o \
                xfs_dir_leaf.o \
                xfs_error.o \
                xfs_extfree_item.o \
                xfs_fsops.o \
                xfs_ialloc.o \
                xfs_ialloc_btree.o \
                xfs_icrash.o \
                xfs_iget.o \
                xfs_inode.o \
                xfs_inode_item.o \
                xfs_iocore.o \
                xfs_itable.o \
                xfs_dfrag.o \
                xfs_log.o \
                xfs_log_recover.o \
                xfs_macros.o \
                xfs_misc.o \
                xfs_mount.o \
                xfs_rename.o \
                xfs_trans.o \
                xfs_trans_ail.o \
                xfs_trans_buf.o \
                xfs_trans_extfree.o \
                xfs_trans_inode.o \
                xfs_trans_item.o \
                xfs_utils.o \
                xfs_vfsops.o \
                xfs_vnodeops.o \
                xfs_rw.o \
		xfsdmapistubs.o \
		xfsquotasstubs.o \
		xfsrtstubs.o \
		oplockstubs.o
#                xfs_rpc_item.o
 
O_OBJS :=  $(XFS_OBJS) $(LINO_OBJS) libgcc.a

include $(TOPDIR)/Rules.make

CFLAGS	= -Wstrict-prototypes -O2 -fomit-frame-pointer

#%.o: %.c
#	$(CC) $(XFS_CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -c -o $@ $<
#	@ ( \
#		echo 'ifeq ($(strip $(subst $(comma),:,$(XFS_CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@))),$$(strip $$(subst $$(comma),:,$$(XFS_CFLAGS) $$(EXTRA_CFLAGS) $$(CFLAGS_$@))))' ; \
#		echo 'FILES_FLAGS_UP_TO_DATE += $@' ; \
#		echo 'endif' \
#	) > $(dir $@)/.$(notdir $@).flags


libgcc.a:
		ln -sf `find /usr/lib/gcc-lib -name libgcc.a -print | head -1`