1 ## Liblustre excecutables & libraries Makefile
4 CFLAGS := -g -Wall -I$(top_srcdir)/utils -I$(top_srcdir)/portals/include \
5 -I$(top_srcdir)/portals/unals -I$(SYSIO)/include \
6 -I/opt/lam/include -L/opt/lam/lib
9 CPPFLAGS = $(HAVE_EFENCE) -D_LARGEFILE64_SOURCE=1
13 LLIB_EXEC= ../liblustre.a -lpthread
15 noinst_LIBRARIES = libtestcommon.a
16 libtestcommon_a_SOURCES = test_common.c
18 bin_PROGRAMS = echo_test sanity recovery_small replay_single test_lock_cancel \
21 echo_test_SOURCES = echo_test.c ../../utils/parser.c ../../utils/obd.c ../../utils/lustre_cfg.c
22 echo_test_LDADD = ../liblsupport.a $(LIBREADLINE) -lpthread
23 echo_test_DEPENDENCIES=$(top_srcdir)/liblustre/liblsupport.a
25 sanity_SOURCES = sanity.c
26 sanity_LDADD := ./libtestcommon.a $(LLIB_EXEC)
27 sanity_DEPENDENCIES = $(top_srcdir)/liblustre/liblustre.a ./libtestcommon.a
29 recovery_small_SOURCES = recovery_small.c
30 recovery_small_LDADD := ./libtestcommon.a $(LLIB_EXEC)
31 recovery_small_DEPENDENCIES = $(top_srcdir)/liblustre/liblustre.a
33 replay_single_SOURCES = replay_single.c
34 replay_single_LDADD := ./libtestcommon.a $(LLIB_EXEC)
35 replay_single_DEPENDENCIES = $(top_srcdir)/liblustre/liblustre.a
37 test_lock_cancel_SOURCES = test_lock_cancel.c
38 test_lock_cancel_LDADD := $(LLIB_EXEC) -lmpi -llam
40 replay_ost_single_SOURCES = replay_ost_single.c
41 replay_ost_single_LDADD := ./libtestcommon.a $(LLIB_EXEC)
42 replay_ost_single_DEPENDENCIES = $(top_srcdir)/liblustre/liblustre.a
44 include $(top_srcdir)/Rules