2001-08-17 22:27:31 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DG_LOG_DOMAIN=\"Gimp-Display\" \
|
|
|
|
@GIMP_THREAD_FLAGS@ \
|
|
|
|
@GIMP_MP_FLAGS@
|
2001-12-19 01:45:29 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/app \
|
|
|
|
$(GTK_CFLAGS) \
|
|
|
|
-I$(includedir)
|
2001-12-19 01:45:29 +08:00
|
|
|
|
2001-08-17 22:27:31 +08:00
|
|
|
noinst_LIBRARIES = libappdisplay.a
|
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libappdisplay_a_sources = \
|
2001-12-19 01:45:29 +08:00
|
|
|
display-enums.h \
|
2001-11-11 07:03:22 +08:00
|
|
|
display-types.h \
|
2003-11-10 07:24:40 +08:00
|
|
|
gimpcanvas.c \
|
|
|
|
gimpcanvas.h \
|
2001-11-11 07:03:22 +08:00
|
|
|
gimpdisplay.c \
|
|
|
|
gimpdisplay.h \
|
2003-10-22 22:46:05 +08:00
|
|
|
gimpdisplayoptions.c \
|
|
|
|
gimpdisplayoptions.h \
|
2001-11-11 07:03:22 +08:00
|
|
|
gimpdisplay-area.c \
|
|
|
|
gimpdisplay-area.h \
|
|
|
|
gimpdisplay-foreach.c \
|
|
|
|
gimpdisplay-foreach.h \
|
|
|
|
gimpdisplay-handlers.c \
|
|
|
|
gimpdisplay-handlers.h \
|
|
|
|
gimpdisplayshell.c \
|
|
|
|
gimpdisplayshell.h \
|
2003-03-12 00:49:36 +08:00
|
|
|
gimpdisplayshell-appearance.c \
|
|
|
|
gimpdisplayshell-appearance.h \
|
2001-11-11 07:03:22 +08:00
|
|
|
gimpdisplayshell-callbacks.c \
|
|
|
|
gimpdisplayshell-callbacks.h \
|
2003-01-04 02:01:30 +08:00
|
|
|
gimpdisplayshell-cursor.c \
|
|
|
|
gimpdisplayshell-cursor.h \
|
2001-11-11 07:03:22 +08:00
|
|
|
gimpdisplayshell-dnd.c \
|
|
|
|
gimpdisplayshell-dnd.h \
|
2004-02-07 08:16:52 +08:00
|
|
|
gimpdisplayshell-draw.c \
|
|
|
|
gimpdisplayshell-draw.h \
|
2001-11-11 07:03:22 +08:00
|
|
|
gimpdisplayshell-handlers.c \
|
|
|
|
gimpdisplayshell-handlers.h \
|
2002-03-15 06:42:50 +08:00
|
|
|
gimpdisplayshell-filter.c \
|
|
|
|
gimpdisplayshell-filter.h \
|
|
|
|
gimpdisplayshell-filter-dialog.c \
|
|
|
|
gimpdisplayshell-filter-dialog.h \
|
2001-11-11 07:03:22 +08:00
|
|
|
gimpdisplayshell-layer-select.c \
|
|
|
|
gimpdisplayshell-layer-select.h \
|
|
|
|
gimpdisplayshell-render.c \
|
|
|
|
gimpdisplayshell-render.h \
|
|
|
|
gimpdisplayshell-scale.c \
|
|
|
|
gimpdisplayshell-scale.h \
|
|
|
|
gimpdisplayshell-scroll.c \
|
|
|
|
gimpdisplayshell-scroll.h \
|
|
|
|
gimpdisplayshell-selection.c \
|
|
|
|
gimpdisplayshell-selection.h \
|
2003-01-04 02:01:30 +08:00
|
|
|
gimpdisplayshell-title.c \
|
|
|
|
gimpdisplayshell-title.h \
|
|
|
|
gimpdisplayshell-transform.c \
|
|
|
|
gimpdisplayshell-transform.h \
|
2002-05-08 00:23:14 +08:00
|
|
|
gimpnavigationview.c \
|
|
|
|
gimpnavigationview.h \
|
2002-02-22 23:08:47 +08:00
|
|
|
gimpprogress.c \
|
|
|
|
gimpprogress.h \
|
2002-02-03 20:10:23 +08:00
|
|
|
gimpstatusbar.c \
|
2002-06-08 07:00:46 +08:00
|
|
|
gimpstatusbar.h
|
2001-08-17 22:27:31 +08:00
|
|
|
|
2001-12-19 01:45:29 +08:00
|
|
|
libappdisplay_a_built_sources = display-enums.c
|
2001-08-17 22:27:31 +08:00
|
|
|
|
2001-12-19 01:45:29 +08:00
|
|
|
libappdisplay_a_SOURCES = \
|
|
|
|
$(libappdisplay_a_built_sources) \
|
|
|
|
$(libappdisplay_a_sources)
|
|
|
|
|
2003-12-13 09:35:19 +08:00
|
|
|
EXTRA_DIST = makefile.msc
|
|
|
|
|
2001-12-19 01:45:29 +08:00
|
|
|
#
|
|
|
|
# rules to generate built sources
|
|
|
|
#
|
2003-02-03 21:39:55 +08:00
|
|
|
# setup autogeneration dependencies
|
2001-12-19 01:45:29 +08:00
|
|
|
gen_sources = xgen-dec
|
|
|
|
CLEANFILES = $(gen_sources)
|
|
|
|
|
2002-03-18 00:35:05 +08:00
|
|
|
$(srcdir)/display-enums.c: $(srcdir)/display-enums.h $(GIMP_MKENUMS)
|
|
|
|
$(GIMP_MKENUMS) \
|
2003-03-26 01:39:01 +08:00
|
|
|
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"display-enums.h\"\n#include\"gimp-intl.h\"" \
|
2001-12-19 01:45:29 +08:00
|
|
|
--fprod "\n/* enumerations from \"@filename@\" */" \
|
2001-12-30 23:35:27 +08:00
|
|
|
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{" \
|
2002-03-18 00:35:05 +08:00
|
|
|
--vprod " { @VALUENAME@, @valuedesc@, \"@valuenick@\" }," \
|
2001-12-19 01:45:29 +08:00
|
|
|
--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)/display-enums.h > xgen-dec \
|
|
|
|
&& cp xgen-dec $(@F) \
|
|
|
|
&& rm -f xgen-dec
|