gimp/app/tools/Makefile.am
Sven Neumann 3db3dff47e app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am
2002-03-19  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/base/base-enums.c
	* app/core/Makefile.am
	* app/core/core-enums.c
	* app/widgets/Makefile.am
	* app/widgets/widgets-enums.c: purely cosmetic change.

	* app/paint/Makefile.am
	* app/paint/paint-enums.[ch]: generate paint-enums.c with registered
	enums. Skip GIMP_BRUSH_PRESSURE and GIMP_CUSTOM_CONVOLVE so they
	don't get exported to libgimp and are not registered as enum values.

	* tools/pdbgen/pdb/paint_tools.pdb: removed special casing of
	GimpBrushApplicationMode and GimpConvolveType since the forbidden
	values are now skipped anyway.

	* libgimp/gimpcompat.h: removed compat defines for the forbidden
	enum values. They shouldn't have been used.

	* app/tools/Makefile.am
	* app/tools/tools-enums.[ch]: generate tools-enums.c with registered
	enums.

	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.

	* app/paint/gimpclone.[ch]
	* app/paint/gimpconvolve.h
	* app/paint/gimpdodgeburn.h
	* app/tools/gimpclonetool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcroptool.[ch]
	* app/tools/gimpdodgeburntool.c
	* app/tools/paint_options.c: changed accordingly. Added more enum
	radio frames and enum option menus.
2002-03-19 19:17:31 +00:00

159 lines
3.9 KiB
Makefile

## Process this file with automake to produce Makefile.in
noinst_LIBRARIES = libapptools.a
libapptools_a_SOURCES = @STRIP_BEGIN@ \
tools-enums.h \
tools-enums.c \
tools-types.h \
tools.c \
tools.h \
gimpairbrushtool.c \
gimpairbrushtool.h \
gimpbezierselecttool.c \
gimpbezierselecttool.h \
gimpblendtool.c \
gimpblendtool.h \
gimpbrightnesscontrasttool.c \
gimpbrightnesscontrasttool.h \
gimpbucketfilltool.c \
gimpbucketfilltool.h \
gimpbycolorselecttool.c \
gimpbycolorselecttool.h \
gimpclonetool.c \
gimpclonetool.h \
gimpcolorbalancetool.c \
gimpcolorbalancetool.h \
gimpcolorbalancetool-transfer.c \
gimpcolorbalancetool-transfer.h \
gimpcolorpickertool.c \
gimpcolorpickertool.h \
gimpconvolvetool.c \
gimpconvolvetool.h \
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 \
gimpfliptool.c \
gimpfliptool.h \
gimpfreeselecttool.c \
gimpfreeselecttool.h \
gimpfuzzyselecttool.c \
gimpfuzzyselecttool.h \
gimphistogramtool.c \
gimphistogramtool.h \
gimphuesaturationtool.c \
gimphuesaturationtool.h \
gimpimagemaptool.c \
gimpimagemaptool.h \
gimpinktool.c \
gimpinktool.h \
gimpinktool-blob.c \
gimpinktool-blob.h \
gimpiscissorstool.c \
gimpiscissorstool.h \
gimplevelstool.c \
gimplevelstool.h \
gimpmagnifytool.c \
gimpmagnifytool.h \
gimpmeasuretool.c \
gimpmeasuretool.h \
gimpmovetool.c \
gimpmovetool.h \
gimppaintbrushtool.c \
gimppaintbrushtool.h \
gimppainttool.c \
gimppainttool.h \
gimppathtool.c \
gimppathtool.h \
gimppenciltool.c \
gimppenciltool.h \
gimpperspectivetool.c \
gimpperspectivetool.h \
gimpposterizetool.c \
gimpposterizetool.h \
gimprectselecttool.c \
gimprectselecttool.h \
gimprotatetool.c \
gimprotatetool.h \
gimpscaletool.c \
gimpscaletool.h \
gimpselectiontool.c \
gimpselectiontool.h \
gimpsheartool.c \
gimpsheartool.h \
gimpsmudgetool.c \
gimpsmudgetool.h \
gimptexttool.c \
gimptexttool.h \
gimpthresholdtool.c \
gimpthresholdtool.h \
gimptool.c \
gimptool.h \
gimptoolmodule.c \
gimptoolmodule.h \
gimptransformtool.c \
gimptransformtool.h \
gimpvectortool.c \
gimpvectortool.h \
\
transform_options.c \
transform_options.h \
paint_options.c \
paint_options.h \
selection_options.c \
selection_options.h \
tool_options.c \
tool_options.h \
\
tool_manager.c \
tool_manager.h \
path_tool.h \
path_tool.c \
path_toolP.h \
@STRIP_END@
AM_CPPFLAGS = @STRIP_BEGIN@ \
-DG_LOG_DOMAIN=\"Gimp-Tools\" \
@GIMP_THREAD_FLAGS@ \
@GIMP_MP_FLAGS@ \
@STRIP_END@
INCLUDES = @STRIP_BEGIN@ \
-I$(top_builddir) \
-I$(top_srcdir) \
-I$(top_builddir)/app \
-I$(top_srcdir)/app \
$(GTK_CFLAGS) \
$(PANGOFT2_CFLAGS) \
-I$(includedir) \
@STRIP_END@
#
# rules to generate built sources
#
# setup autogeneration dependancies
gen_sources = xgen-tec
CLEANFILES = $(gen_sources)
$(srcdir)/tools-enums.c: $(srcdir)/tools-enums.h $(GIMP_MKENUMS)
$(GIMP_MKENUMS) \
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"tools-enums.h\"\n#include \"libgimp/gimpintl.h\"" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{" \
--vprod " { @VALUENAME@, @valuedesc@, \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n};\n\nGType\n@enum_name@_get_type (void)\n{\n static GType enum_type = 0;\n\n if (!enum_type)\n enum_type = g_enum_register_static (\"@EnumName@\", @enum_name@_enum_values);\n\n return enum_type;\n}\n" \
$(srcdir)/tools-enums.h > xgen-tec \
&& cp xgen-tec $(@F) \
&& rm -f xgen-tec