X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2FautoMakefile.am;h=962a416baae21c2fd07786873ad53e26bf1de1aa;hb=f8df907e8aaeaee559f913a68a345011a7aa1f23;hp=79ba5ac4397b4a337ba5621be20294472a8a2be4;hpb=bd1b99d7caa6ab2b7c771524af9178a3da69eeab;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/autoMakefile.am b/lustre/obdclass/autoMakefile.am index 79ba5ac..962a416 100644 --- a/lustre/obdclass/autoMakefile.am +++ b/lustre/obdclass/autoMakefile.am @@ -1,19 +1,12 @@ -if LIBLUSTRE - -noinst_LIBRARIES = liblustreclass.a -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_lvfs.c #llog_ioctl.c rbtree.c -liblustreclass_a_CPPFLAGS = $(LLCPPFLAGS) -DLUSTRE_VERSION=\"32\" -DBUILD_VERSION=\"1\" -liblustreclass_a_CFLAGS = $(LLCFLAGS) - -endif - if MODULES + +if LINUX modulefs_DATA = obdclass$(KMODEXT) -noinst_DATA = llog_test$(KMODEXT) +if TESTS +modulefs_DATA += llog_test$(KMODEXT) +endif # TESTS +endif # LINUX + endif # MODULES -MOSTLYCLEANFILES = *.o *.ko *.mod.c llog-test.c -DIST_SOURCES = $(filter-out llog-test.c,$(obdclass-objs:.o=.c)) $(llog-test-objs:.o=.c) llog_test.c llog_internal.h +MOSTLYCLEANFILES := @MOSTLYCLEANFILES@