1 ## Liblustre excecutables & libraries Makefile
3 AM_CPPFLAGS = -I$(SYSIO)/include -I/opt/lam/include $(LLCPPFLAGS) -I$(top_srcdir)/lnet/ulnds
4 AM_CFLAGS = $(LLCFLAGS)
5 AM_LIBS = $(LIBEFENCE) $(LIBREADLINE)
7 LLIB_EXEC = $(top_builddir)/lustre/utils/liblustreapi.a $(top_builddir)/lustre/liblustre/liblustre.a $(CAP_LIBS) $(PTHREAD_LIBS) $(ZLIB)
13 noinst_LIBRARIES = libtestcommon.a
20 noinst_PROGRAMS = sanity
23 noinst_PROGRAMS += recovery_small replay_single replay_ost_single
26 liblustre_testdir=$(libdir)/lustre/liblustre/tests
27 liblustre_test_PROGRAMS = $(noinst_PROGRAMS)
28 liblustre_test_LIBRARIES = $(noinst_LIBRARIES)
30 endif # LIBLUSTRE_TESTS
35 libtestcommon_a_SOURCES = test_common.c test_common.h
37 sanity_SOURCES = sanity.c
38 sanity_CFLAGS = $(LL_CFLAGS) $(PTHREAD_CFLAGS)
39 sanity_LDFLAGS := $(PTHREAD_CFLAGS)
40 sanity_LDADD := libtestcommon.a $(LLIB_EXEC)
41 sanity_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a
43 recovery_small_SOURCES = recovery_small.c
44 recovery_small_CFLAGS = $(LL_CFLAGS) $(PTHREAD_CFLAGS)
45 recovery_small_LDFLAGS := $(PTHREAD_CFLAGS)
46 recovery_small_LDADD := libtestcommon.a $(LLIB_EXEC)
47 recovery_small_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a
49 replay_single_SOURCES = replay_single.c
50 replay_single_CFLAGS = $(LL_CFLAGS) $(PTHREAD_CFLAGS)
51 replay_single_LDFLAGS := $(PTHREAD_CFLAGS)
52 replay_single_LDADD := libtestcommon.a $(LLIB_EXEC)
53 replay_single_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a
55 replay_ost_single_SOURCES = replay_ost_single.c
56 replay_ost_single_CFLAGS = $(LL_CFLAGS) $(PTHREAD_CFLAGS)
57 replay_ost_single_LDFLAGS := $(PTHREAD_CFLAGS)
58 replay_ost_single_LDADD := libtestcommon.a $(LLIB_EXEC)
59 replay_ost_single_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a