2001-08-17 14:27:31 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2008-10-07 11:58:14 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DG_LOG_DOMAIN=\"Gimp-Display\"
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)/app \
|
|
|
|
-I$(top_srcdir)/app \
|
|
|
|
$(GEGL_CFLAGS) \
|
|
|
|
$(GTK_CFLAGS) \
|
|
|
|
-I$(includedir)
|
|
|
|
|
2001-08-17 14:27:31 +00:00
|
|
|
noinst_LIBRARIES = libappdisplay.a
|
|
|
|
|
2002-06-07 23:00:46 +00:00
|
|
|
libappdisplay_a_sources = \
|
2001-12-18 17:45:29 +00:00
|
|
|
display-enums.h \
|
2001-11-10 23:03:22 +00:00
|
|
|
display-types.h \
|
2003-11-09 23:24:40 +00:00
|
|
|
gimpcanvas.c \
|
|
|
|
gimpcanvas.h \
|
2010-09-24 16:41:57 +00:00
|
|
|
gimpcanvasarc.c \
|
|
|
|
gimpcanvasarc.h \
|
2010-09-23 21:38:27 +00:00
|
|
|
gimpcanvasboundary.c \
|
|
|
|
gimpcanvasboundary.h \
|
2010-09-24 08:50:05 +00:00
|
|
|
gimpcanvascorner.c \
|
|
|
|
gimpcanvascorner.h \
|
2010-10-02 19:56:36 +00:00
|
|
|
gimpcanvascursor.c \
|
|
|
|
gimpcanvascursor.h \
|
2010-10-02 18:57:40 +00:00
|
|
|
gimpcanvasgrid.c \
|
|
|
|
gimpcanvasgrid.h \
|
2010-09-25 15:14:57 +00:00
|
|
|
gimpcanvasgroup.c \
|
|
|
|
gimpcanvasgroup.h \
|
2010-09-23 12:51:45 +00:00
|
|
|
gimpcanvasguide.c \
|
|
|
|
gimpcanvasguide.h \
|
2010-09-21 17:22:29 +00:00
|
|
|
gimpcanvashandle.c \
|
|
|
|
gimpcanvashandle.h \
|
2010-09-19 17:45:51 +00:00
|
|
|
gimpcanvasitem.c \
|
|
|
|
gimpcanvasitem.h \
|
2010-11-09 10:27:51 +00:00
|
|
|
gimpcanvasitem-utils.c \
|
|
|
|
gimpcanvasitem-utils.h \
|
2010-10-02 22:28:40 +00:00
|
|
|
gimpcanvaslayerboundary.c \
|
|
|
|
gimpcanvaslayerboundary.h \
|
2010-09-19 21:46:52 +00:00
|
|
|
gimpcanvasline.c \
|
|
|
|
gimpcanvasline.h \
|
2010-10-18 20:15:34 +00:00
|
|
|
gimpcanvaspassepartout.c \
|
|
|
|
gimpcanvaspassepartout.h \
|
2010-10-06 21:02:16 +00:00
|
|
|
gimpcanvaspath.c \
|
|
|
|
gimpcanvaspath.h \
|
2010-10-03 00:26:40 +00:00
|
|
|
gimpcanvaspen.c \
|
|
|
|
gimpcanvaspen.h \
|
2010-09-22 21:59:10 +00:00
|
|
|
gimpcanvaspolygon.c \
|
|
|
|
gimpcanvaspolygon.h \
|
2010-11-09 18:35:04 +00:00
|
|
|
gimpcanvasprogress.c \
|
|
|
|
gimpcanvasprogress.h \
|
2010-10-01 06:59:56 +00:00
|
|
|
gimpcanvasproxygroup.c \
|
|
|
|
gimpcanvasproxygroup.h \
|
2010-09-19 17:45:51 +00:00
|
|
|
gimpcanvasrectangle.c \
|
|
|
|
gimpcanvasrectangle.h \
|
2011-05-22 20:09:09 +00:00
|
|
|
gimpcanvasrectangleguides.c \
|
|
|
|
gimpcanvasrectangleguides.h \
|
2010-09-29 23:13:23 +00:00
|
|
|
gimpcanvassamplepoint.c \
|
|
|
|
gimpcanvassamplepoint.h \
|
2010-09-24 18:34:21 +00:00
|
|
|
gimpcanvastextcursor.c \
|
|
|
|
gimpcanvastextcursor.h \
|
2011-07-24 16:42:13 +00:00
|
|
|
gimpcanvastransformguides.c \
|
|
|
|
gimpcanvastransformguides.h \
|
2011-03-27 14:40:41 +00:00
|
|
|
gimpcanvastransformpreview.c \
|
|
|
|
gimpcanvastransformpreview.h \
|
2008-11-09 17:51:43 +00:00
|
|
|
gimpcursorview.c \
|
|
|
|
gimpcursorview.h \
|
2001-11-10 23:03:22 +00:00
|
|
|
gimpdisplay.c \
|
|
|
|
gimpdisplay.h \
|
|
|
|
gimpdisplay-foreach.c \
|
|
|
|
gimpdisplay-foreach.h \
|
|
|
|
gimpdisplay-handlers.c \
|
|
|
|
gimpdisplay-handlers.h \
|
2011-03-15 07:18:48 +00:00
|
|
|
gimpdisplay-utils.c \
|
|
|
|
gimpdisplay-utils.h \
|
2001-11-10 23:03:22 +00:00
|
|
|
gimpdisplayshell.c \
|
|
|
|
gimpdisplayshell.h \
|
2003-03-11 16:49:36 +00:00
|
|
|
gimpdisplayshell-appearance.c \
|
|
|
|
gimpdisplayshell-appearance.h \
|
2005-01-02 20:42:31 +00:00
|
|
|
gimpdisplayshell-autoscroll.c \
|
|
|
|
gimpdisplayshell-autoscroll.h \
|
2001-11-10 23:03:22 +00:00
|
|
|
gimpdisplayshell-callbacks.c \
|
|
|
|
gimpdisplayshell-callbacks.h \
|
2004-07-14 00:15:57 +00:00
|
|
|
gimpdisplayshell-close.c \
|
|
|
|
gimpdisplayshell-close.h \
|
2003-01-03 18:01:30 +00:00
|
|
|
gimpdisplayshell-cursor.c \
|
|
|
|
gimpdisplayshell-cursor.h \
|
2001-11-10 23:03:22 +00:00
|
|
|
gimpdisplayshell-dnd.c \
|
|
|
|
gimpdisplayshell-dnd.h \
|
2004-02-07 00:16:52 +00:00
|
|
|
gimpdisplayshell-draw.c \
|
|
|
|
gimpdisplayshell-draw.h \
|
2009-10-02 21:55:26 +00:00
|
|
|
gimpdisplayshell-expose.c \
|
|
|
|
gimpdisplayshell-expose.h \
|
2011-02-19 13:46:23 +00:00
|
|
|
gimpdisplayshell-grab.c \
|
|
|
|
gimpdisplayshell-grab.h \
|
2001-11-10 23:03:22 +00:00
|
|
|
gimpdisplayshell-handlers.c \
|
|
|
|
gimpdisplayshell-handlers.h \
|
2002-03-14 22:42:50 +00:00
|
|
|
gimpdisplayshell-filter.c \
|
|
|
|
gimpdisplayshell-filter.h \
|
|
|
|
gimpdisplayshell-filter-dialog.c \
|
|
|
|
gimpdisplayshell-filter-dialog.h \
|
2001-11-10 23:03:22 +00:00
|
|
|
gimpdisplayshell-layer-select.c \
|
|
|
|
gimpdisplayshell-layer-select.h \
|
2008-03-25 16:13:17 +00:00
|
|
|
gimpdisplayshell-icon.c \
|
|
|
|
gimpdisplayshell-icon.h \
|
2010-09-29 20:12:01 +00:00
|
|
|
gimpdisplayshell-items.c \
|
|
|
|
gimpdisplayshell-items.h \
|
2006-06-29 09:42:05 +00:00
|
|
|
gimpdisplayshell-progress.c \
|
|
|
|
gimpdisplayshell-progress.h \
|
2001-11-10 23:03:22 +00:00
|
|
|
gimpdisplayshell-render.c \
|
|
|
|
gimpdisplayshell-render.h \
|
|
|
|
gimpdisplayshell-scale.c \
|
|
|
|
gimpdisplayshell-scale.h \
|
2008-08-16 11:51:10 +00:00
|
|
|
gimpdisplayshell-scale-dialog.c \
|
|
|
|
gimpdisplayshell-scale-dialog.h \
|
2001-11-10 23:03:22 +00:00
|
|
|
gimpdisplayshell-scroll.c \
|
|
|
|
gimpdisplayshell-scroll.h \
|
|
|
|
gimpdisplayshell-selection.c \
|
|
|
|
gimpdisplayshell-selection.h \
|
2010-08-11 21:47:46 +00:00
|
|
|
gimpdisplayshell-style.c \
|
|
|
|
gimpdisplayshell-style.h \
|
2003-01-03 18:01:30 +00:00
|
|
|
gimpdisplayshell-title.c \
|
|
|
|
gimpdisplayshell-title.h \
|
2011-02-23 04:21:06 +00:00
|
|
|
gimpdisplayshell-tool-events.c \
|
|
|
|
gimpdisplayshell-tool-events.h \
|
2003-01-03 18:01:30 +00:00
|
|
|
gimpdisplayshell-transform.c \
|
|
|
|
gimpdisplayshell-transform.h \
|
2009-09-23 10:24:22 +00:00
|
|
|
gimpimagewindow.c \
|
|
|
|
gimpimagewindow.h \
|
2011-04-17 16:53:42 +00:00
|
|
|
gimpmotionbuffer.c \
|
|
|
|
gimpmotionbuffer.h \
|
2011-07-03 18:55:03 +00:00
|
|
|
gimpmultiwindowstrategy.c \
|
|
|
|
gimpmultiwindowstrategy.h \
|
2004-08-25 16:02:10 +00:00
|
|
|
gimpnavigationeditor.c \
|
|
|
|
gimpnavigationeditor.h \
|
2004-05-10 10:33:21 +00:00
|
|
|
gimpscalecombobox.c \
|
|
|
|
gimpscalecombobox.h \
|
2011-07-03 18:55:03 +00:00
|
|
|
gimpsinglewindowstrategy.c \
|
|
|
|
gimpsinglewindowstrategy.h \
|
2002-02-03 12:10:23 +00:00
|
|
|
gimpstatusbar.c \
|
2011-03-20 12:34:03 +00:00
|
|
|
gimpstatusbar.h \
|
|
|
|
gimptooldialog.c \
|
2011-07-03 18:55:03 +00:00
|
|
|
gimptooldialog.h \
|
|
|
|
gimpwindowstrategy.c \
|
|
|
|
gimpwindowstrategy.h
|
2001-08-17 14:27:31 +00:00
|
|
|
|
2001-12-18 17:45:29 +00:00
|
|
|
libappdisplay_a_built_sources = display-enums.c
|
2001-08-17 14:27:31 +00:00
|
|
|
|
2001-12-18 17:45:29 +00:00
|
|
|
libappdisplay_a_SOURCES = \
|
|
|
|
$(libappdisplay_a_built_sources) \
|
|
|
|
$(libappdisplay_a_sources)
|
|
|
|
|
2003-12-13 01:35:19 +00:00
|
|
|
EXTRA_DIST = makefile.msc
|
|
|
|
|
2001-12-18 17:45:29 +00:00
|
|
|
#
|
|
|
|
# rules to generate built sources
|
|
|
|
#
|
2003-02-03 13:39:55 +00:00
|
|
|
# setup autogeneration dependencies
|
2001-12-18 17:45:29 +00:00
|
|
|
gen_sources = xgen-dec
|
|
|
|
CLEANFILES = $(gen_sources)
|
|
|
|
|
2007-06-07 13:19:44 +00:00
|
|
|
display-enums.c: $(srcdir)/display-enums.h $(GIMP_MKENUMS)
|
2002-03-17 16:35:05 +00:00
|
|
|
$(GIMP_MKENUMS) \
|
2004-10-25 17:55:25 +00:00
|
|
|
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"display-enums.h\"\n#include\"gimp-intl.h\"" \
|
2001-12-18 17:45:29 +00:00
|
|
|
--fprod "\n/* enumerations from \"@filename@\" */" \
|
2004-07-28 11:50:20 +00:00
|
|
|
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
|
2004-10-25 17:55:25 +00:00
|
|
|
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
|
|
|
|
--vtail " { 0, NULL, NULL }\n };\n" \
|
|
|
|
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
|
|
|
|
--dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
|
2008-11-06 08:28:28 +00:00
|
|
|
--dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \
|
2001-12-18 17:45:29 +00:00
|
|
|
$(srcdir)/display-enums.h > xgen-dec \
|
|
|
|
&& cp xgen-dec $(@F) \
|
|
|
|
&& rm -f xgen-dec
|