[nautilus-actions] src/utils/Makefile.am: factorize library declarations



commit 59c0f03ccfce14bb71626f4bb104bcfdd177f8bb
Author: Pierre Wieser <pwieser trychlos org>
Date:   Tue Jan 3 20:55:26 2012 +0100

    src/utils/Makefile.am: factorize library declarations

 ChangeLog             |    4 ++++
 src/utils/Makefile.am |   20 ++++++++++----------
 2 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 28b6b43..8a8aa26 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-03 Pierre Wieser <pwieser trychlos org>
+
+	* src/utils/Makefile.am: Factorize library declarations.
+
 2012-01-02 Pierre Wieser <pwieser trychlos org>
 
 	* src/utils/na-gconf2key.sh.in:
diff --git a/src/utils/Makefile.am b/src/utils/Makefile.am
index 5605a23..0fd17c3 100644
--- a/src/utils/Makefile.am
+++ b/src/utils/Makefile.am
@@ -26,6 +26,11 @@
 #   Pierre Wieser <pwieser trychlos org>
 #   ... and many others (see AUTHORS)
 
+NA_UTILS_LDADD = \
+	$(top_builddir)/src/core/libna-core.la						\
+	$(NAUTILUS_ACTIONS_LIBS)									\
+	$(NULL)
+
 bin_PROGRAMS = \
 	nautilus-actions-new										\
 	nautilus-actions-print										\
@@ -51,8 +56,7 @@ nautilus_actions_new_SOURCES = \
 	$(NULL)
 
 nautilus_actions_new_LDADD = \
-	$(top_builddir)/src/core/libna-core.la						\
-	$(NAUTILUS_ACTIONS_LIBS)									\
+	$(NA_UTILS_LDADD)											\
 	$(NULL)
 
 nautilus_actions_print_SOURCES = \
@@ -62,8 +66,7 @@ nautilus_actions_print_SOURCES = \
 	$(NULL)
 
 nautilus_actions_print_LDADD = \
-	$(top_builddir)/src/core/libna-core.la						\
-	$(NAUTILUS_ACTIONS_LIBS)									\
+	$(NA_UTILS_LDADD)											\
 	$(NULL)
 
 BUILT_SOURCES = \
@@ -80,8 +83,7 @@ nautilus_actions_run_SOURCES = \
 	$(NULL)
 
 nautilus_actions_run_LDADD = \
-	$(top_builddir)/src/core/libna-core.la						\
-	$(NAUTILUS_ACTIONS_LIBS)									\
+	$(NA_UTILS_LDADD)											\
 	$(NULL)
 
 na_print_schemas_SOURCES = \
@@ -91,8 +93,7 @@ na_print_schemas_SOURCES = \
 	$(NULL)
 
 na_print_schemas_LDADD = \
-	$(top_builddir)/src/core/libna-core.la						\
-	$(NAUTILUS_ACTIONS_LIBS)									\
+	$(NA_UTILS_LDADD)											\
 	$(NULL)
 
 EXTRA_DIST = \
@@ -117,8 +118,7 @@ na_delete_xmltree_SOURCES = \
 	$(NULL)
 
 na_delete_xmltree_LDADD = \
-	$(top_builddir)/src/core/libna-core.la						\
-	$(NAUTILUS_ACTIONS_LIBS)									\
+	$(NA_UTILS_LDADD)											\
 	$(NULL)
 
 pkglibexec_SCRIPTS = \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]