X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fliblustre%2Ftests%2FMakefile.am;h=c6c7e277f0437b06d0d6a22f28a33ef974563e5a;hp=39b22d00349f4e711588b28e543dfe9f70ca81f8;hb=9d72ec94b56590ad5da7003e93dd268d81fc8d14;hpb=004cc2b4c6eb32672985e2f4b4bbf9413e314547 diff --git a/lustre/liblustre/tests/Makefile.am b/lustre/liblustre/tests/Makefile.am index 39b22d0..c6c7e27 100644 --- a/lustre/liblustre/tests/Makefile.am +++ b/lustre/liblustre/tests/Makefile.am @@ -4,10 +4,7 @@ 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) $(ZLIB) - -CC = $(PTHREAD_CC) -LD = $(PTHREAD_CC) +LLIB_EXEC = $(top_builddir)/lustre/utils/liblustreapi.a $(top_builddir)/lustre/liblustre/liblustre.a $(CAP_LIBS) $(PTHREAD_LIBS) if LIBLUSTRE noinst_LIBRARIES = libtestcommon.a @@ -19,9 +16,7 @@ endif # MPITESTS noinst_PROGRAMS = sanity -if !CRAY_XT3 noinst_PROGRAMS += recovery_small replay_single replay_ost_single -endif # !CRAY_XT3 liblustre_testdir=$(libdir)/lustre/liblustre/tests liblustre_test_PROGRAMS = $(noinst_PROGRAMS) @@ -30,30 +25,26 @@ liblustre_test_LIBRARIES = $(noinst_LIBRARIES) endif # LIBLUSTRE_TESTS endif # LIBLUSTRE -DIST_SUBDIRS := mpi +DIST_SUBDIRS = mpi libtestcommon_a_SOURCES = test_common.c test_common.h sanity_SOURCES = sanity.c -sanity_CFLAGS = $(LL_CFLAGS) $(PTHREAD_CFLAGS) -sanity_LDFLAGS := $(PTHREAD_CFLAGS) +sanity_CFLAGS = $(LL_CFLAGS) sanity_LDADD := libtestcommon.a $(LLIB_EXEC) sanity_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a recovery_small_SOURCES = recovery_small.c -recovery_small_CFLAGS = $(LL_CFLAGS) $(PTHREAD_CFLAGS) -recovery_small_LDFLAGS := $(PTHREAD_CFLAGS) +recovery_small_CFLAGS = $(LL_CFLAGS) recovery_small_LDADD := libtestcommon.a $(LLIB_EXEC) recovery_small_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a replay_single_SOURCES = replay_single.c -replay_single_CFLAGS = $(LL_CFLAGS) $(PTHREAD_CFLAGS) -replay_single_LDFLAGS := $(PTHREAD_CFLAGS) +replay_single_CFLAGS = $(LL_CFLAGS) replay_single_LDADD := libtestcommon.a $(LLIB_EXEC) replay_single_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a replay_ost_single_SOURCES = replay_ost_single.c -replay_ost_single_CFLAGS = $(LL_CFLAGS) $(PTHREAD_CFLAGS) -replay_ost_single_LDFLAGS := $(PTHREAD_CFLAGS) +replay_ost_single_CFLAGS = $(LL_CFLAGS) replay_ost_single_LDADD := libtestcommon.a $(LLIB_EXEC) replay_ost_single_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a