You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
613 B

pkglib_LTLIBRARIES = libcompat.la
libcompat_la_SOURCES = dummy.c
libcompat_la_LIBADD = $(LTLIBOBJS) $(LIBRT) $(LIBM)
libcompat_la_LDFLAGS = -no-undefined -static
BUILT_SOURCES = dummy.c
CLEANFILES = dummy.c
AUTOMAKE_OPTIONS = subdir-objects
dummy.c:
$(AM_V_at)rm -f dummy.c
$(AM_V_GEN)echo '/* Automatically generated */' > dummy.c
check_PROGRAMS = \
test_heap \
test_strnstr
TESTS = $(check_PROGRAMS)
AM_TESTS_ENVIRONMENT = ASAN_OPTIONS="allocator_may_return_null=1"
test_heap_SOURCES = test/heap.c
test_heap_LDADD = libcompat.la
test_strnstr_SOURCES = test/strnstr.c
test_strnstr_LDADD = libcompat.la