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 \
|
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 \
|
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 \
|
|
|
|
gimpfuzzyselecttool.c \
|
|
|
|
gimpfuzzyselecttool.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 \
|
|
|
|
gimpperspectivetool.c \
|
|
|
|
gimpperspectivetool.h \
|
|
|
|
gimpposterizetool.c \
|
|
|
|
gimpposterizetool.h \
|
2005-02-01 02:43:28 +08:00
|
|
|
gimpnewrectselecttool.c \
|
|
|
|
gimpnewrectselecttool.h \
|
2005-03-03 02:18:19 +08:00
|
|
|
gimprectangletool.c \
|
|
|
|
gimprectangletool.h \
|
|
|
|
gimprectangleoptions.c \
|
|
|
|
gimprectangleoptions.h \
|
2001-05-25 07:57:08 +08:00
|
|
|
gimprectselecttool.c \
|
|
|
|
gimprectselecttool.h \
|
|
|
|
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 \
|
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 \
|
2003-02-14 22:14:29 +08:00
|
|
|
gimptransformtool-undo.c \
|
|
|
|
gimptransformtool-undo.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 = \
|
2001-06-08 01:20:50 +08:00
|
|
|
-DG_LOG_DOMAIN=\"Gimp-Tools\" \
|
2005-02-13 23:08:08 +08:00
|
|
|
@GTHREAD_CFLAGS@
|
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) \
|
|
|
|
-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)
|
|
|
|
|
|
|
|
$(srcdir)/tools-enums.c: $(srcdir)/tools-enums.h $(GIMP_MKENUMS)
|
|
|
|
$(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
|