1
## Process this file with automake to produce Makefile.in
3
noinst_LIBRARIES = libapptools.a
5
libapptools_a_sources = \
21
gimpbrightnesscontrasttool.c \
22
gimpbrightnesscontrasttool.h \
23
gimpbucketfilloptions.c \
24
gimpbucketfilloptions.h \
25
gimpbucketfilltool.c \
26
gimpbucketfilltool.h \
27
gimpbycolorselecttool.c \
28
gimpbycolorselecttool.h \
35
gimpcolorbalancetool.c \
36
gimpcolorbalancetool.h \
39
gimpcolorpickeroptions.c \
40
gimpcolorpickeroptions.h \
41
gimpcolorpickertool.c \
42
gimpcolorpickertool.h \
55
gimpeditselectiontool.c \
56
gimpeditselectiontool.h \
57
gimpellipseselecttool.c \
58
gimpellipseselecttool.h \
65
gimpfreeselecttool.c \
66
gimpfreeselecttool.h \
67
gimpfuzzyselecttool.c \
68
gimpfuzzyselecttool.h \
69
gimphistogramoptions.c \
70
gimphistogramoptions.h \
71
gimphuesaturationtool.c \
72
gimphuesaturationtool.h \
73
gimpimagemapoptions.c \
74
gimpimagemapoptions.h \
77
gimpinkoptions-gui.c \
78
gimpinkoptions-gui.h \
85
gimpmagnifyoptions.c \
86
gimpmagnifyoptions.h \
89
gimpmeasureoptions.c \
90
gimpmeasureoptions.h \
97
gimppaintbrushtool.c \
98
gimppaintbrushtool.h \
99
gimppaintoptions-gui.c \
100
gimppaintoptions-gui.h \
105
gimpperspectivetool.c \
106
gimpperspectivetool.h \
107
gimpposterizetool.c \
108
gimpposterizetool.h \
109
gimprectselecttool.c \
110
gimprectselecttool.h \
115
gimpselectionoptions.c \
116
gimpselectionoptions.h \
117
gimpselectiontool.c \
118
gimpselectiontool.h \
127
gimpthresholdtool.c \
128
gimpthresholdtool.h \
133
gimptooloptions-gui.c \
134
gimptooloptions-gui.h \
135
gimptransformoptions.c \
136
gimptransformoptions.h \
137
gimptransformtool.c \
138
gimptransformtool.h \
139
gimptransformtool-undo.c \
140
gimptransformtool-undo.h \
141
gimpvectoroptions.c \
142
gimpvectoroptions.h \
146
libapptools_a_built_sources = tools-enums.c
148
libapptools_a_SOURCES = $(libapptools_a_built_sources) $(libapptools_a_sources)
152
-DG_LOG_DOMAIN=\"Gimp-Tools\" \
153
@GIMP_THREAD_FLAGS@ \
158
-I$(top_srcdir)/app \
162
EXTRA_DIST = makefile.msc
165
# rules to generate built sources
167
# setup autogeneration dependencies
168
gen_sources = xgen-tec
169
CLEANFILES = $(gen_sources)
171
$(srcdir)/tools-enums.c: $(srcdir)/tools-enums.h $(GIMP_MKENUMS)
173
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"core/core-enums.h\"\n#include \"tools-enums.h\"\n#include \"gimp-intl.h\"" \
174
--fprod "\n/* enumerations from \"@filename@\" */" \
175
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
176
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
177
--vtail " { 0, NULL, NULL }\n };\n" \
178
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
179
--dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
180
--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" \
181
$(srcdir)/tools-enums.h > xgen-tec \
182
&& cp xgen-tec $(@F) \