1# 2# Makefile for the Linux filesystems. 3# 4# 14 Sep 2000, Christoph Hellwig <hch@infradead.org> 5# Rewritten to use lists instead of if-statements. 6# 7 8O_TARGET := fs.o 9 10export-objs := filesystems.o open.o dcache.o buffer.o 11mod-subdirs := nls 12 13obj-y := open.o read_write.o devices.o file_table.o buffer.o \ 14 super.o block_dev.o char_dev.o stat.o exec.o pipe.o namei.o \ 15 fcntl.o ioctl.o readdir.o select.o fifo.o locks.o \ 16 dcache.o inode.o attr.o bad_inode.o file.o iobuf.o dnotify.o \ 17 filesystems.o namespace.o seq_file.o xattr.o 18 19ifeq ($(CONFIG_QUOTA),y) 20obj-y += dquot.o 21else 22obj-y += noquot.o 23endif 24 25subdir-$(CONFIG_PROC_FS) += proc 26subdir-y += partitions 27 28# Do not add any filesystems before this line 29subdir-$(CONFIG_EXT3_FS) += ext3 # Before ext2 so root fs can be ext3 30subdir-$(CONFIG_JBD) += jbd 31subdir-$(CONFIG_EXT2_FS) += ext2 32subdir-$(CONFIG_CRAMFS) += cramfs 33subdir-$(CONFIG_RAMFS) += ramfs 34subdir-$(CONFIG_CODA_FS) += coda 35subdir-$(CONFIG_INTERMEZZO_FS) += intermezzo 36subdir-$(CONFIG_MINIX_FS) += minix 37subdir-$(CONFIG_FAT_FS) += fat 38subdir-$(CONFIG_UMSDOS_FS) += umsdos 39subdir-$(CONFIG_MSDOS_FS) += msdos 40subdir-$(CONFIG_VFAT_FS) += vfat 41subdir-$(CONFIG_BFS_FS) += bfs 42subdir-$(CONFIG_ISO9660_FS) += isofs 43subdir-$(CONFIG_DEVFS_FS) += devfs 44subdir-$(CONFIG_HFS_FS) += hfs 45subdir-$(CONFIG_VXFS_FS) += freevxfs 46subdir-$(CONFIG_NFS_FS) += nfs 47subdir-$(CONFIG_NFSD) += nfsd 48subdir-$(CONFIG_LOCKD) += lockd 49subdir-$(CONFIG_NLS) += nls 50subdir-$(CONFIG_SYSV_FS) += sysv 51subdir-$(CONFIG_SMB_FS) += smbfs 52subdir-$(CONFIG_NCP_FS) += ncpfs 53subdir-$(CONFIG_HPFS_FS) += hpfs 54subdir-$(CONFIG_NTFS_FS) += ntfs 55subdir-$(CONFIG_UFS_FS) += ufs 56subdir-$(CONFIG_EFS_FS) += efs 57subdir-$(CONFIG_JFFS_FS) += jffs 58subdir-$(CONFIG_JFFS2_FS) += jffs2 59subdir-$(CONFIG_AFFS_FS) += affs 60subdir-$(CONFIG_ROMFS_FS) += romfs 61subdir-$(CONFIG_QNX4FS_FS) += qnx4 62subdir-$(CONFIG_UDF_FS) += udf 63subdir-$(CONFIG_AUTOFS_FS) += autofs 64subdir-$(CONFIG_AUTOFS4_FS) += autofs4 65subdir-$(CONFIG_ADFS_FS) += adfs 66subdir-$(CONFIG_REISERFS_FS) += reiserfs 67subdir-$(CONFIG_DEVPTS_FS) += devpts 68subdir-$(CONFIG_SUN_OPENPROMFS) += openpromfs 69subdir-$(CONFIG_BEFS_FS) += befs 70subdir-$(CONFIG_JFS_FS) += jfs 71 72 73obj-$(CONFIG_BINFMT_AOUT) += binfmt_aout.o 74obj-$(CONFIG_BINFMT_EM86) += binfmt_em86.o 75obj-$(CONFIG_BINFMT_MISC) += binfmt_misc.o 76 77# binfmt_script is always there 78obj-y += binfmt_script.o 79 80obj-$(CONFIG_BINFMT_ELF) += binfmt_elf.o 81 82# persistent filesystems 83obj-y += $(join $(subdir-y),$(subdir-y:%=/%.o)) 84 85 86include $(TOPDIR)/Rules.make 87

