[gegl] seamless-clone: clean up Makefile.am



commit 06bca5af6cdd4901a77ccd446dc7008b536b1bba
Author: Michael Natterer <mitch gimp org>
Date:   Wed May 15 00:07:14 2013 +0200

    seamless-clone: clean up Makefile.am

 operations/common/seamless-clone/Makefile.am |   22 ++++++++++++++--------
 1 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/operations/common/seamless-clone/Makefile.am b/operations/common/seamless-clone/Makefile.am
index 157aeb7..b4fe77e 100644
--- a/operations/common/seamless-clone/Makefile.am
+++ b/operations/common/seamless-clone/Makefile.am
@@ -1,5 +1,7 @@
 include $(top_srcdir)/operations/Makefile-common.am
 
+libgegl = $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la
+
 AM_LDFLAGS += $(P2TC_LIBS)
 AM_CFLAGS  += $(P2TC_CFLAGS)
 
@@ -9,23 +11,28 @@ AM_CFLAGS  += $(P2TC_CFLAGS)
 
 GEGL_SC_publicdir = $(includedir)/gegl-$(GEGL_API_VERSION)/sc
 
-GEGL_SC_public_HEADERS =       \
-       sc-common.h             \
-       sc-context.h            \
-       sc-outline.h            \
+GEGL_SC_public_HEADERS = \
+       sc-common.h     \
+       sc-context.h    \
+       sc-outline.h    \
        sc-sample.h
 
-GEGL_SC_SOURCES =                      \
+GEGL_SC_SOURCES = \
        $(GEGL_SC_public_HEADERS)       \
        sc-context-private.h            \
        sc-context.c                    \
        sc-outline.c                    \
        sc-sample.c
-       
-libgegl_sc_ GEGL_API_VERSION@_la_SOURCES = $(GEGL_SC_public_HEADERS) $(GEGL_SC_SOURCES)
+
+libgegl_sc_ GEGL_API_VERSION@_la_SOURCES = \
+       $(GEGL_SC_public_HEADERS)       \
+       $(GEGL_SC_SOURCES)
 
 lib_LTLIBRARIES = libgegl-sc- GEGL_API_VERSION@.la
 
+libgegl_sc_ GEGL_API_VERSION@_la_LIBADD = \
+       $(libgegl)
+
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gegl-sc-$(GEGL_API_VERSION).pc
 
@@ -50,4 +57,3 @@ seamless_clone_compose_la_SOURCES = seamless-clone-compose.c
 #   other definitions that we don't want...
 opdir = $(libdir)/gegl- GEGL_API_VERSION@
 op_LTLIBRARIES = seamless-clone.la seamless-clone-compose.la
-


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