~ubuntu-branches/ubuntu/hoary/gimp/hoary

« back to all changes in this revision

Viewing changes to app/tools/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-04-04 14:51:23 UTC
  • Revision ID: james.westby@ubuntu.com-20050404145123-9py049eeelfymur8
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
noinst_LIBRARIES = libapptools.a
 
4
 
 
5
libapptools_a_sources = \
 
6
        tools-enums.h                   \
 
7
        tools-types.h                   \
 
8
        gimp-tools.c                    \
 
9
        gimp-tools.h                    \
 
10
        tools-utils.c                   \
 
11
        tools-utils.h                   \
 
12
        tool_manager.c                  \
 
13
        tool_manager.h                  \
 
14
        \
 
15
        gimpairbrushtool.c              \
 
16
        gimpairbrushtool.h              \
 
17
        gimpblendoptions.c              \
 
18
        gimpblendoptions.h              \
 
19
        gimpblendtool.c                 \
 
20
        gimpblendtool.h                 \
 
21
        gimpbrightnesscontrasttool.c    \
 
22
        gimpbrightnesscontrasttool.h    \
 
23
        gimpbucketfilloptions.c         \
 
24
        gimpbucketfilloptions.h         \
 
25
        gimpbucketfilltool.c            \
 
26
        gimpbucketfilltool.h            \
 
27
        gimpbycolorselecttool.c         \
 
28
        gimpbycolorselecttool.h         \
 
29
        gimpclonetool.c                 \
 
30
        gimpclonetool.h                 \
 
31
        gimpcoloroptions.c              \
 
32
        gimpcoloroptions.h              \
 
33
        gimpcolortool.c                 \
 
34
        gimpcolortool.h                 \
 
35
        gimpcolorbalancetool.c          \
 
36
        gimpcolorbalancetool.h          \
 
37
        gimpcolorizetool.c              \
 
38
        gimpcolorizetool.h              \
 
39
        gimpcolorpickeroptions.c        \
 
40
        gimpcolorpickeroptions.h        \
 
41
        gimpcolorpickertool.c           \
 
42
        gimpcolorpickertool.h           \
 
43
        gimpconvolvetool.c              \
 
44
        gimpconvolvetool.h              \
 
45
        gimpcropoptions.c               \
 
46
        gimpcropoptions.h               \
 
47
        gimpcroptool.c                  \
 
48
        gimpcroptool.h                  \
 
49
        gimpcurvestool.c                \
 
50
        gimpcurvestool.h                \
 
51
        gimpdodgeburntool.c             \
 
52
        gimpdodgeburntool.h             \
 
53
        gimpdrawtool.c                  \
 
54
        gimpdrawtool.h                  \
 
55
        gimpeditselectiontool.c         \
 
56
        gimpeditselectiontool.h         \
 
57
        gimpellipseselecttool.c         \
 
58
        gimpellipseselecttool.h         \
 
59
        gimperasertool.c                \
 
60
        gimperasertool.h                \
 
61
        gimpflipoptions.c               \
 
62
        gimpflipoptions.h               \
 
63
        gimpfliptool.c                  \
 
64
        gimpfliptool.h                  \
 
65
        gimpfreeselecttool.c            \
 
66
        gimpfreeselecttool.h            \
 
67
        gimpfuzzyselecttool.c           \
 
68
        gimpfuzzyselecttool.h           \
 
69
        gimphistogramoptions.c          \
 
70
        gimphistogramoptions.h          \
 
71
        gimphuesaturationtool.c         \
 
72
        gimphuesaturationtool.h         \
 
73
        gimpimagemapoptions.c           \
 
74
        gimpimagemapoptions.h           \
 
75
        gimpimagemaptool.c              \
 
76
        gimpimagemaptool.h              \
 
77
        gimpinkoptions-gui.c            \
 
78
        gimpinkoptions-gui.h            \
 
79
        gimpinktool.c                   \
 
80
        gimpinktool.h                   \
 
81
        gimpiscissorstool.c             \
 
82
        gimpiscissorstool.h             \
 
83
        gimplevelstool.c                \
 
84
        gimplevelstool.h                \
 
85
        gimpmagnifyoptions.c            \
 
86
        gimpmagnifyoptions.h            \
 
87
        gimpmagnifytool.c               \
 
88
        gimpmagnifytool.h               \
 
89
        gimpmeasureoptions.c            \
 
90
        gimpmeasureoptions.h            \
 
91
        gimpmeasuretool.c               \
 
92
        gimpmeasuretool.h               \
 
93
        gimpmoveoptions.c               \
 
94
        gimpmoveoptions.h               \
 
95
        gimpmovetool.c                  \
 
96
        gimpmovetool.h                  \
 
97
        gimppaintbrushtool.c            \
 
98
        gimppaintbrushtool.h            \
 
99
        gimppaintoptions-gui.c          \
 
100
        gimppaintoptions-gui.h          \
 
101
        gimppainttool.c                 \
 
102
        gimppainttool.h                 \
 
103
        gimppenciltool.c                \
 
104
        gimppenciltool.h                \
 
105
        gimpperspectivetool.c           \
 
106
        gimpperspectivetool.h           \
 
107
        gimpposterizetool.c             \
 
108
        gimpposterizetool.h             \
 
109
        gimprectselecttool.c            \
 
110
        gimprectselecttool.h            \
 
111
        gimprotatetool.c                \
 
112
        gimprotatetool.h                \
 
113
        gimpscaletool.c                 \
 
114
        gimpscaletool.h                 \
 
115
        gimpselectionoptions.c          \
 
116
        gimpselectionoptions.h          \
 
117
        gimpselectiontool.c             \
 
118
        gimpselectiontool.h             \
 
119
        gimpsheartool.c                 \
 
120
        gimpsheartool.h                 \
 
121
        gimpsmudgetool.c                \
 
122
        gimpsmudgetool.h                \
 
123
        gimptextoptions.c               \
 
124
        gimptextoptions.h               \
 
125
        gimptexttool.c                  \
 
126
        gimptexttool.h                  \
 
127
        gimpthresholdtool.c             \
 
128
        gimpthresholdtool.h             \
 
129
        gimptool.c                      \
 
130
        gimptool.h                      \
 
131
        gimptoolcontrol.c               \
 
132
        gimptoolcontrol.h               \
 
133
        gimptooloptions-gui.c           \
 
134
        gimptooloptions-gui.h           \
 
135
        gimptransformoptions.c          \
 
136
        gimptransformoptions.h          \
 
137
        gimptransformtool.c             \
 
138
        gimptransformtool.h             \
 
139
        gimptransformtool-undo.c        \
 
140
        gimptransformtool-undo.h        \
 
141
        gimpvectoroptions.c             \
 
142
        gimpvectoroptions.h             \
 
143
        gimpvectortool.c                \
 
144
        gimpvectortool.h
 
145
 
 
146
libapptools_a_built_sources = tools-enums.c
 
147
 
 
148
libapptools_a_SOURCES = $(libapptools_a_built_sources) $(libapptools_a_sources)
 
149
 
 
150
 
 
151
AM_CPPFLAGS = \
 
152
        -DG_LOG_DOMAIN=\"Gimp-Tools\"   \
 
153
        @GIMP_THREAD_FLAGS@             \
 
154
        @GIMP_MP_FLAGS@
 
155
 
 
156
INCLUDES = \
 
157
        -I$(top_srcdir)         \
 
158
        -I$(top_srcdir)/app     \
 
159
        $(GTK_CFLAGS)           \
 
160
        -I$(includedir)
 
161
 
 
162
EXTRA_DIST = makefile.msc
 
163
 
 
164
#
 
165
# rules to generate built sources
 
166
#
 
167
# setup autogeneration dependencies
 
168
gen_sources = xgen-tec
 
169
CLEANFILES = $(gen_sources)
 
170
 
 
171
$(srcdir)/tools-enums.c: $(srcdir)/tools-enums.h $(GIMP_MKENUMS)
 
172
        $(GIMP_MKENUMS) \
 
173
                --fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"core/core-enums.h\"\n#include \"tools-enums.h\"\n#include \"gimp-intl.h\"" \
 
174
                --fprod "\n/* enumerations from \"@filename@\" */" \
 
175
                --vhead "GType\n@enum_name@_get_type (void)\n{\n  static const G@Type@Value values[] =\n  {" \
 
176
                --vprod "    { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
 
177
                --vtail "    { 0, NULL, NULL }\n  };\n" \
 
178
                --dhead "  static const Gimp@Type@Desc descs[] =\n  {" \
 
179
                --dprod "    { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
 
180
                --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" \
 
181
                $(srcdir)/tools-enums.h > xgen-tec \
 
182
        && cp xgen-tec $(@F) \
 
183
        && rm -f xgen-tec