mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Simplify TESTDEPS maintainance by adding common objects in Makefile.lib
This commit is contained in:
parent
447fd16ae0
commit
6d14d95386
15
Makefile.lib
15
Makefile.lib
@ -191,6 +191,21 @@ test-default:
|
||||
|
||||
ifdef TEST_PROGS
|
||||
TESTDEPS-$(CONFIG_DEBUG) += $(top_builddir)/src/util/memdebug.o
|
||||
TESTDEPS-$(call not,$(CONFIG_SMALL)) += \
|
||||
$(top_builddir)/src/util/fastfind.o \
|
||||
|
||||
# Add most of the basic utility library to the test dependencies.
|
||||
TESTDEPS += \
|
||||
$(top_builddir)/src/intl/charsets.o \
|
||||
$(top_builddir)/src/osdep/stub.o \
|
||||
$(top_builddir)/src/util/conv.o \
|
||||
$(top_builddir)/src/util/error.o \
|
||||
$(top_builddir)/src/util/file.o \
|
||||
$(top_builddir)/src/util/hash.o \
|
||||
$(top_builddir)/src/util/memory.o \
|
||||
$(top_builddir)/src/util/string.o \
|
||||
$(top_builddir)/src/util/time.o
|
||||
|
||||
TESTDEPS += $(TESTDEPS-yes)
|
||||
|
||||
TEST_LIB=$(top_srcdir)/test/libtest.sh
|
||||
|
@ -8,11 +8,6 @@ TEST_PROGS = \
|
||||
sgml-parser
|
||||
|
||||
TESTDEPS = \
|
||||
$(top_builddir)/src/dom/$(LIB_O_NAME) \
|
||||
$(top_builddir)/src/util/error.o \
|
||||
$(top_builddir)/src/osdep/stub.o \
|
||||
$(top_builddir)/src/util/hash.o \
|
||||
$(top_builddir)/src/util/string.o \
|
||||
$(top_builddir)/src/util/memory.o
|
||||
$(top_builddir)/src/dom/$(LIB_O_NAME)
|
||||
|
||||
include $(top_srcdir)/Makefile.lib
|
||||
|
@ -16,21 +16,8 @@ mailcap-cache.o: mailcap.c
|
||||
|
||||
TESTDEPS = \
|
||||
common.o \
|
||||
$(top_builddir)/src/intl/charsets.o \
|
||||
$(top_builddir)/src/osdep/osdep.o \
|
||||
$(top_builddir)/src/osdep/stub.o \
|
||||
$(top_builddir)/src/util/conv.o \
|
||||
$(top_builddir)/src/util/error.o \
|
||||
$(top_builddir)/src/util/file.o \
|
||||
$(top_builddir)/src/util/hash.o \
|
||||
$(top_builddir)/src/util/memory.o \
|
||||
$(top_builddir)/src/util/string.o \
|
||||
$(top_builddir)/src/util/time.o
|
||||
$(top_builddir)/src/osdep/osdep.o
|
||||
|
||||
TESTDEPS-$(CONFIG_NLS) += $(top_builddir)/src/intl/gettext/lib.o
|
||||
TESTDEPS-$(CONFIG_DEBUG) += $(top_builddir)/src/util/memdebug.o
|
||||
TESTDEPS-$(call not,$(CONFIG_SMALL)) += \
|
||||
$(top_builddir)/src/util/fastfind.o \
|
||||
|
||||
|
||||
include $(top_srcdir)/Makefile.lib
|
||||
|
@ -7,18 +7,7 @@ TEST_PROGS = \
|
||||
ftp-parser
|
||||
|
||||
TESTDEPS = \
|
||||
$(top_builddir)/src/intl/charsets.o \
|
||||
$(top_builddir)/src/osdep/stub.o \
|
||||
$(top_builddir)/src/protocol/date.o \
|
||||
$(top_builddir)/src/protocol/ftp/parse.o \
|
||||
$(top_builddir)/src/util/conv.o \
|
||||
$(top_builddir)/src/util/error.o \
|
||||
$(top_builddir)/src/util/hash.o \
|
||||
$(top_builddir)/src/util/memory.o \
|
||||
$(top_builddir)/src/util/string.o \
|
||||
$(top_builddir)/src/util/time.o
|
||||
|
||||
TESTDEPS-$(call not,$(CONFIG_SMALL)) += \
|
||||
$(top_builddir)/src/util/fastfind.o \
|
||||
$(top_builddir)/src/protocol/ftp/parse.o
|
||||
|
||||
include $(top_srcdir)/Makefile.lib
|
||||
|
Loading…
Reference in New Issue
Block a user