Blob Blame History Raw
# Common CPPFLAGS
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)

AM_CFLAGS = -I$(top_srcdir) -I$(top_builddir) $(DEP_CFLAGS) $(BABL_CFLAGS) -lm

DEPS = $(top_builddir)/.libs/libspiro.la

LDADDS = $(top_builddir)/.libs/libspiro.la

# The tests
noinst_PROGRAMS = unit-test call-test

unit_test_SOURCES = unit-test.c

call_test_SOURCES = call-test.c
call_test_LDADD = $(LDADDS)
if WANTPTHREADS
call_test_LDADD += -lpthread
endif

TESTS = $(noinst_PROGRAMS)