3 noinst_LIBRARIES = liblustreclass.a
4 liblustreclass_a_SOURCES = class_obd.c debug.c genops.c statfs_pack.c uuid.c
5 liblustreclass_a_SOURCES += lustre_handles.c lustre_peer.c lprocfs_status.c
6 liblustreclass_a_SOURCES += obdo.c obd_config.c llog.c llog_obd.c llog_cat.c
7 liblustreclass_a_SOURCES += llog_lvfs.c #llog_ioctl.c rbtree.c
8 liblustreclass_a_CPPFLAGS = $(LLCPPFLAGS) -DLUSTRE_VERSION=\"32\" -DBUILD_VERSION=\"1\"
9 liblustreclass_a_CFLAGS = $(LLCFLAGS)
14 modulefs_DATA = obdclass$(KMODEXT)
15 noinst_DATA = llog_test$(KMODEXT)
17 $(modulefs_DATA): lustre_build_version llog-test.c
19 llog-test.c: llog_test.c
22 lustre_build_version: FORCE
23 perl $(top_builddir)/scripts/version_tag.pl $(top_srcdir) $(top_builddir) > tmpver
24 echo "#define LUSTRE_RELEASE @RELEASE@" >> tmpver
25 cmp -s $(top_builddir)/include/linux/lustre_build_version.h tmpver \
28 mv tmpver $(top_builddir)/include/linux/lustre_build_version.h
31 MOSTLYCLEANFILES = *.o *.ko *.mod.c llog-test.c
32 DIST_SOURCES = $(filter-out llog-test.c,$(obdclass-objs:.o=.c)) $(llog-test-objs:.o=.c) llog_test.c llog_internal.h