2 # Makefile for the Linux filesystems.
4 # 14 Sep 2000, Christoph Hellwig <hch@infradead.org>
5 # Rewritten to use lists instead of if-statements.
10 export-objs := filesystems.o open.o dcache.o buffer.o dquot.o
13 obj-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 quota.o
19 obj-$(CONFIG_QUOTA) += dquot.o quota_v1.o
20 obj-$(CONFIG_QFMT_V2) += quota_v2.o
22 subdir-$(CONFIG_PROC_FS) += proc
23 subdir-y += partitions
25 # Do not add any filesystems before this line
26 subdir-$(CONFIG_EXT3_FS) += ext3 # Before ext2 so root fs can be ext3
27 subdir-$(CONFIG_JBD) += jbd
28 subdir-$(CONFIG_EXT2_FS) += ext2
29 subdir-$(CONFIG_CRAMFS) += cramfs
30 subdir-$(CONFIG_RAMFS) += ramfs
31 subdir-$(CONFIG_CODA_FS) += coda
32 subdir-$(CONFIG_INTERMEZZO_FS) += intermezzo
33 subdir-$(CONFIG_MINIX_FS) += minix
34 subdir-$(CONFIG_FAT_FS) += fat
35 subdir-$(CONFIG_UMSDOS_FS) += umsdos
36 subdir-$(CONFIG_MSDOS_FS) += msdos
37 subdir-$(CONFIG_VFAT_FS) += vfat
38 subdir-$(CONFIG_BFS_FS) += bfs
39 subdir-$(CONFIG_ISO9660_FS) += isofs
40 subdir-$(CONFIG_DEVFS_FS) += devfs
41 subdir-$(CONFIG_HFSPLUS_FS) += hfsplus # Before hfs to find wrapped HFS+
42 subdir-$(CONFIG_HFS_FS) += hfs
43 subdir-$(CONFIG_VXFS_FS) += freevxfs
44 subdir-$(CONFIG_NFS_FS) += nfs
45 subdir-$(CONFIG_NFSD) += nfsd
46 subdir-$(CONFIG_LOCKD) += lockd
47 subdir-$(CONFIG_NLS) += nls
48 subdir-$(CONFIG_SYSV_FS) += sysv
49 subdir-$(CONFIG_SMB_FS) += smbfs
50 subdir-$(CONFIG_NCP_FS) += ncpfs
51 subdir-$(CONFIG_HPFS_FS) += hpfs
52 subdir-$(CONFIG_NTFS_FS) += ntfs
53 subdir-$(CONFIG_UFS_FS) += ufs
54 subdir-$(CONFIG_EFS_FS) += efs
55 subdir-$(CONFIG_JFFS_FS) += jffs
56 subdir-$(CONFIG_JFFS2_FS) += jffs2
57 subdir-$(CONFIG_AFFS_FS) += affs
58 subdir-$(CONFIG_ROMFS_FS) += romfs
59 subdir-$(CONFIG_QNX4FS_FS) += qnx4
60 subdir-$(CONFIG_UDF_FS) += udf
61 subdir-$(CONFIG_AUTOFS_FS) += autofs
62 subdir-$(CONFIG_AUTOFS4_FS) += autofs4
63 subdir-$(CONFIG_ADFS_FS) += adfs
64 subdir-$(CONFIG_REISERFS_FS) += reiserfs
65 subdir-$(CONFIG_DEVPTS_FS) += devpts
66 subdir-$(CONFIG_SUN_OPENPROMFS) += openpromfs
67 subdir-$(CONFIG_BEFS_FS) += befs
68 subdir-$(CONFIG_JFS_FS) += jfs
69 subdir-$(CONFIG_XFS_FS) += xfs
71 obj-$(CONFIG_BINFMT_AOUT) += binfmt_aout.o
72 obj-$(CONFIG_BINFMT_EM86) += binfmt_em86.o
73 obj-$(CONFIG_BINFMT_MISC) += binfmt_misc.o
75 # binfmt_script is always there
76 obj-y += binfmt_script.o
78 obj-$(CONFIG_BINFMT_ELF) += binfmt_elf.o
80 # persistent filesystems
81 obj-y += $(join $(subdir-y),$(subdir-y:%=/%.o))
84 include $(TOPDIR)/Rules.make