make separate library for test target; avoids libtool problem
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10992 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -22,13 +22,17 @@ check_PROGRAMS = \
|
||||
|
||||
TESTS = $(check_PROGRAMS)
|
||||
|
||||
LIB_crypt = @LIB_crypt@
|
||||
|
||||
LDADD = libroken.la $(LIB_crypt)
|
||||
make_roken_LDADD =
|
||||
|
||||
strpftime_test_SOURCES = strpftime-test.c strftime.c strptime.c snprintf.c
|
||||
snprintf_test_SOURCES = snprintf-test.c snprintf.c
|
||||
noinst_LTLIBRARIES = libtest.la
|
||||
libtest_la_SOURCES = strftime.c strptime.c snprintf.c
|
||||
libtest_la_CFLAGS = -DTEST_SNPRINTF
|
||||
|
||||
strpftime_test_SOURCES = strpftime-test.c
|
||||
strpftime_test_LDADD = libtest.la
|
||||
snprintf_test_SOURCES = snprintf-test.c
|
||||
snprintf_test_LDADD = libtest.la
|
||||
snprintf_test_CFLAGS = -DTEST_SNPRINTF
|
||||
|
||||
libroken_la_SOURCES = \
|
||||
@@ -91,7 +95,6 @@ EXTRA_libroken_la_SOURCES = \
|
||||
flock.c \
|
||||
fnmatch.c \
|
||||
fnmatch.hin \
|
||||
freeaddrinfo.c \
|
||||
freehostent.c \
|
||||
gai_strerror.c \
|
||||
getdtablesize.c \
|
||||
@@ -210,7 +213,7 @@ nodist_include_HEADERS = roken.h
|
||||
|
||||
man_MANS = getarg.3
|
||||
|
||||
SUFFIXES = .hin
|
||||
SUFFIXES += .hin
|
||||
.hin.h:
|
||||
cp $< $@
|
||||
|
||||
|
Reference in New Issue
Block a user