X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2FautoMakefile.am;h=f290acf61519aba96468e68936c929116254988b;hb=77d406a0699307e8e633ef41f8984f45c09db9b8;hp=d131c59d3f35b5bd662494335be01f9da0983353;hpb=5707f919e41dffe024d5852321e0216eb105e206;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/autoMakefile.am b/lustre/obdclass/autoMakefile.am index d131c59..f290acf 100644 --- a/lustre/obdclass/autoMakefile.am +++ b/lustre/obdclass/autoMakefile.am @@ -1,56 +1,16 @@ SUBDIRS = linux -if DARWIN -SUBDIRS += darwin -endif -DIST_SUBDIRS = linux darwin - -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 += 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 -liblustreclass_a_SOURCES += lu_object.c cl_object.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) -I$(SYSIO)/include -liblustreclass_a_CFLAGS = $(LLCFLAGS) -I$(SYSIO)/include - -endif - +DIST_SUBDIRS = linux if MODULES if LINUX modulefs_DATA = obdclass$(KMODEXT) -noinst_DATA = llog_test$(KMODEXT) +if TESTS +modulefs_DATA += llog_test$(KMODEXT) +endif # TESTS endif # LINUX -if DARWIN -macos_PROGRAMS = obdclass - -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 \ - llog_swab.c llog_obd.c llog.c llog_cat.c \ - mea.c lu_object.c dt_object.c lu_ref.c \ - lprocfs_counters.c - -obdclass_CFLAGS := $(EXTRA_KCFLAGS) -obdclass_LDFLAGS := $(EXTRA_KLDFLAGS) -obdclass_LDADD := $(EXTRA_KLIBS) - -plist_DATA = Info.plist - -install_data_hook = fix-kext-ownership - -endif # DARWIN - endif # MODULES -install-data-hook: $(install_data_hook) - MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ -MOSTLYCLEANFILES += linux/*.o darwin/*.o +MOSTLYCLEANFILES += linux/*.o