#
# Makefile for the Linux JFS filesystem routines.
#
# 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 (not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile.

O_TARGET := jfs.o
obj-y   := super.o file.o dir.o inode.o namei.o jfs_mount.o jfs_umount.o \
	    jfs_xtree.o jfs_imap.o jfs_debug.o jfs_dmap.o \
	    jfs_unicode.o jfs_dtree.o jfs_inode.o jfs_ftruncate.o \
	    jfs_extent.o jfs_write.o symlink.o jfs_metapage.o \
	    jfs_logmgr.o jfs_txnmgr.o
obj-m   := $(O_TARGET)

# Backward compatibility with 2.2.x
O_OBJS	:= $(obj-y)
M_OBJS	:= $(obj-m)

EXTRA_CFLAGS += -D_JFS -D_JFS_DEBUG -D_JFS_4K

include $(TOPDIR)/Rules.make
