X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdclass%2FautoMakefile.am;h=54a3f20406168de03b9d315d9df62b1939b9f322;hp=e0982cac98bd53583d94a2dc4af8e00b80c0729b;hb=fa507031d245b08c7f24efed32819daf2aa42ab3;hpb=113303973ec9f8484eb2355a1a6ef3c4c7fd6a56 diff --git a/lustre/obdclass/autoMakefile.am b/lustre/obdclass/autoMakefile.am index e0982ca..54a3f20 100644 --- a/lustre/obdclass/autoMakefile.am +++ b/lustre/obdclass/autoMakefile.am @@ -2,17 +2,19 @@ SUBDIRS := linux if DARWIN SUBDIRS += darwin endif -DIST_SUBDIRS := $(SUBDIRS) +DIST_SUBDIRS := linux darwin if LIBLUSTRE - +INCLUDES = -I$(SYSIO)/include noinst_LIBRARIES = liblustreclass.a -liblustreclass_a_SOURCES = class_obd.c debug.c genops.c statfs_pack.c uuid.c +liblustreclass_a_SOURCES = class_obd.c debug.c genops.c statfs_pack.c mea.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_swab.c -liblustreclass_a_SOURCES += prng.c #llog_ioctl.c rbtree.c -liblustreclass_a_CPPFLAGS = $(LLCPPFLAGS) -DLUSTRE_VERSION=\"32\" -DBUILD_VERSION=\"1\" +liblustreclass_a_SOURCES += llog_lvfs.c llog_swab.c capa.c +liblustreclass_a_SOURCES += lu_object.c cl_object.c lu_time.c lu_ref.c +liblustreclass_a_SOURCES += cl_page.c cl_lock.c cl_io.c +liblustreclass_a_SOURCES += #llog_ioctl.c rbtree.c +liblustreclass_a_CPPFLAGS = $(LLCPPFLAGS) liblustreclass_a_CFLAGS = $(LLCFLAGS) endif @@ -32,8 +34,9 @@ obdclass_SOURCES := \ darwin/darwin-module.c darwin/darwin-sysctl.c \ class_obd.c genops.c lprocfs_status.c \ lustre_handles.c lustre_peer.c obd_config.c \ - obdo.c debug.c llog_ioctl.c uuid.c prng.c \ - llog_swab.c llog_obd.c llog.c llog_cat.c llog_lvfs.c + obdo.c debug.c llog_ioctl.c uuid.c \ + llog_swab.c llog_obd.c llog.c llog_cat.c llog_lvfs.c \ + mea.c lu_object.c dt_object.c hash.c lu_ref.c obdclass_CFLAGS := $(EXTRA_KCFLAGS) obdclass_LDFLAGS := $(EXTRA_KLDFLAGS) @@ -51,4 +54,3 @@ install-data-hook: $(install_data_hook) MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ llog-test.c MOSTLYCLEANFILES += linux/*.o darwin/*.o -DIST_SOURCES = $(filter-out llog-test.c,$(obdclass-all-objs:.o=.c)) $(llog-test-objs:.o=.c) llog_test.c llog_internal.h