-DIST_SUBDIRS = linux util posix darwin
-
-if LIBLUSTRE
-noinst_LIBRARIES= libcfs.a
-libcfs_a_SOURCES= posix/posix-debug.c user-prim.c user-lock.c user-tcpip.c \
- prng.c user-bitops.c user-mem.c hash.c kernel_user_comm.c \
- workitem.c fail.c libcfs_cpu.c libcfs_mem.c libcfs_lock.c \
- posix/rbtree.c user-crypto.c posix/posix-crc32.c \
- posix/posix-adler.c
-
-if ARCH_x86
-libcfs_a_SOURCES += user-crc32pclmul.c crc32-pclmul_asm.S
-endif
-
-libcfs_a_CPPFLAGS = $(LLCPPFLAGS)
-libcfs_a_CFLAGS = $(LLCFLAGS)
-endif
-
-lib_LIBRARIES = libcfsutil.a
-libcfsutil_a_SOURCES = nidstrings.c libcfs_string.c util/parser.c \
- util/l_ioctl.c util/util.c
-libcfsutil_a_CPPFLAGS = $(LLCPPFLAGS)
-libcfsutil_a_CFLAGS = $(LLCFLAGS) -DLUSTRE_UTILS=1