if LIBLUSTRE
noinst_LIBRARIES = liblustreclass.a
-liblustreclass_a_SOURCES = class_obd.c debug.c genops.c statfs_pack.c mea.c uuid.c
+liblustreclass_a_SOURCES = class_obd.c debug.c genops.c statfs_pack.c uuid.c
liblustreclass_a_SOURCES += lustre_handles.c lustre_peer.c lprocfs_status.c
liblustreclass_a_SOURCES += obdo.c obd_config.c llog.c llog_obd.c llog_cat.c
liblustreclass_a_SOURCES += llog_swab.c capa.c lprocfs_counters.c
if LINUX
modulefs_DATA = obdclass$(KMODEXT)
-noinst_DATA = llog_test$(KMODEXT)
+if TESTS
+modulefs_DATA += llog_test$(KMODEXT)
+endif # TESTS
endif # LINUX
if DARWIN
lustre_handles.c lustre_peer.c obd_config.c \
obdo.c debug.c llog_ioctl.c uuid.c \
llog_swab.c llog_obd.c llog.c llog_cat.c \
- mea.c lu_object.c dt_object.c lu_ref.c \
+ lu_object.c dt_object.c lu_ref.c \
lprocfs_counters.c
obdclass_CFLAGS := $(EXTRA_KCFLAGS)