~ubuntu-branches/ubuntu/maverick/gimp/maverick-updates

« back to all changes in this revision

Viewing changes to app/display/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-09 19:44:52 UTC
  • Revision ID: james.westby@ubuntu.com-20051209194452-yggpemjlofpjqyf4
Tags: upstream-2.2.9
ImportĀ upstreamĀ versionĀ 2.2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
AM_CPPFLAGS = \
 
4
        -DG_LOG_DOMAIN=\"Gimp-Display\" \
 
5
        @GIMP_THREAD_FLAGS@             \
 
6
        @GIMP_MP_FLAGS@
 
7
 
 
8
INCLUDES = \
 
9
        -I$(top_srcdir)         \
 
10
        -I$(top_srcdir)/app     \
 
11
        $(GTK_CFLAGS)           \
 
12
        -I$(includedir)
 
13
 
 
14
noinst_LIBRARIES = libappdisplay.a
 
15
 
 
16
libappdisplay_a_sources = \
 
17
        display-enums.h                         \
 
18
        display-types.h                         \
 
19
        gimpcanvas.c                            \
 
20
        gimpcanvas.h                            \
 
21
        gimpdisplay.c                           \
 
22
        gimpdisplay.h                           \
 
23
        gimpdisplayoptions.c                    \
 
24
        gimpdisplayoptions.h                    \
 
25
        gimpdisplay-foreach.c                   \
 
26
        gimpdisplay-foreach.h                   \
 
27
        gimpdisplay-handlers.c                  \
 
28
        gimpdisplay-handlers.h                  \
 
29
        gimpdisplayshell.c                      \
 
30
        gimpdisplayshell.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                  \
 
67
        gimpscalecombobox.c                     \
 
68
        gimpscalecombobox.h                     \
 
69
        gimpstatusbar.c                         \
 
70
        gimpstatusbar.h
 
71
 
 
72
libappdisplay_a_built_sources = display-enums.c
 
73
 
 
74
libappdisplay_a_SOURCES = \
 
75
        $(libappdisplay_a_built_sources)        \
 
76
        $(libappdisplay_a_sources)
 
77
 
 
78
EXTRA_DIST = makefile.msc
 
79
 
 
80
#
 
81
# rules to generate built sources
 
82
#
 
83
# setup autogeneration dependencies
 
84
gen_sources = xgen-dec
 
85
CLEANFILES = $(gen_sources)
 
86
 
 
87
$(srcdir)/display-enums.c: $(srcdir)/display-enums.h $(GIMP_MKENUMS)
 
88
        $(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) \
 
99
        && rm -f xgen-dec