X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fliblustre%2Ftests%2FMakefile.am;h=08bd86b1ac9d83aaf6ba9bd0d4ebb07c14e06ee1;hp=75943ff548c98607a53c1daafecaf7f095a1e6a1;hb=a021e456b402b19a1cecb5f0220e418b7f6bc2a2;hpb=eff6881041de867dd4abd76bb65db3178e50204d;ds=sidebyside diff --git a/lustre/liblustre/tests/Makefile.am b/lustre/liblustre/tests/Makefile.am index 75943ff..08bd86b 100644 --- a/lustre/liblustre/tests/Makefile.am +++ b/lustre/liblustre/tests/Makefile.am @@ -4,13 +4,13 @@ AM_CPPFLAGS = -I$(SYSIO)/include -I/opt/lam/include $(LLCPPFLAGS) -I$(top_srcdir AM_CFLAGS = $(LLCFLAGS) AM_LIBS = $(LIBEFENCE) $(LIBREADLINE) -LLIB_EXEC = $(top_builddir)/lustre/utils/liblustreapi.a $(top_builddir)/lustre/liblustre/liblustre.a $(CAP_LIBS) $(PTHREAD_LIBS) +LLIB_EXEC = $(top_builddir)/lustre/utils/liblustreapi.a $(top_builddir)/lustre/liblustre/liblustre.a $(CAP_LIBS) $(PTHREAD_LIBS) $(ZLIB) if LIBLUSTRE noinst_LIBRARIES = libtestcommon.a if LIBLUSTRE_TESTS -noinst_PROGRAMS = sanity echo_test +noinst_PROGRAMS = sanity if !CRAY_XT3 noinst_PROGRAMS += recovery_small replay_single replay_ost_single @@ -20,16 +20,15 @@ if MPITESTS noinst_PROGRAMS += test_lock_cancel endif # MPITESTS +liblustre_testdir=$(libdir)/lustre/liblustre/tests +liblustre_test_PROGRAMS = $(noinst_PROGRAMS) +liblustre_test_LIBRARIES = $(noinst_LIBRARIES) + endif # LIBLUSTRE_TESTS endif # LIBLUSTRE libtestcommon_a_SOURCES = test_common.c test_common.h -echo_test_SOURCES = echo_test.c $(top_srcdir)/lustre/utils/parser.c $(top_srcdir)/lustre/utils/obd.c $(top_srcdir)/lustre/utils/lustre_cfg.c -echo_test_CFLAGS = $(LL_CFLAGS) -echo_test_LDADD = $(top_builddir)/lustre/liblustre/liblsupport.a $(LIBREADLINE) $(CAP_LIBS) $(PTHREAD_LIBS) -echo_test_DEPENDENCIES=$(top_builddir)/lustre/liblustre/liblsupport.a - sanity_SOURCES = sanity.c sanity_CFLAGS = $(LL_CFLAGS) sanity_LDADD := libtestcommon.a $(LLIB_EXEC)