X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2FautoMakefile.am;h=962a416baae21c2fd07786873ad53e26bf1de1aa;hb=5ed65fd0594741e69999216db27d85f7f6f7f5d6;hp=d1d2ced9d8d4c442ebc1d8139fe428a3662bd73f;hpb=2dc9c16e770415d56839e1996015fec5fab93f29;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/autoMakefile.am b/lustre/obdclass/autoMakefile.am index d1d2ced9..962a416 100644 --- a/lustre/obdclass/autoMakefile.am +++ b/lustre/obdclass/autoMakefile.am @@ -1,18 +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 mea.c -liblustreclass_a_SOURCES += obdo.c obd_config.c llog_obd.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 +MOSTLYCLEANFILES := @MOSTLYCLEANFILES@