Commit c19cb888 authored by Pekka Pessi's avatar Pekka Pessi

Added LDFLAG -static to all test programs in their Makefile.am

darcs-hash:20051025123849-65a35-513074d53a1fd22b6c45daf6b7bc0338e5df2ec4.gz
parent e3bd7a35
...@@ -25,7 +25,7 @@ COVERAGE_INPUT = $(libbnf_la_SOURCES) $(include_HEADERS) ...@@ -25,7 +25,7 @@ COVERAGE_INPUT = $(libbnf_la_SOURCES) $(include_HEADERS)
LDADD = libbnf.la LDADD = libbnf.la
torture_bnf_SOURCES = torture_bnf.c torture_bnf_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
...@@ -14,7 +14,7 @@ INCLUDES = -I$(srcdir)/../bnf \ ...@@ -14,7 +14,7 @@ INCLUDES = -I$(srcdir)/../bnf \
# Build targets # Build targets
noinst_LTLIBRARIES = libhttp.la noinst_LTLIBRARIES = libhttp.la
bin_PROGRAMS =
noinst_PROGRAMS = http_test noinst_PROGRAMS = http_test
TESTS = http_test TESTS = http_test
...@@ -46,7 +46,7 @@ LDADD = libhttp.la \ ...@@ -46,7 +46,7 @@ LDADD = libhttp.la \
../url/liburl.la \ ../url/liburl.la \
../su/libsu.la ../su/libsu.la
http_test_SOURCES = http_test.c http_test_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
...@@ -32,7 +32,8 @@ LDADD = libipt.la \ ...@@ -32,7 +32,8 @@ LDADD = libipt.la \
../sresolv/libsresolv.la \ ../sresolv/libsresolv.la \
../su/libsu.la ../su/libsu.la
sha1test_SOURCES = sha1test.c sha1test_LDFLAGS = -static
torture_base64_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
...@@ -53,6 +53,8 @@ LDADD = libiptsec.la \ ...@@ -53,6 +53,8 @@ LDADD = libiptsec.la \
../bnf/libbnf.la \ ../bnf/libbnf.la \
../su/libsu.la ../su/libsu.la
auth_digest_test_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
...@@ -47,9 +47,9 @@ LDADD = libmsg_test.a libmsg.la \ ...@@ -47,9 +47,9 @@ LDADD = libmsg_test.a libmsg.la \
../url/liburl.la \ ../url/liburl.la \
../su/libsu.la ../su/libsu.la
msg_test_SOURCES = msg_test.c msg_test_LDFLAGS = -static
msg_name_hash_SOURCES = msg_name_hash.c msg_name_hash_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
...@@ -50,7 +50,7 @@ LDADD = libnta.la \ ...@@ -50,7 +50,7 @@ LDADD = libnta.la \
../bnf/libbnf.la \ ../bnf/libbnf.la \
../su/libsu.la ../su/libsu.la
nta_test_SOURCES = nta_test.c nta_test_LDFLAGS = -static
MOSTLYCLEANFILES += .test[0-9]* MOSTLYCLEANFILES += .test[0-9]*
......
...@@ -46,6 +46,8 @@ LDADD = libnth.la \ ...@@ -46,6 +46,8 @@ LDADD = libnth.la \
../bnf/libbnf.la \ ../bnf/libbnf.la \
../su/libsu.la ../su/libsu.la
nth_test_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
...@@ -59,6 +59,8 @@ LDADD = libnua.la \ ...@@ -59,6 +59,8 @@ LDADD = libnua.la \
../bnf/libbnf.la \ ../bnf/libbnf.la \
../su/libsu.la ../su/libsu.la
test_nua_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
...@@ -33,6 +33,9 @@ COVERAGE_INPUT = $(libsdp_la_SOURCES) $(include_HEADERS) ...@@ -33,6 +33,9 @@ COVERAGE_INPUT = $(libsdp_la_SOURCES) $(include_HEADERS)
LDADD = libsdp.la \ LDADD = libsdp.la \
../su/libsu.la ../su/libsu.la
sdp_test_LDFLAGS = -static
sdp_torture_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
...@@ -56,6 +56,10 @@ LDADD = libsip.la \ ...@@ -56,6 +56,10 @@ LDADD = libsip.la \
../url/liburl.la \ ../url/liburl.la \
../su/libsu.la ../su/libsu.la
torture_sip_LDFLAGS = -static
sip_test_msg_LDFLAGS = -static
date_test_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
...@@ -37,6 +37,8 @@ LDADD = libsoa.la \ ...@@ -37,6 +37,8 @@ LDADD = libsoa.la \
../ipt/libipt.la \ ../ipt/libipt.la \
../su/libsu.la ../su/libsu.la
test_soa_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
...@@ -29,13 +29,13 @@ include_HEADERS = sresolv.h ...@@ -29,13 +29,13 @@ include_HEADERS = sresolv.h
libsresolv_la_SOURCES = sresolv.c libsresolv_la_SOURCES = sresolv.c
test_sresolv_SOURCES = test_sresolv.c
COVERAGE_INPUT = $(libsresolv_la_SOURCES) $(include_HEADERS) COVERAGE_INPUT = $(libsresolv_la_SOURCES) $(include_HEADERS)
LDADD = libsresolv.la \ LDADD = libsresolv.la \
../su/libsu.la ../su/libsu.la
test_sresolv_LDFLAGS = -static
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Distribution # Distribution
......
...@@ -38,15 +38,10 @@ BUILT_SOURCES = stun_tag_ref.c ...@@ -38,15 +38,10 @@ BUILT_SOURCES = stun_tag_ref.c
COVERAGE_INPUT = $(libstun_la_SOURCES) $(include_HEADERS) COVERAGE_INPUT = $(libstun_la_SOURCES) $(include_HEADERS)
# common LDFLAGS to all utils
LDADD = libstun.la \ LDADD = libstun.la \
../su/libsu.la ../su/libsu.la
stunc_DEPENDENCIES = $(LIBDEP) libstun.la torture_stun_LDFLAGS = -static
stunc_SOURCES = stunc.c
torture_stun_DEPENDENCIES = $(LIBDEP) libstun.la
torture_stun_SOURCES = torture_stun.c
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Install and distribution rules # Install and distribution rules
......
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