1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
# automake does not support "maude_LIBS" variables. We can only alter
# the generic LIBS one. In case the functions are mocked in the test
# implementation, then we are pretty sure that they will be overriden by
# our local implementation. So we include *everything*...
LIBS = $(CORE_LIBS)
AM_LDFLAGS = $(CORE_LDFLAGS)
# Those tests use stub functions interposition which does not work (yet)
# under OS X. Another way of stubbing functions from libpromises is needed.
if !XNU
AM_CPPFLAGS = $(CORE_CPPFLAGS) \
$(ENTERPRISE_CFLAGS) \
-I../../libpromises \
-I../../libutils \
-I../../libcfnet \
-I../../libpromises
EXTRA_DIST = \
run_db_load.sh \
run_lastseen_threaded_load.sh
TESTS = \
run_db_load.sh \
run_lastseen_threaded_load.sh
check_PROGRAMS = db_load lastseen_load lastseen_threaded_load
db_load_SOURCES = db_load.c
db_load_LDADD = ../unit/libdb.la
lastseen_load_SOURCES = lastseen_load.c \
$(srcdir)/../../libpromises/lastseen.c \
$(srcdir)/../../libutils/statistics.c
lastseen_load_LDADD = ../unit/libdb.la ../../libpromises/libpromises.la
endif
lastseen_threaded_load_LDADD = ../unit/libtest.la \
../../libpromises/libpromises.la
|