1
## Process this file with automake to produce Makefile.in
4
-DG_LOG_DOMAIN=\"Gimp-Display\" \
14
noinst_LIBRARIES = libappdisplay.a
16
libappdisplay_a_sources = \
23
gimpdisplayoptions.c \
24
gimpdisplayoptions.h \
25
gimpdisplay-foreach.c \
26
gimpdisplay-foreach.h \
27
gimpdisplay-handlers.c \
28
gimpdisplay-handlers.h \
31
gimpdisplayshell-appearance.c \
32
gimpdisplayshell-appearance.h \
33
gimpdisplayshell-callbacks.c \
34
gimpdisplayshell-callbacks.h \
35
gimpdisplayshell-close.c \
36
gimpdisplayshell-close.h \
37
gimpdisplayshell-cursor.c \
38
gimpdisplayshell-cursor.h \
39
gimpdisplayshell-dnd.c \
40
gimpdisplayshell-dnd.h \
41
gimpdisplayshell-draw.c \
42
gimpdisplayshell-draw.h \
43
gimpdisplayshell-handlers.c \
44
gimpdisplayshell-handlers.h \
45
gimpdisplayshell-filter.c \
46
gimpdisplayshell-filter.h \
47
gimpdisplayshell-filter-dialog.c \
48
gimpdisplayshell-filter-dialog.h \
49
gimpdisplayshell-layer-select.c \
50
gimpdisplayshell-layer-select.h \
51
gimpdisplayshell-preview.c \
52
gimpdisplayshell-preview.h \
53
gimpdisplayshell-render.c \
54
gimpdisplayshell-render.h \
55
gimpdisplayshell-scale.c \
56
gimpdisplayshell-scale.h \
57
gimpdisplayshell-scroll.c \
58
gimpdisplayshell-scroll.h \
59
gimpdisplayshell-selection.c \
60
gimpdisplayshell-selection.h \
61
gimpdisplayshell-title.c \
62
gimpdisplayshell-title.h \
63
gimpdisplayshell-transform.c \
64
gimpdisplayshell-transform.h \
65
gimpnavigationeditor.c \
66
gimpnavigationeditor.h \
72
libappdisplay_a_built_sources = display-enums.c
74
libappdisplay_a_SOURCES = \
75
$(libappdisplay_a_built_sources) \
76
$(libappdisplay_a_sources)
78
EXTRA_DIST = makefile.msc
81
# rules to generate built sources
83
# setup autogeneration dependencies
84
gen_sources = xgen-dec
85
CLEANFILES = $(gen_sources)
87
$(srcdir)/display-enums.c: $(srcdir)/display-enums.h $(GIMP_MKENUMS)
89
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"display-enums.h\"\n#include\"gimp-intl.h\"" \
90
--fprod "\n/* enumerations from \"@filename@\" */" \
91
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
92
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
93
--vtail " { 0, NULL, NULL }\n };\n" \
94
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
95
--dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
96
--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" \
97
$(srcdir)/display-enums.h > xgen-dec \
98
&& cp xgen-dec $(@F) \