2001-01-22 09:46:28 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2001-06-06 00:14:47 +08:00
|
|
|
noinst_LIBRARIES = libapptools.a
|
2001-01-22 09:46:28 +08:00
|
|
|
|
2003-04-15 22:20:19 +08:00
|
|
|
libapptools_a_sources = \
|
|
|
|
tools-enums.h \
|
2002-03-19 23:05:38 +08:00
|
|
|
tools-types.h \
|
2003-09-18 21:51:10 +08:00
|
|
|
gimp-tools.c \
|
|
|
|
gimp-tools.h \
|
2004-08-23 05:48:50 +08:00
|
|
|
tools-utils.c \
|
|
|
|
tools-utils.h \
|
2003-09-18 21:51:10 +08:00
|
|
|
tool_manager.c \
|
|
|
|
tool_manager.h \
|
|
|
|
\
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpairbrushtool.c \
|
|
|
|
gimpairbrushtool.h \
|
2005-06-04 01:05:01 +08:00
|
|
|
gimpalignoptions.c \
|
|
|
|
gimpalignoptions.h \
|
|
|
|
gimpaligntool.c \
|
|
|
|
gimpaligntool.h \
|
2003-02-05 22:39:40 +08:00
|
|
|
gimpblendoptions.c \
|
|
|
|
gimpblendoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpblendtool.c \
|
|
|
|
gimpblendtool.h \
|
|
|
|
gimpbrightnesscontrasttool.c \
|
|
|
|
gimpbrightnesscontrasttool.h \
|
2006-08-16 05:46:22 +08:00
|
|
|
gimpbrushtool.c \
|
|
|
|
gimpbrushtool.h \
|
2003-02-05 22:39:40 +08:00
|
|
|
gimpbucketfilloptions.c \
|
|
|
|
gimpbucketfilloptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpbucketfilltool.c \
|
|
|
|
gimpbucketfilltool.h \
|
|
|
|
gimpbycolorselecttool.c \
|
|
|
|
gimpbycolorselecttool.h \
|
|
|
|
gimpclonetool.c \
|
|
|
|
gimpclonetool.h \
|
2003-06-04 23:48:17 +08:00
|
|
|
gimpcoloroptions.c \
|
|
|
|
gimpcoloroptions.h \
|
|
|
|
gimpcolortool.c \
|
|
|
|
gimpcolortool.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpcolorbalancetool.c \
|
|
|
|
gimpcolorbalancetool.h \
|
2003-05-19 22:21:03 +08:00
|
|
|
gimpcolorizetool.c \
|
|
|
|
gimpcolorizetool.h \
|
2003-02-05 22:39:40 +08:00
|
|
|
gimpcolorpickeroptions.c \
|
|
|
|
gimpcolorpickeroptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpcolorpickertool.c \
|
|
|
|
gimpcolorpickertool.h \
|
|
|
|
gimpconvolvetool.c \
|
|
|
|
gimpconvolvetool.h \
|
2003-02-05 22:39:40 +08:00
|
|
|
gimpcropoptions.c \
|
|
|
|
gimpcropoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpcroptool.c \
|
|
|
|
gimpcroptool.h \
|
|
|
|
gimpcurvestool.c \
|
|
|
|
gimpcurvestool.h \
|
|
|
|
gimpdodgeburntool.c \
|
|
|
|
gimpdodgeburntool.h \
|
|
|
|
gimpdrawtool.c \
|
|
|
|
gimpdrawtool.h \
|
|
|
|
gimpeditselectiontool.c \
|
|
|
|
gimpeditselectiontool.h \
|
|
|
|
gimpellipseselecttool.c \
|
|
|
|
gimpellipseselecttool.h \
|
|
|
|
gimperasertool.c \
|
|
|
|
gimperasertool.h \
|
2003-02-05 22:39:40 +08:00
|
|
|
gimpflipoptions.c \
|
|
|
|
gimpflipoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpfliptool.c \
|
|
|
|
gimpfliptool.h \
|
|
|
|
gimpfreeselecttool.c \
|
|
|
|
gimpfreeselecttool.h \
|
2005-08-01 02:29:10 +08:00
|
|
|
gimpforegroundselectoptions.c \
|
|
|
|
gimpforegroundselectoptions.h \
|
2005-07-29 09:48:56 +08:00
|
|
|
gimpforegroundselecttool.c \
|
|
|
|
gimpforegroundselecttool.h \
|
2007-02-04 05:22:37 +08:00
|
|
|
gimpforegroundselecttoolundo.c \
|
|
|
|
gimpforegroundselecttoolundo.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpfuzzyselecttool.c \
|
|
|
|
gimpfuzzyselecttool.h \
|
2008-02-05 07:32:45 +08:00
|
|
|
gimpgegltool.c \
|
|
|
|
gimpgegltool.h \
|
2006-09-03 02:54:35 +08:00
|
|
|
gimphealtool.c \
|
|
|
|
gimphealtool.h \
|
2003-10-24 16:12:21 +08:00
|
|
|
gimphistogramoptions.c \
|
|
|
|
gimphistogramoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimphuesaturationtool.c \
|
|
|
|
gimphuesaturationtool.h \
|
2004-02-22 22:28:53 +08:00
|
|
|
gimpimagemapoptions.c \
|
|
|
|
gimpimagemapoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpimagemaptool.c \
|
|
|
|
gimpimagemaptool.h \
|
2004-05-26 23:34:45 +08:00
|
|
|
gimpinkoptions-gui.c \
|
|
|
|
gimpinkoptions-gui.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpinktool.c \
|
|
|
|
gimpinktool.h \
|
|
|
|
gimpiscissorstool.c \
|
|
|
|
gimpiscissorstool.h \
|
|
|
|
gimplevelstool.c \
|
|
|
|
gimplevelstool.h \
|
2003-02-05 22:39:40 +08:00
|
|
|
gimpmagnifyoptions.c \
|
|
|
|
gimpmagnifyoptions.h \
|
2003-02-08 01:12:21 +08:00
|
|
|
gimpmagnifytool.c \
|
|
|
|
gimpmagnifytool.h \
|
2003-02-05 22:39:40 +08:00
|
|
|
gimpmeasureoptions.c \
|
|
|
|
gimpmeasureoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpmeasuretool.c \
|
|
|
|
gimpmeasuretool.h \
|
2003-02-05 22:39:40 +08:00
|
|
|
gimpmoveoptions.c \
|
|
|
|
gimpmoveoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpmovetool.c \
|
|
|
|
gimpmovetool.h \
|
|
|
|
gimppaintbrushtool.c \
|
|
|
|
gimppaintbrushtool.h \
|
2003-06-30 04:40:45 +08:00
|
|
|
gimppaintoptions-gui.c \
|
|
|
|
gimppaintoptions-gui.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimppainttool.c \
|
|
|
|
gimppainttool.h \
|
|
|
|
gimppenciltool.c \
|
|
|
|
gimppenciltool.h \
|
2006-09-08 01:10:22 +08:00
|
|
|
gimpperspectiveclonetool.c \
|
|
|
|
gimpperspectiveclonetool.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpperspectivetool.c \
|
|
|
|
gimpperspectivetool.h \
|
2008-01-31 04:33:58 +08:00
|
|
|
gimppolygonselecttool.c \
|
|
|
|
gimppolygonselecttool.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpposterizetool.c \
|
|
|
|
gimpposterizetool.h \
|
2006-06-11 05:34:12 +08:00
|
|
|
gimprectangleselecttool.c \
|
|
|
|
gimprectangleselecttool.h \
|
|
|
|
gimprectangleselectoptions.c \
|
|
|
|
gimprectangleselectoptions.h \
|
2005-03-03 02:18:19 +08:00
|
|
|
gimprectangletool.c \
|
|
|
|
gimprectangletool.h \
|
|
|
|
gimprectangleoptions.c \
|
|
|
|
gimprectangleoptions.h \
|
2006-07-31 19:42:51 +08:00
|
|
|
gimpregionselecttool.c \
|
|
|
|
gimpregionselecttool.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimprotatetool.c \
|
|
|
|
gimprotatetool.h \
|
|
|
|
gimpscaletool.c \
|
|
|
|
gimpscaletool.h \
|
2003-02-09 05:12:03 +08:00
|
|
|
gimpselectionoptions.c \
|
|
|
|
gimpselectionoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimpselectiontool.c \
|
|
|
|
gimpselectiontool.h \
|
|
|
|
gimpsheartool.c \
|
|
|
|
gimpsheartool.h \
|
|
|
|
gimpsmudgetool.c \
|
|
|
|
gimpsmudgetool.h \
|
2006-09-04 07:11:35 +08:00
|
|
|
gimpsourcetool.c \
|
|
|
|
gimpsourcetool.h \
|
2003-02-05 22:39:40 +08:00
|
|
|
gimptextoptions.c \
|
|
|
|
gimptextoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimptexttool.c \
|
|
|
|
gimptexttool.h \
|
|
|
|
gimpthresholdtool.c \
|
|
|
|
gimpthresholdtool.h \
|
|
|
|
gimptool.c \
|
2003-04-15 22:20:19 +08:00
|
|
|
gimptool.h \
|
2002-03-29 11:50:29 +08:00
|
|
|
gimptoolcontrol.c \
|
|
|
|
gimptoolcontrol.h \
|
2003-06-30 04:40:45 +08:00
|
|
|
gimptooloptions-gui.c \
|
|
|
|
gimptooloptions-gui.h \
|
2003-02-09 05:12:03 +08:00
|
|
|
gimptransformoptions.c \
|
|
|
|
gimptransformoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimptransformtool.c \
|
|
|
|
gimptransformtool.h \
|
2007-02-04 05:22:37 +08:00
|
|
|
gimptransformtoolundo.c \
|
|
|
|
gimptransformtoolundo.h \
|
2003-02-05 22:39:40 +08:00
|
|
|
gimpvectoroptions.c \
|
|
|
|
gimpvectoroptions.h \
|
2002-02-22 08:11:37 +08:00
|
|
|
gimpvectortool.c \
|
2003-09-18 21:51:10 +08:00
|
|
|
gimpvectortool.h
|
2001-03-08 09:07:03 +08:00
|
|
|
|
2003-04-15 22:20:19 +08:00
|
|
|
libapptools_a_built_sources = tools-enums.c
|
|
|
|
|
|
|
|
libapptools_a_SOURCES = $(libapptools_a_built_sources) $(libapptools_a_sources)
|
|
|
|
|
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2007-06-25 20:41:59 +08:00
|
|
|
-DG_LOG_DOMAIN=\"Gimp-Tools\"
|
2001-01-22 09:46:28 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
INCLUDES = \
|
2005-02-27 21:22:01 +08:00
|
|
|
-I$(top_builddir) \
|
2002-06-08 07:00:46 +08:00
|
|
|
-I$(top_srcdir) \
|
2005-02-27 21:22:01 +08:00
|
|
|
-I$(top_builddir)/app \
|
2002-06-08 07:00:46 +08:00
|
|
|
-I$(top_srcdir)/app \
|
|
|
|
$(GTK_CFLAGS) \
|
2007-12-30 03:18:57 +08:00
|
|
|
$(GEGL_CFLAGS) \
|
2002-06-08 07:00:46 +08:00
|
|
|
-I$(includedir)
|
2003-04-15 22:20:19 +08:00
|
|
|
|
2003-12-13 09:35:19 +08:00
|
|
|
EXTRA_DIST = makefile.msc
|
2003-04-15 22:20:19 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# rules to generate built sources
|
|
|
|
#
|
|
|
|
# setup autogeneration dependencies
|
|
|
|
gen_sources = xgen-tec
|
|
|
|
CLEANFILES = $(gen_sources)
|
|
|
|
|
2007-06-07 21:19:44 +08:00
|
|
|
tools-enums.c: $(srcdir)/tools-enums.h $(GIMP_MKENUMS)
|
2003-04-15 22:20:19 +08:00
|
|
|
$(GIMP_MKENUMS) \
|
2004-10-26 01:55:25 +08:00
|
|
|
--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\"" \
|
2003-04-15 22:20:19 +08:00
|
|
|
--fprod "\n/* enumerations from \"@filename@\" */" \
|
2004-07-28 19:50:20 +08:00
|
|
|
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
|
2004-10-26 01:55:25 +08:00
|
|
|
--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 (! 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" \
|
2003-04-15 22:20:19 +08:00
|
|
|
$(srcdir)/tools-enums.h > xgen-tec \
|
|
|
|
&& cp xgen-tec $(@F) \
|
|
|
|
&& rm -f xgen-tec
|