Makefile.am 463 Bytes
Newer Older
1
pkglib_LTLIBRARIES = libcompat.la
2
libcompat_la_SOURCES = dummy.c
3
libcompat_la_LIBADD = $(LTLIBOBJS) $(LIBRT)
4
libcompat_la_LDFLAGS = -no-undefined -static
5 6 7

BUILT_SOURCES = dummy.c
CLEANFILES = dummy.c
8
AUTOMAKE_OPTIONS = subdir-objects
9 10

dummy.c:
11 12
	$(AM_V_at)rm -f dummy.c
	$(AM_V_GEN)echo '/* Automatically generated */' > dummy.c
13 14 15 16 17 18 19 20 21


check_PROGRAMS = \
	test_strnstr

TESTS = $(check_PROGRAMS)

test_strnstr_SOURCES = test/strnstr.c
test_strnstr_LDADD = libcompat.la