2007-12-29 08:57:51 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2008-10-07 19:58:14 +08:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DG_LOG_DOMAIN=\"Gimp-GEGL\"
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)/app \
|
|
|
|
-I$(top_srcdir)/app \
|
2011-04-28 21:50:39 +08:00
|
|
|
$(CAIRO_CFLAGS) \
|
2008-10-07 19:58:14 +08:00
|
|
|
$(GEGL_CFLAGS) \
|
|
|
|
$(GDK_PIXBUF_CFLAGS) \
|
|
|
|
-I$(includedir)
|
|
|
|
|
2007-12-29 08:57:51 +08:00
|
|
|
noinst_LIBRARIES = libappgegl.a
|
|
|
|
|
2010-11-05 05:14:58 +08:00
|
|
|
libappgegl_a_sources = \
|
2012-03-13 22:02:17 +08:00
|
|
|
gimp-gegl-enums.h \
|
|
|
|
gimp-gegl-types.h \
|
|
|
|
gimp-gegl.c \
|
|
|
|
gimp-gegl.h \
|
2012-03-27 01:11:29 +08:00
|
|
|
gimp-gegl-config-proxy.c \
|
|
|
|
gimp-gegl-config-proxy.h \
|
2012-04-02 06:11:58 +08:00
|
|
|
gimp-gegl-loops.c \
|
|
|
|
gimp-gegl-loops.h \
|
2012-03-16 19:49:34 +08:00
|
|
|
gimp-gegl-nodes.c \
|
|
|
|
gimp-gegl-nodes.h \
|
2012-04-03 04:47:46 +08:00
|
|
|
gimp-gegl-tile-compat.c \
|
|
|
|
gimp-gegl-tile-compat.h \
|
2012-03-13 22:02:17 +08:00
|
|
|
gimp-gegl-utils.c \
|
|
|
|
gimp-gegl-utils.h \
|
|
|
|
gimptilebackendtilemanager.c \
|
|
|
|
gimptilebackendtilemanager.h \
|
2008-01-18 22:44:27 +08:00
|
|
|
\
|
2012-03-13 22:02:17 +08:00
|
|
|
gimpbrightnesscontrastconfig.c \
|
|
|
|
gimpbrightnesscontrastconfig.h \
|
|
|
|
gimpcageconfig.c \
|
|
|
|
gimpcageconfig.h \
|
|
|
|
gimpcolorbalanceconfig.c \
|
|
|
|
gimpcolorbalanceconfig.h \
|
|
|
|
gimpcolorizeconfig.c \
|
|
|
|
gimpcolorizeconfig.h \
|
|
|
|
gimpcurvesconfig.c \
|
|
|
|
gimpcurvesconfig.h \
|
|
|
|
gimpdesaturateconfig.c \
|
|
|
|
gimpdesaturateconfig.h \
|
|
|
|
gimphuesaturationconfig.c \
|
|
|
|
gimphuesaturationconfig.h \
|
|
|
|
gimplevelsconfig.c \
|
|
|
|
gimplevelsconfig.h \
|
|
|
|
gimpposterizeconfig.c \
|
|
|
|
gimpposterizeconfig.h \
|
|
|
|
gimpthresholdconfig.c \
|
|
|
|
gimpthresholdconfig.h \
|
2008-01-18 22:44:27 +08:00
|
|
|
\
|
2012-03-26 06:35:03 +08:00
|
|
|
gimpoperationborder.c \
|
|
|
|
gimpoperationborder.h \
|
2012-03-17 23:22:59 +08:00
|
|
|
gimpoperationcagecoefcalc.c \
|
|
|
|
gimpoperationcagecoefcalc.h \
|
|
|
|
gimpoperationcagetransform.c \
|
|
|
|
gimpoperationcagetransform.h \
|
2012-03-26 04:31:22 +08:00
|
|
|
gimpoperationequalize.c \
|
|
|
|
gimpoperationequalize.h \
|
2012-03-26 05:52:25 +08:00
|
|
|
gimpoperationgrow.c \
|
|
|
|
gimpoperationgrow.h \
|
2012-03-17 23:22:59 +08:00
|
|
|
gimpoperationsetalpha.c \
|
|
|
|
gimpoperationsetalpha.h \
|
2012-03-27 06:48:20 +08:00
|
|
|
gimpoperationshapeburst.c \
|
|
|
|
gimpoperationshapeburst.h \
|
2012-03-26 04:31:22 +08:00
|
|
|
gimpoperationshrink.c \
|
|
|
|
gimpoperationshrink.h \
|
2012-03-17 23:22:59 +08:00
|
|
|
\
|
2012-03-13 22:02:17 +08:00
|
|
|
gimpoperationpointfilter.c \
|
|
|
|
gimpoperationpointfilter.h \
|
|
|
|
gimpoperationbrightnesscontrast.c \
|
|
|
|
gimpoperationbrightnesscontrast.h \
|
|
|
|
gimpoperationcolorbalance.c \
|
|
|
|
gimpoperationcolorbalance.h \
|
|
|
|
gimpoperationcolorize.c \
|
|
|
|
gimpoperationcolorize.h \
|
|
|
|
gimpoperationcurves.c \
|
|
|
|
gimpoperationcurves.h \
|
|
|
|
gimpoperationdesaturate.c \
|
|
|
|
gimpoperationdesaturate.h \
|
|
|
|
gimpoperationhuesaturation.c \
|
|
|
|
gimpoperationhuesaturation.h \
|
|
|
|
gimpoperationlevels.c \
|
|
|
|
gimpoperationlevels.h \
|
|
|
|
gimpoperationposterize.c \
|
|
|
|
gimpoperationposterize.h \
|
|
|
|
gimpoperationthreshold.c \
|
|
|
|
gimpoperationthreshold.h \
|
2008-10-12 01:20:20 +08:00
|
|
|
\
|
2012-03-13 22:02:17 +08:00
|
|
|
gimpoperationpointlayermode.c \
|
|
|
|
gimpoperationpointlayermode.h \
|
2012-03-24 23:22:02 +08:00
|
|
|
gimpoperationnormalmode.c \
|
|
|
|
gimpoperationnormalmode.h \
|
2012-03-13 22:02:17 +08:00
|
|
|
gimpoperationdissolvemode.c \
|
|
|
|
gimpoperationdissolvemode.h \
|
|
|
|
gimpoperationbehindmode.c \
|
|
|
|
gimpoperationbehindmode.h \
|
|
|
|
gimpoperationmultiplymode.c \
|
|
|
|
gimpoperationmultiplymode.h \
|
|
|
|
gimpoperationscreenmode.c \
|
|
|
|
gimpoperationscreenmode.h \
|
|
|
|
gimpoperationoverlaymode.c \
|
|
|
|
gimpoperationoverlaymode.h \
|
|
|
|
gimpoperationdifferencemode.c \
|
|
|
|
gimpoperationdifferencemode.h \
|
|
|
|
gimpoperationadditionmode.c \
|
|
|
|
gimpoperationadditionmode.h \
|
|
|
|
gimpoperationsubtractmode.c \
|
|
|
|
gimpoperationsubtractmode.h \
|
|
|
|
gimpoperationdarkenonlymode.c \
|
|
|
|
gimpoperationdarkenonlymode.h \
|
|
|
|
gimpoperationlightenonlymode.c \
|
|
|
|
gimpoperationlightenonlymode.h \
|
|
|
|
gimpoperationhuemode.c \
|
|
|
|
gimpoperationhuemode.h \
|
|
|
|
gimpoperationsaturationmode.c \
|
|
|
|
gimpoperationsaturationmode.h \
|
|
|
|
gimpoperationcolormode.c \
|
|
|
|
gimpoperationcolormode.h \
|
|
|
|
gimpoperationvaluemode.c \
|
|
|
|
gimpoperationvaluemode.h \
|
|
|
|
gimpoperationdividemode.c \
|
|
|
|
gimpoperationdividemode.h \
|
|
|
|
gimpoperationdodgemode.c \
|
|
|
|
gimpoperationdodgemode.h \
|
|
|
|
gimpoperationburnmode.c \
|
|
|
|
gimpoperationburnmode.h \
|
|
|
|
gimpoperationhardlightmode.c \
|
|
|
|
gimpoperationhardlightmode.h \
|
|
|
|
gimpoperationsoftlightmode.c \
|
|
|
|
gimpoperationsoftlightmode.h \
|
|
|
|
gimpoperationgrainextractmode.c \
|
|
|
|
gimpoperationgrainextractmode.h \
|
|
|
|
gimpoperationgrainmergemode.c \
|
|
|
|
gimpoperationgrainmergemode.h \
|
|
|
|
gimpoperationcolorerasemode.c \
|
|
|
|
gimpoperationcolorerasemode.h \
|
|
|
|
gimpoperationerasemode.c \
|
|
|
|
gimpoperationerasemode.h \
|
|
|
|
gimpoperationreplacemode.c \
|
|
|
|
gimpoperationreplacemode.h \
|
|
|
|
gimpoperationantierasemode.c \
|
2009-12-30 22:18:44 +08:00
|
|
|
gimpoperationantierasemode.h
|
2010-11-05 05:14:58 +08:00
|
|
|
|
|
|
|
libappgegl_a_built_sources = gimp-gegl-enums.c
|
|
|
|
|
|
|
|
libappgegl_a_SOURCES = $(libappgegl_a_built_sources) $(libappgegl_a_sources)
|
|
|
|
|
|
|
|
#
|
|
|
|
# rules to generate built sources
|
|
|
|
#
|
|
|
|
# setup autogeneration dependencies
|
|
|
|
gen_sources = xgen-tec
|
|
|
|
CLEANFILES = $(gen_sources)
|
|
|
|
|
|
|
|
gimp-gegl-enums.c: $(srcdir)/gimp-gegl-enums.h $(GIMP_MKENUMS)
|
|
|
|
$(GIMP_MKENUMS) \
|
|
|
|
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"core/core-enums.h\"\n#include \"gimp-gegl-enums.h\"\n#include \"gimp-intl.h\"" \
|
|
|
|
--fprod "\n/* enumerations from \"@filename@\" */" \
|
|
|
|
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
|
|
|
|
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
|
|
|
|
--vtail " { 0, NULL, NULL }\n };\n" \
|
|
|
|
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
|
|
|
|
--dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
|
|
|
|
--dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \
|
|
|
|
$(srcdir)/gimp-gegl-enums.h > xgen-tec \
|
|
|
|
&& cp xgen-tec $(@F) \
|
|
|
|
&& rm -f xgen-tec
|