summaryrefslogtreecommitdiff
path: root/udp
diff options
context:
space:
mode:
authorDafydd Harries <dafydd.harries@collabora.co.uk>2007-01-23 17:30:00 +0000
committerDafydd Harries <dafydd.harries@collabora.co.uk>2007-01-23 17:30:00 +0000
commita26c7a4e2d62d0e74c70938334e060b14c10dd41 (patch)
treed2743c4f9ca5acb9623d01e9d2012fbb4cbd39eb /udp
parent32ea04659d7b87af224be71b1bb7794317c7bae8 (diff)
downloadlibnice-a26c7a4e2d62d0e74c70938334e060b14c10dd41.tar.gz
factor out common link flags in makefiles
darcs-hash:20070123173026-c9803-f01c2f11d4fe4c6a60e777b4db2e59fd5499a8f7.gz
Diffstat (limited to 'udp')
-rw-r--r--udp/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/udp/Makefile.am b/udp/Makefile.am
index 412a2e7..48e32d2 100644
--- a/udp/Makefile.am
+++ b/udp/Makefile.am
@@ -1,6 +1,8 @@
AM_CFLAGS = -Wall -Werror $(GLIB_CFLAGS)
+COMMON_LDADD = libudp.la $(GLIB_LIBS)
+
noinst_LTLIBRARIES = libudp.la
libudp_la_SOURCES = \
@@ -12,13 +14,13 @@ libudp_la_SOURCES = \
noinst_PROGRAMS = udp-client udp-echo-server
-udp_client_LDADD = libudp.la $(GLIB_LIBS)
+udp_client_LDADD = $(COMMON_LDADD)
-udp_echo_server_LDADD = libudp.la $(GLIB_LIBS)
+udp_echo_server_LDADD = $(COMMON_LDADD)
check_PROGRAMS = test
-test_LDADD = libudp.la $(GLIB_LIBS)
+test_LDADD = $(COMMON_LDADD)
test-echo.sh::
chmod +x $(srcdir)/$@