Makefile.am 443 Bytes
Newer Older
1
SUBDIRS = .
2

Shawn Routhier's avatar
Shawn Routhier committed
3
AM_CPPFLAGS = $(ATF_CFLAGS) -I$(top_srcdir)/includes
4

5 6
EXTRA_DIST = Atffile

7
ATF_TESTS =
8

9 10 11 12 13 14 15
if HAVE_ATF

ATF_TESTS += alloc_unittest

alloc_unittest_SOURCES = test_alloc.c $(top_srcdir)/tests/t_api_dhcp.c
alloc_unittest_LDADD = $(ATF_LDFLAGS)
alloc_unittest_LDADD += ../libdhcp.a  \
16 17
	../../omapip/libomapi.a ../../dst/libdst.a ../../minires/libres.a

18 19 20 21 22 23 24 25
check: $(ATF_TESTS)
	atf-run | atf-report

endif

check_PROGRAMS = $(ATF_TESTS)