1## Process this file with automake to produce Makefile.in
2
3noinst_PROGRAMS = testrvm
4
5if LIBRVM
6noinst_PROGRAMS += rvm_basher
7testrvm_LDADD = $(top_builddir)/rvm/librvm.la
8endif
9if LIBRVMLWP
10noinst_PROGRAMS += lwp_basher
11testrvm_LDADD = $(top_builddir)/rvm/librvmlwp.la
12endif
13if LIBRVMPT
14noinst_PROGRAMS += pt_basher
15testrvm_LDADD = $(top_builddir)/rvm/librvmpt.la
16endif
17
18AM_CPPFLAGS = -I$(top_srcdir)/include
19
20testrvm_SOURCES = testrvm.c testrvm.h
21
22rvm_basher_CPPFLAGS = $(AM_CPPFLAGS)
23rvm_basher_LDADD = $(top_builddir)/rds/librds.la \
24		   $(top_builddir)/seg/libseg.la \
25		   $(top_builddir)/rvm/librvm.la
26
27lwp_basher_CPPFLAGS = $(AM_CPPFLAGS) -DRVM_USELWP $(LWP_CFLAGS)
28lwp_basher_SOURCES = rvm_basher.c
29lwp_basher_LDADD = $(top_builddir)/rds/librdslwp.la \
30		   $(top_builddir)/seg/libseglwp.la \
31		   $(top_builddir)/rvm/librvmlwp.la \
32		   $(LWP_LIBS)
33
34pt_basher_CPPFLAGS = $(AM_CPPFLAGS) -DRVM_USEPT $(PTHREAD_CFLAGS)
35pt_basher_SOURCES = rvm_basher.c
36pt_basher_LDADD = $(top_builddir)/rds/librdspt.la \
37		  $(top_builddir)/seg/libsegpt.la \
38		  $(top_builddir)/rvm/librvmpt.la \
39		  $(PTHREAD_LIBS)
40
41EXTRA_DIST = README basher_parms map_chk_file map_data_file \
42    t1_chk_file t3_chk_file t5_chk_file test_data_file
43MAINTAINERCLEANFILES = Makefile.in
44
45