mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-27 01:25:34 +00:00
[Makefile] DRY
This commit is contained in:
parent
acdff2e7db
commit
cd0ec0faa9
|
@ -202,6 +202,7 @@ test-default:
|
||||||
|
|
||||||
ifdef TEST_PROGS
|
ifdef TEST_PROGS
|
||||||
TESTDEPS-$(CONFIG_DEBUG) += $(top_builddir)/src/util/memdebug.o
|
TESTDEPS-$(CONFIG_DEBUG) += $(top_builddir)/src/util/memdebug.o
|
||||||
|
TESTDEPS-$(CONFIG_UTF8) += $(top_builddir)/src/intl/width.o
|
||||||
TESTDEPS-unless$(CONFIG_SMALL) += $(top_builddir)/src/util/fastfind.o
|
TESTDEPS-unless$(CONFIG_SMALL) += $(top_builddir)/src/util/fastfind.o
|
||||||
|
|
||||||
# Add most of the basic utility library to the test dependencies.
|
# Add most of the basic utility library to the test dependencies.
|
||||||
|
|
|
@ -9,9 +9,6 @@ TEST_PROGS = \
|
||||||
|
|
||||||
TESTDEPS = path.o
|
TESTDEPS = path.o
|
||||||
|
|
||||||
TESTDEPS-$(CONFIG_UTF8) += $(top_builddir)/src/intl/width.o
|
|
||||||
|
|
||||||
|
|
||||||
PARSETSTDEPS = \
|
PARSETSTDEPS = \
|
||||||
$(top_builddir)/src/util/error.o \
|
$(top_builddir)/src/util/error.o \
|
||||||
$(top_builddir)/src/util/string.o
|
$(top_builddir)/src/util/string.o
|
||||||
|
|
|
@ -6,7 +6,4 @@ TEST_PROGS = parse-meta-refresh-test
|
||||||
TESTDEPS += \
|
TESTDEPS += \
|
||||||
$(top_builddir)/src/document/html/parse-meta-refresh.o
|
$(top_builddir)/src/document/html/parse-meta-refresh.o
|
||||||
|
|
||||||
TESTDEPS-$(CONFIG_UTF8) += $(top_builddir)/src/intl/width.o
|
|
||||||
|
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.lib
|
include $(top_srcdir)/Makefile.lib
|
||||||
|
|
|
@ -10,6 +10,4 @@ TESTDEPS = \
|
||||||
$(top_builddir)/src/protocol/date.o \
|
$(top_builddir)/src/protocol/date.o \
|
||||||
$(top_builddir)/src/protocol/ftp/parse.o
|
$(top_builddir)/src/protocol/ftp/parse.o
|
||||||
|
|
||||||
TESTDEPS-$(CONFIG_UTF8) += $(top_builddir)/src/intl/width.o
|
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.lib
|
include $(top_srcdir)/Makefile.lib
|
||||||
|
|
|
@ -10,7 +10,6 @@ TESTDEPS = \
|
||||||
stub.o
|
stub.o
|
||||||
|
|
||||||
TESTDEPS-$(CONFIG_NLS) += $(top_builddir)/src/intl/gettext/lib.o
|
TESTDEPS-$(CONFIG_NLS) += $(top_builddir)/src/intl/gettext/lib.o
|
||||||
TESTDEPS-$(CONFIG_UTF8) += $(top_builddir)/src/intl/width.o
|
|
||||||
|
|
||||||
CLEAN = stub.o
|
CLEAN = stub.o
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user