#
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
8 O_TARGET :=
fs.o
9
10 export-objs
:= filesystems.o open.o dcache.o buffer.o
11 mod-subdirs
:= nls
12
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
18
19 ifeq ($(CONFIG_QUOTA),y)
20 obj-y +=
dquot.o
21 else
22 obj-y +=
noquot.o
23 endif
24
25
subdir-$(CONFIG_PROC_FS) += proc
26 subdir-y
+= partitions
27
28 # Do not
add any filesystems before this line
29 subdir-$(CONFIG_EXT3_FS)
+= ext3 # Before ext2 so root fs can be ext3
30
subdir-$(CONFIG_JBD)
+= jbd
31 subdir-$(CONFIG_EXT2_FS)
+= ext2
32
subdir-$(CONFIG_CRAMFS) +=
cramfs
33
subdir-$(CONFIG_RAMFS) +=
ramfs
34
subdir-$(CONFIG_CODA_FS) += coda
35
subdir-$(CONFIG_INTERMEZZO_FS) += intermezzo
36
subdir-$(CONFIG_MINIX_FS) += minix
37
subdir-$(CONFIG_FAT_FS) += fat
38
subdir-$(CONFIG_UMSDOS_FS) += umsdos
39
subdir-$(CONFIG_MSDOS_FS) += msdos
40
subdir-$(CONFIG_VFAT_FS) += vfat
41
subdir-$(CONFIG_BFS_FS) += bfs
42 subdir-$(CONFIG_ISO9660_FS)
+= isofs
43
subdir-$(CONFIG_DEVFS_FS) += devfs
44
subdir-$(CONFIG_HFS_FS) += hfs
45
subdir-$(CONFIG_VXFS_FS) += freevxfs
46
subdir-$(CONFIG_NFS_FS) += nfs
47
subdir-$(CONFIG_NFSD)
+= nfsd
48
subdir-$(CONFIG_LOCKD) +=
lockd
49
subdir-$(CONFIG_NLS)
+= nls
50
subdir-$(CONFIG_SYSV_FS) += sysv
51
subdir-$(CONFIG_SMB_FS) += smbfs
52
subdir-$(CONFIG_NCP_FS) += ncpfs
53
subdir-$(CONFIG_HPFS_FS) += hpfs
54
subdir-$(CONFIG_NTFS_FS) += ntfs
55
subdir-$(CONFIG_UFS_FS) += ufs
56
subdir-$(CONFIG_EFS_FS) += efs
57
subdir-$(CONFIG_JFFS_FS) += jffs
58 subdir-$(CONFIG_JFFS2_FS)
+= jffs2
59
subdir-$(CONFIG_AFFS_FS) += affs
60
subdir-$(CONFIG_ROMFS_FS) += romfs
61 subdir-$(CONFIG_QNX4FS_FS)
+= qnx4
62
subdir-$(CONFIG_UDF_FS) += udf
63
subdir-$(CONFIG_AUTOFS_FS) += autofs
64 subdir-$(CONFIG_AUTOFS4_FS)
+= autofs4
65
subdir-$(CONFIG_ADFS_FS) += adfs
66
subdir-$(CONFIG_REISERFS_FS) += reiserfs
67
subdir-$(CONFIG_DEVPTS_FS) += devpts
68
subdir-$(CONFIG_SUN_OPENPROMFS) += openpromfs
69
subdir-$(CONFIG_BEFS_FS) += befs
70
subdir-$(CONFIG_JFS_FS) += jfs
71
72
73
obj-$(CONFIG_BINFMT_AOUT) += binfmt_aout.o
74 obj-$(CONFIG_BINFMT_EM86)
+= binfmt_em86.o
75
obj-$(CONFIG_BINFMT_MISC) += binfmt_misc.o
76
77 #
binfmt_script is always there
78 obj-y
+= binfmt_script.o
79
80
obj-$(CONFIG_BINFMT_ELF) +=
binfmt_elf.o
81
82 #
persistent filesystems
83 obj-y +=
$(join $(subdir-y),$(subdir-y:%=/%.o))
84
85
86 include
$(TOPDIR)/Rules.make