Commit 4ec378d9 authored by Pekka Pessi's avatar Pekka Pessi

Fixed coverage target in libsofia-sip-ua/Makefile.am.

darcs-hash:20051006125940-65a35-73fc97ead7a7b4113d6911e7adb740b0e1e5e0d8.gz
parent be489c97
......@@ -36,14 +36,16 @@ libsofia_sip_ua_la_LIBADD = bnf/bnf_objs.o \
if ENABLE_COVERAGE
COVERAGE_RECURSIVE = coverage-recursive
coverage: $(COVERAGE_RECURSIVE)
endif
all-recursive: built-sources-recursive
built-sources: built-sources-recursive $(COVERAGE_RECURSIVE)
built-sources-recursive:
built-sources: built-sources-recursive
built-sources-recursive $(COVERAGE_RECURSIVE):
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making build-sources-recursive in $$subdir"; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) built-sources) \
echo "Making $@ in $$subdir"; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \
done;
empty-doxytags:
......
......@@ -24,6 +24,8 @@ libbnf_a_SOURCES = bnf.c
bnf_objs_o_SOURCES = $(libbnf_a_SOURCES)
bnf_objs_o_LDADD =
COVERAGE_INPUT = $(bnf_objs_o_SOURCES) $(include_HEADERS)
LDADD = libbnf.a
torture_bnf_SOURCES = torture_bnf.c
......
......@@ -41,6 +41,8 @@ libhttp_a_SOURCES = $(INTERNAL_H) \
http_objs_o_SOURCES = $(libhttp_a_SOURCES)
http_objs_o_LDADD =
COVERAGE_INPUT = $(http_objs_o_SOURCES) $(include_HEADERS)
LDADD = libhttp.a \
-L../bnf -lbnf \
-L../msg -lmsg \
......
......@@ -29,6 +29,8 @@ libipt_a_SOURCES = utf8internal.h \
ipt_objs_o_SOURCES = $(libipt_a_SOURCES)
ipt_objs_o_LDADD =
COVERAGE_INPUT = $(ipt_objs_o_SOURCES) $(include_HEADERS)
LDADD = libipt.a
-L../sresolv -lsresolv \
-L../su -lsu
......
......@@ -44,6 +44,8 @@ HTTPSOURCES = auth_module_http.c
iptsec_objs_o_SOURCES = $(libiptsec_a_SOURCES)
iptsec_objs_o_LDADD =
COVERAGE_INPUT = $(iptsec_objs_o_SOURCES) $(include_HEADERS)
LDADD = libiptsec.a \
-L../ipt -lipt \
-L../http -lhttp \
......
......@@ -40,6 +40,8 @@ libmsg_a_SOURCES = $(INTERNAL_H) \
msg_objs_o_SOURCES = $(libmsg_a_SOURCES)
msg_objs_o_LDADD =
COVERAGE_INPUT = $(msg_objs_o_SOURCES) $(include_HEADERS)
libmsg_test_a_SOURCES = msg_test_class.c msg_test_table.c msg_test_protos.h
LDADD = libmsg_test.a libmsg.a \
......
......@@ -36,6 +36,8 @@ libnea_a_SOURCES = nea.c nea_event.c \
nea_objs_o_SOURCES = $(libnea_a_SOURCES)
nea_objs_o_LDADD =
COVERAGE_INPUT = $(nea_objs_o_SOURCES) $(include_HEADERS)
LDADD = libnea.a \
-L../nta -lnta \
-L../ipt -lipt \
......
......@@ -40,6 +40,8 @@ libnta_a_SOURCES = nta.c nta_tag.c nta_tag_ref.c \
nta_objs_o_SOURCES = $(libnta_a_SOURCES)
nta_objs_o_LDADD =
COVERAGE_INPUT = $(nta_objs_o_SOURCES) $(include_HEADERS)
LDADD = libnta.a \
-L../ipt -lipt \
-L../sip -lsip \
......
......@@ -36,6 +36,8 @@ nth_objs_o_SOURCES = $(libnth_a_SOURCES)
nth_objs_o_LDADD =
nth_objs_o_LDFLAGS =
COVERAGE_INPUT = $(nth_objs_o_SOURCES) $(include_HEADERS)
LDADD = libnth.a \
-L../iptsec -liptsec \
-L../ipt -lipt \
......
......@@ -42,6 +42,8 @@ libnua_a_SOURCES = nua.c nua_common.c nua_stack.c \
nua_objs_o_SOURCES = $(libnua_a_SOURCES)
nua_objs_o_LDADD =
COVERAGE_INPUT = $(nua_objs_o_SOURCES) $(include_HEADERS)
LDADD = libnua.a \
-L../iptsec -liptsec \
-L../ipt -lipt \
......
......@@ -33,6 +33,8 @@ libsdp_a_SOURCES = sdp.c sdp_parse.c sdp_print.c \
sdp_objs_o_SOURCES = $(libsdp_a_SOURCES)
sdp_objs_o_LDADD =
COVERAGE_INPUT = $(sdp_objs_o_SOURCES) $(include_HEADERS)
LDADD = libsdp.a \
-L../su -lsu
......
......@@ -52,6 +52,8 @@ libsip_a_SOURCES = $(INTERNAL_H) \
sip_objs_o_SOURCES = $(libsip_a_SOURCES)
sip_objs_o_LDADD =
COVERAGE_INPUT = $(sip_objs_o_SOURCES) $(include_HEADERS)
LDADD = libsip.a \
-L../msg -lmsg \
-L../bnf -lbnf \
......
......@@ -32,6 +32,8 @@ libsoa_a_SOURCES = soa.c soa_static.c \
soa_objs_o_SOURCES = $(libsoa_a_SOURCES)
soa_objs_o_LDADD =
COVERAGE_INPUT = $(soa_objs_o_SOURCES) $(include_HEADERS)
LDADD = libsoa.a \
-L../sip -lsip \
-L../sdp -lsdp \
......
......@@ -34,6 +34,8 @@ test_sresolv_SOURCES = test_sresolv.c
sresolv_objs_o_SOURCES= $(libsresolv_a_SOURCES)
sresolv_objs_o_LDADD =
COVERAGE_INPUT = $(sresolv_objs_o_SOURCES) $(include_HEADERS)
LDADD = libsresolv.a \
-L../su -lsu
......
......@@ -36,6 +36,8 @@ libstun_a_SOURCES = stun.c stun_common.c
stun_objs_o_SOURCES = $(libstun_a_SOURCES)
stun_objs_o_LDADD =
COVERAGE_INPUT = $(stun_objs_o_SOURCES) $(include_HEADERS)
# common LDFLAGS to all utils
LDADD = libstun.a \
-L../su -lsu
......
......@@ -42,6 +42,8 @@ BUILT_SOURCES = tport_tag_ref.c
tport_objs_o_SOURCES = $(libtport_a_SOURCES)
tport_objs_o_LDADD =
COVERAGE_INPUT = $(tport_objs_o_SOURCES) $(include_HEADERS)
LDADD = libtport.a \
-L../stun -lstun \
-L../ipt -lipt \
......
......@@ -27,6 +27,8 @@ liburl_a_SOURCES = url.c url_tag.c url_tag_ref.c
url_objs_o_SOURCES = $(liburl_a_SOURCES)
url_objs_o_LDADD =
COVERAGE_INPUT = $(url_objs_o_SOURCES) $(include_HEADERS)
LDADD = liburl.a \
-L../bnf -lbnf \
-L../su -lsu
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment