Include t.h in distribution.

Get libt.a from pwd, not srcdir.  Technically, it's in builddir, but
builddir is always equal to pwd.

List libt.a before libpam.la, in case we start using surrogates and
want to share them between tests.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@572 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2012-04-05 15:41:44 +00:00
parent 3a0280a4cb
commit 519086d0cb
1 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib
noinst_HEADERS = t.h
# tests
TESTS = t_openpam_readword t_openpam_readlinev
check_PROGRAMS = $(TESTS)
@ -11,4 +13,4 @@ check_LIBRARIES = libt.a
libt_a_SOURCES = t_main.c
# link with libpam and libt
LDADD = $(top_builddir)/lib/libpam.la $(srcdir)/libt.a
LDADD = libt.a $(top_builddir)/lib/libpam.la