Commit 7eec42dc authored by Martin Nordholts's avatar Martin Nordholts

Don't use depecrated features or reduntant declarations in Makefile.am

Patch from Gary V. Vaughan

svn path=/trunk/; revision=3003
parent 15cf46db
2009-03-31 Martin Nordholts <martinn@svn.gnome.org>
Patch from Gary V. Vaughan. Don't use depecrated features or
reduntant declarations in Makefile.am
* Makefile.am
* bin/Makefile.am
* bindings/gegl-sharp/docs/Makefile.am
* bindings/pygegl/Gegl/Makefile.am
* examples/Makefile.am
* gegl/Makefile.am
* gegl/buffer/Makefile.am
* gegl/graph/Makefile.am
* gegl/module/Makefile.am
* gegl/operation/Makefile.am
* gegl/process/Makefile.am
* gegl/property-types/Makefile.am
* operations/Makefile-common.am
* operations/Makefile-operations.am
* operations/affine/Makefile.am
* operations/external/Makefile.am
* operations/workshop/external/Makefile.am
* tests/Makefile.am
* tests/buffer/Makefile.am
* tools/Makefile.am
2009-03-31 Martin Nordholts <martinn@svn.gnome.org>
* configure.ac: Patch from Gary V. Vaughan. Support hpux use of
......
......@@ -40,4 +40,5 @@ endif
dist-hook: dist-check-w3m
website: all
$(MAKE) -C docs website
\ No newline at end of file
$(MAKE) -C docs website
bin_PROGRAMS = gegl
if OS_WIN32
no_undefined = -no-undefined
endif
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gegl \
-I$(top_srcdir)/gegl \
-I$(top_builddir)/gegl/buffer \
-I$(top_srcdir)/gegl/buffer \
-I$(top_builddir)/gegl/property-types \
-I$(top_srcdir)/gegl/property-types \
-I$(top_builddir)/gegl/operation \
-I$(top_srcdir)/gegl/operation \
-I$(top_builddir)/gegl/module \
-I$(top_srcdir)/gegl/module
libbuffer = $(top_builddir)/gegl/buffer/libbuffer.la
libmodule = $(top_builddir)/gegl/module/libmodule.la
AM_CFLAGS = \
$(DEP_CFLAGS) $(BABL_CFLAGS) $(PNG_CFLAGS)
AM_LDFLAGS = \
$(no_undefined) ../gegl/libgegl-$(GEGL_API_VERSION).la \
$(DEP_LIBS) $(BABL_LIBS) $(PNG_LIBS) $(LIBSPIRO)
bin_PROGRAMS = gegl
gegl_SOURCES = \
gegl.c \
gegl-options.c \
gegl-options.h \
gegl-path-smooth.c \
gegl-path-smooth.h \
$(gui_sources)
gegl-path-smooth.h
if HAVE_SPIRO
gegl_SOURCES += gegl-path-spiro.h gegl-path-spiro.c
endif
INCLUDES = \
-I$(top_srcdir) -I$(top_srcdir)/gegl -I$(top_srcdir)/gegl/buffer \
-I$(top_srcdir)/gegl/property-types \
-I$(top_srcdir)/gegl/buffer \
-I$(top_srcdir)/gegl/operation \
-I$(top_srcdir)/gegl/module \
@DEP_CFLAGS@ @BABL_CFLAGS@ @PNG_CFLAGS@
AM_LDFLAGS = \
-no-undefined ../gegl/libgegl-@GEGL_API_VERSION@.la \
@DEP_LIBS@ @BABL_LIBS@ @PNG_LIBS@ @LIBSPIRO@
DOC_UPDATER = @MONODOCER@ -delete
DOC_ASSEMBLER = @MDASSEMBLER@ --out gegl-sharp-docs --ecma
DOC_UPDATER = $(MONODOCER) -delete
DOC_ASSEMBLER = $(MDASSEMBLER) --out gegl-sharp-docs --ecma
ASSEMBLIES = ../gegl/gegl-sharp.dll
......
INCLUDES = $(PYTHON_INCLUDES) $(PYGOBJECT_CFLAGS) $(GEGL_CFLAGS)
AM_CPPFLAGS = $(PYTHON_INCLUDES)
AM_CFLAGS = $(PYGEGL_EXTRA_CFLAGS)
AM_CFLAGS = $(PYGOBJECT_CFLAGS) $(GEGL_CFLAGS) $(PYGEGL_EXTRA_CFLAGS)
pygegldir = $(pyexecdir)/Gegl
pygegl_PYTHON = __init__.py fifthleg.py
......
......@@ -7,22 +7,30 @@ EXTRA_DIST = $(wildcard *.c) $(wildcard util/*.[ch])
all-local: $(bins)
%: %.c $(GEGLHEADERS)
$(LIBTOOL) --mode=compile $(CC) $(DEFS) -I. -I$(top_builddir) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o $@.lo $<
$(LIBTOOL) --mode=link $(CC) $(AM_LDFLAGS) $(LDFLAGS) $(CFLAGS) -o $@ $@.lo $(LIBS)
clean-local:
rm -f *.lo $(bins)
INCLUDES = \
-I$(top_builddir) \
-I$(top_srcdir) -I$(top_srcdir)/gegl -I$(top_srcdir)/gegl/buffer \
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gegl \
-I$(top_srcdir)/gegl \
-I$(top_builddir)/gegl/buffer \
-I$(top_srcdir)/gegl/buffer \
-I$(top_builddir)/gegl/property-types \
-I$(top_srcdir)/gegl/property-types \
-I$(top_builddir)/gegl/buffer \
-I$(top_srcdir)/gegl/buffer \
-I$(top_builddir)/gegl/operation \
-I$(top_srcdir)/gegl/operation \
-I$(top_srcdir)/gegl/module \
@DEP_CFLAGS@ @GTK_CFLAGS@ @BABL_CFLAGS@ @PNG_CFLAGS@
-I$(top_builddir)/gegl/module \
-I$(top_srcdir)/gegl/module
AM_LDFLAGS = \
../gegl/libgegl-@GEGL_API_VERSION@.la \
@DEP_LIBS@ @GTK_LIBS@ @BABL_LIBS@ @PNG_LIBS@
AM_CFLAGS = $(DEP_CFLAGS) $(GTK_CFLAGS) $(BABL_CFLAGS) $(PNG_CFLAGS)
%: %.c $(GEGLHEADERS)
$(LIBTOOL) --mode=compile $(CC) $< -c -o $@.lo $(INCLUDES) -DHAVE_CONFIG_H
$(LIBTOOL) --mode=link $(CC) $@.lo -o $@ $(AM_LDFLAGS)
AM_LDFLAGS = \
$(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
$(DEP_LIBS) $(GTK_LIBS) $(BABL_LIBS) $(PNG_LIBS)
......@@ -4,14 +4,47 @@ endif
SUBDIRS = buffer graph module operation process property-types
libbuffer = $(top_builddir)/gegl/buffer/libbuffer.la
libmodule = $(top_builddir)/gegl/module/libmodule.la
liboperation = $(top_builddir)/gegl/operation/liboperation.la
libgraph = $(top_builddir)/gegl/graph/libgraph.la
libprocess = $(top_builddir)/gegl/process/libprocess.la
libpropertytypes = $(top_builddir)/gegl/property-types/libpropertytypes.la
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gegl/buffer \
-I$(top_srcdir)/gegl/buffer \
-I$(top_builddir)/gegl/property-types \
-I$(top_srcdir)/gegl/property-types \
-I$(top_builddir)/gegl/operation \
-I$(top_srcdir)/gegl/operation \
-DLIBDIR=\""$(libdir)"\" \
-DGEGL_LOCALEDIR=\""$(GEGL_LOCALEDIR)"\"
lib_LTLIBRARIES = libgegl-@GEGL_API_VERSION@.la
AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
AM_LDFLAGS = \
$(no_undefined) -export-dynamic -version-info $(GEGL_LIBRARY_VERSION)
LIBS = \
$(top_builddir)/gegl/buffer/libbuffer.la \
$(top_builddir)/gegl/module/libmodule.la \
$(top_builddir)/gegl/operation/liboperation.la \
$(top_builddir)/gegl/graph/libgraph.la \
$(top_builddir)/gegl/process/libprocess.la \
$(top_builddir)/gegl/property-types/libpropertytypes.la \
$(DEP_LIBS) $(BABL_LIBS)
GEGL_publicdir = $(includedir)/gegl-$(GEGL_API_VERSION)
GEGL_public_HEADERS = \
gegl.h \
gegl-types.h \
gegl-utils.h \
gegl-matrix.h \
gegl-chant.h \
gegl-simd.h \
gegl-plugin.h \
gegl-version.h \
buffer/gegl-buffer.h \
property-types/gegl-paramspecs.h \
property-types/gegl-color.h \
property-types/gegl-path.h \
property-types/gegl-curve.h
GEGL_sources = \
gegl-config.c \
......@@ -36,44 +69,7 @@ GEGL_sources = \
gegl-types-internal.h \
gegl-xml.h
libgegl_@GEGL_API_VERSION@_la_SOURCES = $(GEGL_sources) $(GEGL_public_headers)
libgegl_@GEGL_API_VERSION@_la_LIBADD = \
$(libbuffer) \
$(libmodule) \
$(liboperation) \
$(libgraph) \
$(libprocess) \
$(libpropertytypes)
libgegl_@GEGL_API_VERSION@_la_LDFLAGS = \
@DEP_LIBS@ @BABL_LIBS@ \
$(no_undefined) -export-dynamic -version-info $(GEGL_LIBRARY_VERSION)
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/gegl/buffer \
-I$(top_srcdir)/gegl/property-types \
-I$(top_srcdir)/gegl/operation\
@DEP_CFLAGS@ @BABL_CFLAGS@
AM_CPPFLAGS = \
-DLIBDIR=\""$(libdir)"\" \
-DGEGL_LOCALEDIR=\""$(GEGL_LOCALEDIR)"\"
lib_LTLIBRARIES = libgegl-@GEGL_API_VERSION@.la
libgegl_@GEGL_API_VERSION@includedir = $(includedir)/gegl-$(GEGL_API_VERSION)
libgegl_@GEGL_API_VERSION@_la_SOURCES = $(GEGL_sources) $(GEGL_public_HEADERS)
libgegl_@GEGL_API_VERSION@include_HEADERS = \
gegl.h \
gegl-types.h \
gegl-utils.h \
gegl-matrix.h \
gegl-chant.h \
gegl-simd.h \
gegl-plugin.h \
gegl-version.h \
buffer/gegl-buffer.h \
property-types/gegl-paramspecs.h \
property-types/gegl-color.h \
property-types/gegl-path.h \
property-types/gegl-curve.h
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gegl \
-I$(top_srcdir)/gegl \
-I$(top_builddir)/gegl/property-types \
-I$(top_srcdir)/gegl/property-types \
-I$(top_builddir)/gegl/buffer \
-I$(top_srcdir)/gegl/buffer
AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
noinst_LTLIBRARIES = libbuffer.la
if HAVE_GIO
......@@ -6,7 +17,7 @@ GIO_SUPPORT_SOURCES=\
$(null__)
endif
BUFFER_sources = \
libbuffer_la_SOURCES = \
$(GIO_SUPPORT_SOURCES) \
gegl-buffer.c \
gegl-buffer-access.c \
......@@ -37,9 +48,8 @@ BUFFER_sources = \
gegl-tile-handler-empty.c \
gegl-tile-handler-log.c \
gegl-tile-handler-zoom.c \
gegl-id-pool.c
BUFFER_headers = \
gegl-id-pool.c \
\
gegl-buffer.h \
gegl-buffer-private.h \
gegl-buffer-iterator.h \
......@@ -71,12 +81,3 @@ BUFFER_headers = \
gegl-tile-handler-zoom.h \
gegl-id-pool.h
libbuffer_la_SOURCES = $(BUFFER_sources) $(BUFFER_headers)
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/gegl \
-I$(top_srcdir)/gegl/property-types \
-I$(top_srcdir)/gegl/buffer \
@DEP_CFLAGS@ @BABL_CFLAGS@
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gegl \
-I$(top_srcdir)/gegl \
-I$(top_builddir)/gegl/property-types \
-I$(top_srcdir)/gegl/property-types \
-I$(top_builddir)/gegl/buffer \
-I$(top_srcdir)/gegl/buffer
AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
noinst_LTLIBRARIES = libgraph.la
GRAPH_sources = \
#libgraph_publicdir = $(includedir)/gegl-$(GEGL_API_VERSION)/gegl/graph
#libgraph_public_HEADERS = #
libgraph_la_SOURCES = \
gegl-connection.c \
gegl-node.c \
gegl-pad.c \
gegl-visitor.c \
gegl-visitable.c
GRAPH_headers = \
gegl-visitable.c \
\
gegl-connection.h \
gegl-node.h \
gegl-pad.h \
gegl-visitor.h \
gegl-visitable.h
libgraph_la_SOURCES = $(GRAPH_sources) $(GRAPH_headers)
#libgraphinclude_HEADERS = #
#libgraphincludedir = $(includedir)/gegl-$(GEGL_API_VERSION)/gegl/graph
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/gegl \
-I$(top_srcdir)/gegl/property-types \
-I$(top_srcdir)/gegl/buffer \
@DEP_CFLAGS@ @BABL_CFLAGS@
#libgraph_la_SOURCES = $(libgraph_sources) $(libgraph_public_HEADERS)
noinst_LTLIBRARIES = libmodule.la
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gegl \
-I$(top_srcdir)/gegl \
-I$(top_builddir)/gegl/buffer \
-I$(top_srcdir)/gegl/buffer \
-I$(top_builddir)/gegl/property-types \
-I$(top_srcdir)/gegl/property-types
AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
MODULE_sources = \
gegldatafiles.c \
geglmodule.c \
geglmoduledb.c
noinst_LTLIBRARIES = libmodule.la
MODULE_headers = \
gegldatafiles.h \
geglmoduledb.h \
geglmodule.h
#libmodule_publicdir = $(includedir)/gegl-$(GEGL_API_VERSION)/gegl/module
#libmodule_public_HEADERS = #$(MODULE_headers)
libmodule_la_SOURCES = $(MODULE_sources) $(MODULE_headers)
#libmoduleinclude_HEADERS = #$(MODULE_headers)
#libmoduleincludedir = $(includedir)/gegl-$(GEGL_API_VERSION)/gegl/module
libmodule_la_SOURCES = \
gegldatafiles.c \
geglmodule.c \
geglmoduledb.c \
gegldatafiles.h \
geglmoduledb.h \
geglmodule.h
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/gegl \
-I$(top_srcdir)/gegl/buffer \
-I$(top_srcdir)/gegl/property-types \
@DEP_CFLAGS@ @BABL_CFLAGS@
#libmodule_la_SOURCES = $(libmodule_sources) $(libmodule_public_HEADERS)
noinst_LTLIBRARIES = liboperation.la
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gegl \
-I$(top_srcdir)/gegl \
-I$(top_builddir)/gegl/property-types \
-I$(top_srcdir)/gegl/property-types \
-I$(top_builddir)/gegl/buffer \
-I$(top_srcdir)/gegl/buffer
AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
liboperation_publicdir = $(includedir)/gegl-$(GEGL_API_VERSION)/operation
OPERATION_sources = \
liboperation_public_HEADERS = \
gegl-operation.h \
gegl-operation-area-filter.h \
gegl-operation-composer.h \
gegl-operation-composer3.h \
gegl-operation-filter.h \
gegl-operation-meta.h \
gegl-operation-point-composer.h \
gegl-operation-point-composer3.h \
gegl-operation-point-filter.h \
gegl-operation-point-render.h \
gegl-operation-sink.h \
gegl-operation-source.h \
gegl-operation-temporal.h
liboperation_sources = \
gegl-extension-handler.c \
gegl-operation.c \
gegl-operation-area-filter.c \
......@@ -18,49 +44,12 @@ OPERATION_sources = \
gegl-operation-processors.c \
gegl-operation-context.c \
gegl-operations.c
OPERATION_headers = \
\
gegl-extension-handler.h \
gegl-operation.h \
gegl-operation-area-filter.h \
gegl-operation-composer.h \
gegl-operation-composer3.h \
gegl-operation-filter.h \
gegl-operation-meta.h \
gegl-operation-point-composer.h \
gegl-operation-point-composer3.h \
gegl-operation-point-filter.h \
gegl-operation-point-render.h \
gegl-operation-sink.h \
gegl-operation-source.h \
gegl-operation-temporal.h \
gegl-operation-context.h \
gegl-operations.h
public_headers = \
gegl-operation.h \
gegl-operation-area-filter.h \
gegl-operation-composer.h \
gegl-operation-composer3.h \
gegl-operation-filter.h \
gegl-operation-meta.h \
gegl-operation-point-composer.h \
gegl-operation-point-composer3.h \
gegl-operation-point-filter.h \
gegl-operation-point-render.h \
gegl-operation-sink.h \
gegl-operation-source.h \
gegl-operation-temporal.h
liboperation_la_SOURCES = $(OPERATION_sources) $(OPERATION_headers)
liboperationinclude_HEADERS = $(public_headers)
liboperationincludedir = $(includedir)/gegl-$(GEGL_API_VERSION)/operation
noinst_LTLIBRARIES = liboperation.la
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/gegl \
-I$(top_srcdir)/gegl/property-types \
-I$(top_srcdir)/gegl/buffer \
@DEP_CFLAGS@ @BABL_CFLAGS@
liboperation_la_SOURCES = $(liboperation_public_HEADERS) $(liboperation_sources)
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gegl \
-I$(top_srcdir)/gegl \
-I$(top_builddir)/gegl/property-types \
-I$(top_srcdir)/gegl/property-types \
-I$(top_builddir)/gegl/buffer
-I$(top_srcdir)/gegl/buffer
AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
noinst_LTLIBRARIES = libprocess.la
PROCESS_sources = \
#libprocess_publicdir = $(includedir)/gegl-$(GEGL_API_VERSION)/gegl/process
#libprocess_public_HEADERS = #
libprocess_la_SOURCES = \
gegl-cr-visitor.c \
gegl-debug-rect-visitor.c \
gegl-eval-mgr.c \
......@@ -8,11 +22,8 @@ PROCESS_sources = \
gegl-finish-visitor.c \
gegl-have-visitor.c \
gegl-prepare-visitor.c \
gegl-processor.c
PROCESS_headers = \
gegl-processor.c \
\
gegl-cr-visitor.h \
gegl-debug-rect-visitor.h \
gegl-eval-mgr.h \
......@@ -22,14 +33,5 @@ PROCESS_headers = \
gegl-prepare-visitor.h \
gegl-processor.h
#libprocess_la_SOURCES = $(lib_process_sources) $(libprocess_public_HEADERS)
libprocess_la_SOURCES = $(PROCESS_sources) $(PROCESS_headers)
#libprocessinclude_HEADERS = #
#libprocessincludedir = $(includedir)/gegl-$(GEGL_API_VERSION)/gegl/process
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/gegl \
-I$(top_srcdir)/gegl/property-types \
-I$(top_srcdir)/gegl/buffer \
@DEP_CFLAGS@ @BABL_CFLAGS@
noinst_LTLIBRARIES = libpropertytypes.la
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gegl \
-I$(top_srcdir)/gegl \
-I$(top_builddir)/gegl/buffer \
-I$(top_srcdir)/gegl/buffer
PROPERTYTYPES_sources = \
gegl-color.c \
gegl-curve.c \
gegl-path.c \
gegl-paramspecs.c
AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
noinst_LTLIBRARIES = libpropertytypes.la
PROPERTYTYPES_headers = \
libpropertytypes_la_SOURCES = \
gegl-color.c \
gegl-curve.c \
gegl-path.c \
gegl-paramspecs.c \
\
gegl-color.h \
gegl-curve.h \
gegl-path.h \
gegl-paramspecs.h
libpropertytypes_la_SOURCES = $(PROPERTYTYPES_sources) $(PROPERTYTYPES_headers)
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/gegl \
-I$(top_srcdir)/gegl/buffer \
@DEP_CFLAGS@ @BABL_CFLAGS@
if OS_WIN32
no_undefined = -no-undefined
libgegl = $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la @BABL_LIBS@
libgegl = $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la $(BABL_LIBS)
endif
op_libs = @DEP_LIBS@ $(libgegl)
op_libs = $(DEP_LIBS) $(libgegl)
GEGLHEADERS = $(wildcard $(top_srcdir)/gegl/*.h)\
$(wildcard $(top_srcdir)/gegl/buffer/*.h)
AM_CPPFLAGS = \
@DEP_CFLAGS@ \
@BABL_CFLAGS@ \
@CPPFLAGS@ \
-I$(srcdir) \
-I$(top_srcdir) \
-I$(top_builddir) \
-I$(top_srcdir)/gegl \
-I$(top_srcdir)/gegl/buffer \
-I$(top_srcdir)/gegl/operation \
-I$(top_srcdir)/gegl/property-types \
-I$(top_srcdir) \
-I$(top_builddir)/gegl \
-I$(top_srcdir)/gegl \
-I$(top_builddir)/gegl/buffer \
-I$(top_srcdir)/gegl/buffer \
-I$(top_builddir)/gegl/operation \
-I$(top_srcdir)/gegl/operation \
-I$(top_builddir)/gegl/property-types \
-I$(top_srcdir)/gegl/property-types \
-I$(top_builddir)/gegl/module \
-I$(top_srcdir)/gegl/module
AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
AM_LDFLAGS = -avoid-version -export-dynamic -module $(no_undefined)
ext_dir = $(DESTDIR)$(libdir)/gegl-@GEGL_API_VERSION@
ext_dir = $(libdir)/gegl-@GEGL_API_VERSION@
include $(top_srcdir)/operations/Makefile-common.am
LDADD = $(op_libs)
LIBS = $(op_libs)
CFILES = $(wildcard $(srcdir)/*.c)
plugins = $(subst $(srcdir)/,,$(CFILES:.c=.la))
plugins = $(subst $(srcdir)/,,$(CFILES:.c=.la))
INSTALLED_ITEMS = $(subst $(srcdir)/,$(ext_dir)/,$(CFILES:.c=$(SHREXT)))
EXTRA_DIST = $(wildcard *.c) $(wildcard *.h)
......@@ -11,12 +11,12 @@ EXTRA_DIST = $(wildcard *.c) $(wildcard *.h)
all-local: $(plugins)
%.la: %.c $(GEGLHEADERS)
$(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o $@.lo $<
$(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_LDFLAGS) $(LDFLAGS) $(CFLAGS) $(LDADD) -o $@ -rpath $(ext_dir) $@.lo
$(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) -I. -I$(top_builddir) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o $@.lo $<
$(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_LDFLAGS) $(LDFLAGS) $(CFLAGS) -o $@ -rpath $(ext_dir) $@.lo $(LIBS) $(MATH_LIB)
clean-local:
rm -f *.la $(OFILES)
rm -f *.la
install-exec-local: all-local
$(INSTALL) -d $(ext_dir)
......
include $(top_srcdir)/operations/Makefile-common.am
affine_ladir = $(libdir)/gegl-@GEGL_API_VERSION@
LIBS = $(op_libs)
affine_la_LTLIBRARIES = affine.la
affinelibdir = $(libdir)/gegl-$(GEGL_API_VERSION)
affinelib_LTLIBRARIES = affine.la
affine_la_SOURCES = \
affine.c \
......@@ -16,5 +18,3 @@ affine_la_SOURCES = \
transform.c \
translate.c \
chant.h
affine_la_LIBADD = $(op_libs)
......@@ -5,80 +5,69 @@ include $(top_srcdir)/operations/Makefile-common.am
ops =
if HAVE_PANGOCAIRO
text_la_SOURCES = text.c
text_la_LIBADD = $(op_libs) $(PANGOCAIRO_LIBS)
text_la_CFLAGS = $(PANGOCAIRO_CFLAGS)
ops += text.la
text_la_LIBADD = $(op_libs) $(PANGOCAIRO_LIBS)
text_la_CFLAGS = $(AM_CFLAGS) $(PANGOCAIRO_CFLAGS)
endif
if HAVE_CAIRO
path_la_SOURCES = path.c
path_la_LIBADD = $(op_libs) $(CAIRO_LIBS)
path_la_CFLAGS = $(CAIRO_CFLAGS)
ops += path.la
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 = $(PNG_CFLAGS)
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 = $(PNG_CFLAGS)
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 = $(CAIRO_CFLAGS) $(RSVG_CFLAGS)
svg_load_la_CFLAGS = $(AM_CFLAGS) $(CAIRO_CFLAGS) $(RSVG_CFLAGS)
endif
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 = $(GDK_PIXBUF_CFLAGS)
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 = $(GDK_PIXBUF_CFLAGS)
save_pixbuf_la_CFLAGS = $(AM_CFLAGS) $(GDK_PIXBUF_CFLAGS)
endif
if HAVE_OPENEXR
ops += exr-load.la
exr_load_la_SOURCES = exr-load.cpp
exr_load_la_LIBADD = $(op_libs) $(OPENEXR_LIBS)
exr_load_la_CXXFLAGS = $(OPENEXR_CFLAGS)
exr_load_la_CXXFLAGS = $(AM_CFLAGS) $(OPENEXR_CFLAGS)
endif
if HAVE_SDL
ops += display.la
display_la_SOURCES = display.c
display_la_LIBADD = $(op_libs) $(SDL_LIBS)
display_la_CFLAGS = $(SDL_CFLAGS)
display_la_CFLAGS = $(AM_CFLAGS) $(SDL_CFLAGS)
endif
if HAVE_OPENRAW
ops += openraw.la
openraw_la_SOURCES = openraw.c
openraw_la_LIBADD = $(op_libs) $(OPENRAW_LIBS)
openraw_la_CFLAGS = $(OPENRAW_CFLAGS)
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
......@@ -86,9 +75,8 @@ 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 = $(AVFORMAT_CFLAGS)
ff_load_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS)
endif
opdir = $(libdir)/gegl-@GEGL_API_VERSION@
......