1
## Process this file with automake to produce Makefile.in
4
-DG_LOG_DOMAIN=\"Gimp-Paint\" \
11
-I$(top_builddir)/app \
13
$(GDK_PIXBUF_CFLAGS) \
16
noinst_LIBRARIES = libapppaint.a
18
libapppaint_a_sources = \
25
gimpairbrushoptions.c \
26
gimpairbrushoptions.h \
29
gimpbrushcore-kernels.h \
36
gimpconvolveoptions.c \
37
gimpconvolveoptions.h \
40
gimpdodgeburnoptions.c \
41
gimpdodgeburnoptions.h \
54
gimppaintcore-stroke.c \
55
gimppaintcore-stroke.h \
56
gimppaintcore-undo.c \
57
gimppaintcore-undo.h \
71
libapppaint_a_built_sources = paint-enums.c
73
libapppaint_a_SOURCES = $(libapppaint_a_built_sources) $(libapppaint_a_sources)
75
EXTRA_DIST = makefile.msc
78
# rules to generate built sources
80
# setup autogeneration dependencies
81
gen_sources = xgen-pec
82
CLEANFILES = $(gen_sources)
84
$(srcdir)/paint-enums.c: $(srcdir)/paint-enums.h $(GIMP_MKENUMS)
86
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"paint-enums.h\"\n#include \"gimp-intl.h\"" \
87
--fprod "\n/* enumerations from \"@filename@\" */" \
88
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
89
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
90
--vtail " { 0, NULL, NULL }\n };\n" \
91
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
92
--dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
93
--dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (! type)\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \
94
$(srcdir)/paint-enums.h > xgen-pec \
95
&& cp xgen-pec $(@F) \