~ubuntu-branches/ubuntu/raring/aufs/raring

« back to all changes in this revision

Viewing changes to fs/aufs25/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2008-05-06 18:35:50 UTC
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20080506183550-7y7mrzkzkh2tjlfu
Tags: upstream-0+20080506
ImportĀ upstreamĀ versionĀ 0+20080506

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# AUFS Makefile for the Linux 2.6.25 and later
 
2
# $Id: Makefile,v 1.3 2008/04/28 03:03:10 sfjro Exp $
 
3
 
 
4
# the environment variables are not inherited since 2.6.23
 
5
ifdef AUFS_EXTRA_CFLAGS
 
6
EXTRA_CFLAGS += ${AUFS_EXTRA_CFLAGS}
 
7
endif
 
8
 
 
9
########################################
 
10
 
 
11
ifdef CONFIG_AUFS_RR_SQUASHFS
 
12
# cf. squashfs3.2-r2 and sqlzma patch.
 
13
EXTRA_CFLAGS += -DSQUASHFS_MAGIC=0x73717368
 
14
EXTRA_CFLAGS += -DSQUASHFS_MAGIC_SWAP=0x68737173
 
15
EXTRA_CFLAGS += -DSQUASHFS_MAGIC_LZMA=0x71736873
 
16
EXTRA_CFLAGS += -DSQUASHFS_MAGIC_LZMA_SWAP=0x73687371
 
17
endif
 
18
 
 
19
ifdef CONFIG_AUFS_WORKAROUND_FUSE
 
20
# defined in ${srctree}/fs/fuse/inode.c
 
21
EXTRA_CFLAGS += -DFUSE_SUPER_MAGIC=0x65735546
 
22
endif
 
23
 
 
24
ifdef CONFIG_XFS_FS
 
25
# defined in ${srctree}/fs/xfs/xfs_sb.h
 
26
EXTRA_CFLAGS += -DXFS_SB_MAGIC=0x58465342
 
27
endif
 
28
 
 
29
ifdef CONFIG_TMPFS
 
30
# defined in ${srctree}/mm/shmem.c
 
31
EXTRA_CFLAGS += -DTMPFS_MAGIC=0x01021994
 
32
endif
 
33
 
 
34
-include $(dir $(lastword ${MAKEFILE_LIST}))priv.mk
 
35
#$(warning ${EXTRA_CFLAGS})
 
36
 
 
37
########################################
 
38
 
 
39
obj-$(CONFIG_AUFS) += aufs.o
 
40
aufs-y := module.o super.o sbinfo.o branch.o xino.o sysaufs.o opts.o \
 
41
        wkq.o vfsub.o dcsub.o \
 
42
        cpup.o whout.o plink.o wbr_policy.o \
 
43
        dentry.o dinfo.o \
 
44
        file.o f_op.o finfo.o \
 
45
        dir.o vdir.o \
 
46
        inode.o i_op.o i_op_add.o i_op_del.o i_op_ren.o iinfo.o \
 
47
        misc.o
 
48
 
 
49
#xattr.o
 
50
aufs-$(CONFIG_SYSFS) += sysfs.o
 
51
aufs-$(CONFIG_AUFS_BR_NFS) += br_nfs.o
 
52
aufs-$(CONFIG_AUFS_BR_XFS) += br_xfs.o
 
53
aufs-$(CONFIG_AUFS_WORKAROUND_FUSE) += br_fuse.o
 
54
 
 
55
aufs-$(CONFIG_AUFS_DLGT) += dlgt.o
 
56
aufs-$(CONFIG_AUFS_HINOTIFY) += hinotify.o hin_or_dlgt.o
 
57
# dirty
 
58
ifndef CONFIG_AUFS_HINOTIFY
 
59
aufs-$(CONFIG_AUFS_DLGT) += hin_or_dlgt.o
 
60
endif
 
61
 
 
62
aufs-$(CONFIG_AUFS_EXPORT) += export.o
 
63
aufs-$(CONFIG_AUFS_ROBR) += robr.o
 
64
aufs-$(CONFIG_AUFS_DEBUG) += debug.o
 
65
aufs-$(CONFIG_AUFS_MAGIC_SYSRQ) += sysrq.o