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