[gegl] operations: Explicitly specify op sources



commit 5ac18049dfd53861293627f5291d08e541302041
Author: Martin Nordholts <martinn src gnome org>
Date:   Sun Jun 28 08:57:03 2009 +0200

    operations: Explicitly specify op sources
    
    Explicitly specify op sources as it appears as if automake 1.11 does
    not work the same as previous versions with regards to figuring out
    the source files.

 operations/external/Makefile.am |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/operations/external/Makefile.am b/operations/external/Makefile.am
index 1eea560..189c74b 100644
--- a/operations/external/Makefile.am
+++ b/operations/external/Makefile.am
@@ -6,33 +6,39 @@ ops =
 
 if HAVE_PANGOCAIRO
 ops += text.la
+text_la_SOURCES = text.c
 text_la_LIBADD = $(op_libs) $(PANGOCAIRO_LIBS)
 text_la_CFLAGS = $(AM_CFLAGS) $(PANGOCAIRO_CFLAGS)
 endif
 
 if HAVE_CAIRO
 ops += path.la
+path_la_SOURCES = path.c
 path_la_LIBADD = $(op_libs) $(CAIRO_LIBS)
 path_la_CFLAGS = $(AM_CFLAGS) $(CAIRO_CFLAGS)
 endif
 
 if HAVE_PNG
 ops += png-load.la png-save.la
+png_load_la_SOURCES = png-load.c
 png_load_la_LIBADD = $(op_libs) $(PNG_LIBS)
 png_load_la_CFLAGS = $(AM_CFLAGS) $(PNG_CFLAGS)
 
+png_save_la_SOURCES = png-save.c
 png_save_la_LIBADD = $(op_libs) $(PNG_LIBS)
 png_save_la_CFLAGS = $(AM_CFLAGS) $(PNG_CFLAGS)
 endif
 
 if HAVE_JPEG
 ops += jpg-load.la
+jpg_load_la_SOURCES = jpg-load.c
 jpg_load_la_LIBADD = $(op_libs) $(LIBJPEG)
 endif
 
 if HAVE_CAIRO
 if HAVE_RSVG
 ops += svg-load.la
+svg_load_la_SOURCES = svg-load.c
 svg_load_la_LIBADD = $(op_libs) $(CAIRO_LIBS) $(RSVG_LIBS)
 svg_load_la_CFLAGS = $(AM_CFLAGS) $(CAIRO_CFLAGS) $(RSVG_CFLAGS)
 endif
@@ -40,9 +46,11 @@ endif
 
 if HAVE_GDK_PIXBUF
 ops += pixbuf.la save-pixbuf.la
+pixbuf_la_SOURCES      = pixbuf.c
 pixbuf_la_LIBADD       = $(op_libs) $(GDK_PIXBUF_LIBS)
 pixbuf_la_CFLAGS       = $(AM_CFLAGS) $(GDK_PIXBUF_CFLAGS)
 
+save_pixbuf_la_SOURCES = save-pixbuf.c
 save_pixbuf_la_LIBADD  = $(op_libs) $(GDK_PIXBUF_LIBS)
 save_pixbuf_la_CFLAGS  = $(AM_CFLAGS) $(GDK_PIXBUF_CFLAGS)
 endif
@@ -62,12 +70,14 @@ endif
 
 if HAVE_OPENRAW
 ops += openraw.la
+openraw_la_SOURCES = openraw.c
 openraw_la_LIBADD = $(op_libs) $(OPENRAW_LIBS)
 openraw_la_CFLAGS = $(AM_CFLAGS) $(OPENRAW_CFLAGS)
 endif
 
 if HAVE_V4L
 ops += v4l.la
+v4l_la_SOURCES = v4l.c
 v4l_la_LIBADD = $(op_libs)
 endif
 
@@ -75,13 +85,16 @@ EXTRA_DIST=v4lutils/v4lutils.c v4lutils/v4lutils.h
 
 if HAVE_AVFORMAT
 ops += ff-load.la
+ff_load_la_SOURCES = ff-load.c
 ff_load_la_LIBADD = $(op_libs) $(AVFORMAT_LIBS)
 ff_load_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS)
 endif
 
 # No dependencies
 ops += ppm-load.la ppm-save.la
+ppm_load_la_SOURCES = ppm-load.c
 ppm_load_la_LIBADD = $(op_libs)
+ppm_save_la_SOURCES = ppm-save.c
 ppm_save_la_LIBADD = $(op_libs)
 
 opdir = $(libdir)/gegl- GEGL_API_VERSION@



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