Whamcloud - gitweb
LU-9183 llite: handle xattr with the xattr_handler infrastructure
[fs/lustre-release.git] / lustre / llite / Makefile.in
index c5555fd..08ca2c2 100644 (file)
@@ -1,7 +1,9 @@
 MODULES := lustre
 lustre-objs := dcache.o dir.o file.o llite_lib.o llite_nfs.o
 lustre-objs += rw.o lproc_llite.o namei.o symlink.o llite_mmap.o
-lustre-objs += xattr.o xattr_cache.o
+@XATTR_HANDLER_TRUE@lustre-objs += xattr.o
+@XATTR_HANDLER_FALSE@lustre-objs += xattr26.o
+lustre-objs += xattr_cache.o
 lustre-objs += rw26.o super25.o statahead.o xattr_security.o
 lustre-objs += glimpse.o
 lustre-objs += lcommon_cl.o
@@ -12,4 +14,7 @@ lustre-objs += range_lock.o
 EXTRA_DIST := $(lustre-objs:.o=.c) llite_internal.h rw26.c super25.c
 EXTRA_DIST += vvp_internal.h range_lock.h
 
+@XATTR_HANDLER_TRUE@EXTRA_DIST += xattr26.c
+@XATTR_HANDLER_FALSE@EXTRA_DIST += xattr.c
+
 @INCLUDE_RULES@