1
0
Fork 0

Move setting of TEST_LIB to Makefile.lib

This commit is contained in:
Jonas Fonseca 2006-01-19 02:15:56 +01:00 committed by Jonas Fonseca
parent 206037eaa4
commit 16ff8a444f
2 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
TEST_LIB=$(top_srcdir)/test/libtest.sh
export TEST_LIB
host = @host@
ASCIIDOC = @ASCIIDOC@

View File

@ -178,6 +178,9 @@ ifdef TEST_PROGS
TESTDEPS-$(CONFIG_DEBUG) += $(top_builddir)/src/util/memdebug.o
TESTDEPS += $(TESTDEPS-yes)
TEST_LIB=$(top_srcdir)/test/libtest.sh
export TEST_LIB
define test_prog
$(1): $(1).o $(TESTDEPS)
$$(call cmd,link)