Whamcloud - gitweb
LU-2088 utils: lctl to generate gdb symbols for lod/osp
[fs/lustre-release.git] / libcfs / libcfs / Makefile.in
index 2b040b0..c9cff92 100644 (file)
@@ -8,6 +8,21 @@ libcfs-linux-objs += linux-utils.o linux-module.o
 libcfs-linux-objs += linux-crypto.o linux-crypto-crc32.o
 libcfs-linux-objs += linux-crypto-adler.o
 
+libcfs-pclmul-obj :=
+
+ifeq ($(ARCH),x86)
+libcfs-linux-objs += linux-crypto-crc32pclmul.o
+libcfs-pclmul-obj += crc32-pclmul_asm.o
+endif
+ifeq ($(ARCH),i386)
+libcfs-linux-objs += linux-crypto-crc32pclmul.o
+libcfs-pclmul-obj += crc32-pclmul_asm.o
+endif
+ifeq ($(ARCH),x86_64)
+libcfs-linux-objs += linux-crypto-crc32pclmul.o
+libcfs-pclmul-obj += crc32-pclmul_asm.o
+endif
+
 default: all
 
 ifeq (@linux25@,no)
@@ -29,7 +44,7 @@ libcfs-all-objs := debug.o fail.o nidstrings.o lwt.o module.o tracefile.o \
                   prng.o workitem.o upcall_cache.o libcfs_cpu.o \
                   libcfs_mem.o libcfs_lock.o
 
-libcfs-objs := $(libcfs-linux-objs) $(libcfs-all-objs)
+libcfs-objs := $(libcfs-linux-objs) $(libcfs-all-objs) $(libcfs-pclmul-obj)
 
 EXTRA_PRE_CFLAGS := -I@LUSTRE@/../libcfs/libcfs