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)
10 noinst_LIBRARIES = libtestcommon.a
17 noinst_PROGRAMS = sanity
20 noinst_PROGRAMS += recovery_small replay_single replay_ost_single
23 liblustre_testdir=$(libdir)/lustre/liblustre/tests
24 liblustre_test_PROGRAMS = $(noinst_PROGRAMS)
25 liblustre_test_LIBRARIES = $(noinst_LIBRARIES)
27 endif # LIBLUSTRE_TESTS
32 libtestcommon_a_SOURCES = test_common.c test_common.h
34 sanity_SOURCES = sanity.c
35 sanity_CFLAGS = $(LL_CFLAGS)
36 sanity_LDADD := libtestcommon.a $(LLIB_EXEC)
37 sanity_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a
39 recovery_small_SOURCES = recovery_small.c
40 recovery_small_CFLAGS = $(LL_CFLAGS)
41 recovery_small_LDADD := libtestcommon.a $(LLIB_EXEC)
42 recovery_small_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a
44 replay_single_SOURCES = replay_single.c
45 replay_single_CFLAGS = $(LL_CFLAGS)
46 replay_single_LDADD := libtestcommon.a $(LLIB_EXEC)
47 replay_single_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a
49 replay_ost_single_SOURCES = replay_ost_single.c
50 replay_ost_single_CFLAGS = $(LL_CFLAGS)
51 replay_ost_single_LDADD := libtestcommon.a $(LLIB_EXEC)
52 replay_ost_single_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a