~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to libgimpwidgets/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
4
4
libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
 
5
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
5
6
 
6
7
if PLATFORM_WIN32
7
8
no_undefined = -no-undefined
49
50
 
50
51
AM_CPPFLAGS = \
51
52
        -DG_LOG_DOMAIN=\"LibGimpWidgets\"                       \
52
 
        @GIMP_THREAD_FLAGS@
 
53
        @GTHREAD_CFLAGS@
53
54
 
54
55
INCLUDES = \
55
56
        -I$(top_srcdir) \
61
62
libgimpwidgets_2_0_la_sources = \
62
63
        gimpwidgets.c           \
63
64
        gimpwidgets.h           \
 
65
        gimpwidgetsenums.h      \
64
66
        gimpwidgetstypes.h      \
 
67
        gimpbrowser.c           \
 
68
        gimpbrowser.h           \
65
69
        gimpbutton.c            \
66
70
        gimpbutton.h            \
67
71
        gimpcellrenderercolor.c \
78
82
        gimpcolordisplay.h      \
79
83
        gimpcolordisplaystack.c \
80
84
        gimpcolordisplaystack.h \
 
85
        gimpenumwidgets.c       \
 
86
        gimpenumwidgets.h       \
81
87
        gimpcolorhexentry.c     \
82
88
        gimpcolorhexentry.h     \
83
89
        gimpcolornotebook.c     \
96
102
        gimpcontroller.h        \
97
103
        gimpdialog.c            \
98
104
        gimpdialog.h            \
 
105
        gimpenumstore.c         \
 
106
        gimpenumstore.h         \
 
107
        gimpenumcombobox.c      \
 
108
        gimpenumcombobox.h      \
 
109
        gimpenumlabel.c         \
 
110
        gimpenumlabel.h         \
99
111
        gimpfileentry.c         \
100
112
        gimpfileentry.h         \
101
113
        gimpframe.c             \
102
114
        gimpframe.h             \
103
115
        gimphelpui.c            \
104
116
        gimphelpui.h            \
 
117
        gimphintbox.c           \
 
118
        gimphintbox.h           \
105
119
        gimpintcombobox.c       \
106
120
        gimpintcombobox.h       \
107
121
        gimpintstore.c          \
112
126
        gimpoldwidgets.h        \
113
127
        gimpoffsetarea.c        \
114
128
        gimpoffsetarea.h        \
 
129
        gimppageselector.c      \
 
130
        gimppageselector.h      \
115
131
        gimppatheditor.c        \
116
132
        gimppatheditor.h        \
117
133
        gimppickbutton.c        \
122
138
        gimppreview.h           \
123
139
        gimppreviewarea.c       \
124
140
        gimppreviewarea.h       \
 
141
        gimppropwidgets.c       \
 
142
        gimppropwidgets.h       \
125
143
        gimpquerybox.c          \
126
144
        gimpquerybox.h          \
 
145
        gimpratioentry.c        \
 
146
        gimpratioentry.h        \
 
147
        gimpresolutionentry.c   \
 
148
        gimpresolutionentry.h   \
127
149
        gimpscrolledpreview.c   \
128
150
        gimpscrolledpreview.h   \
129
151
        gimpsizeentry.c         \
130
152
        gimpsizeentry.h         \
131
153
        gimpstock.c             \
132
154
        gimpstock.h             \
 
155
        gimpstringcombobox.c    \
 
156
        gimpstringcombobox.h    \
133
157
        gimpunitmenu.c          \
134
158
        gimpunitmenu.h          \
 
159
        gimpzoommodel.c         \
 
160
        gimpzoommodel.h         \
135
161
        gimpwidgets-private.c   \
136
162
        gimpwidgets-private.h
137
163
 
138
164
libgimpwidgets_2_0_la_built_sources = \
 
165
        gimpwidgetsenums.c      \
139
166
        gimpwidgetsmarshal.c    \
140
 
        gimpwidgetsmarshal.h
 
167
        gimpwidgetsmarshal.h    \
 
168
        gimp-wilber-pixbufs.h   
141
169
 
142
170
libgimpwidgets_2_0_la_extra_sources = gimpwidgetsmarshal.list
143
171
 
144
 
EXTRA_DIST = \
145
 
        makefile.msc                            \
146
 
        gimpwidgets.def                         \
147
 
        $(libgimpwidgets_2_0_la_extra_sources)
148
 
 
149
172
libgimpwidgets_2_0_la_SOURCES =                 \
150
173
        $(libgimpwidgets_2_0_la_built_sources)  \
151
174
        $(libgimpwidgets_2_0_la_sources)
152
175
 
153
176
libgimpwidgetsinclude_HEADERS = \
154
177
        gimpwidgets.h           \
 
178
        gimpwidgetsenums.h      \
155
179
        gimpwidgetstypes.h      \
 
180
        gimpbrowser.h           \
156
181
        gimpbutton.h            \
157
182
        gimpcellrenderercolor.h \
158
183
        gimpcellrenderertoggle.h\
170
195
        gimpcolorselection.h    \
171
196
        gimpcontroller.h        \
172
197
        gimpdialog.h            \
 
198
        gimpenumcombobox.h      \
 
199
        gimpenumlabel.h         \
 
200
        gimpenumstore.h         \
 
201
        gimpenumwidgets.h       \
173
202
        gimpfileentry.h         \
174
203
        gimpframe.h             \
175
204
        gimphelpui.h            \
 
205
        gimphintbox.h           \
176
206
        gimpintcombobox.h       \
177
207
        gimpintstore.h          \
178
208
        gimpmemsizeentry.h      \
179
209
        gimpoldwidgets.h        \
180
210
        gimpoffsetarea.h        \
 
211
        gimppageselector.h      \
181
212
        gimppatheditor.h        \
182
213
        gimppickbutton.h        \
183
214
        gimppixmap.h            \
184
215
        gimppreview.h           \
185
216
        gimppreviewarea.h       \
 
217
        gimppropwidgets.h       \
186
218
        gimpquerybox.h          \
 
219
        gimpratioentry.h        \
 
220
        gimpresolutionentry.h   \
187
221
        gimpscrolledpreview.h   \
188
222
        gimpsizeentry.h         \
189
223
        gimpstock.h             \
190
 
        gimpunitmenu.h
 
224
        gimpstringcombobox.h    \
 
225
        gimpunitmenu.h          \
 
226
        gimpzoommodel.h
191
227
 
192
228
libgimpwidgets_2_0_la_LDFLAGS = \
193
229
        -version-info $(LT_VERSION_INFO)        \
195
231
        $(libgimpwidgets_export_symbols)
196
232
 
197
233
libgimpwidgets_2_0_la_LIBADD = \
 
234
        $(libgimpcolor) \
 
235
        $(libgimpconfig) \
198
236
        $(libgimpbase)  \
199
 
        $(libgimpcolor) \
200
237
        $(GTK_LIBS)     \
201
238
        $(libm)
202
239
 
203
240
libgimpwidgets_2_0_la_DEPENDENCIES = $(gimpwidgets_def)
204
241
 
 
242
 
 
243
## Wilber icons for the window managaer, compiled in
 
244
 
 
245
WILBER_IMAGES = \
 
246
        wilber-16.png   \
 
247
        wilber-32.png   \
 
248
        wilber-48.png   \
 
249
        wilber-64.png
 
250
 
 
251
WILBER_VARIABLES = \
 
252
        wilber_16  $(srcdir)/wilber-16.png      \
 
253
        wilber_32  $(srcdir)/wilber-32.png      \
 
254
        wilber_48  $(srcdir)/wilber-48.png      \
 
255
        wilber_64  $(srcdir)/wilber-64.png
 
256
 
 
257
 
 
258
EXTRA_DIST = \
 
259
        makefile.msc                            \
 
260
        gimpwidgets.def                         \
 
261
        $(libgimpwidgets_2_0_la_extra_sources)  \
 
262
        $(WILBER_IMAGES)
 
263
 
 
264
 
 
265
gimpwidgets-private.c: gimp-wilber-pixbufs.h
 
266
 
 
267
 
205
268
#
206
269
# rules to generate built sources
207
270
#
208
271
# setup autogeneration dependancies
209
 
gen_sources = xgen-gwmh xgen-gwmc
 
272
gen_sources = xgen-wec xgen-wmh xgen-wmc gimp-wilber-pixbufs.h
210
273
CLEANFILES = $(gen_sources)
211
274
 
 
275
$(srcdir)/gimpwidgetsenums.c: $(srcdir)/gimpwidgetsenums.h $(GIMP_MKENUMS)
 
276
        $(GIMP_MKENUMS) \
 
277
                --fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"gimpwidgetsenums.h\"\n#include \"libgimp/libgimp-intl.h\"" \
 
278
                --fprod "\n/* enumerations from \"@filename@\" */" \
 
279
                --vhead "GType\n@enum_name@_get_type (void)\n{\n  static const G@Type@Value values[] =\n  {" \
 
280
                --vprod "    { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
 
281
                --vtail "    { 0, NULL, NULL }\n  };\n" \
 
282
                --dhead "  static const Gimp@Type@Desc descs[] =\n  {" \
 
283
                --dprod "    { @VALUENAME@, @valuedesc@, @valuehelp@ }," \
 
284
                --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_translation_domain (type, GETTEXT_PACKAGE \"-libgimp\");\n      gimp_@type@_set_value_descriptions (type, descs);\n    }\n\n  return type;\n}\n" \
 
285
                $(srcdir)/gimpwidgetsenums.h > xgen-wec \
 
286
        && cp xgen-wec $(@F) \
 
287
        && rm -f xgen-wec
 
288
 
212
289
$(srcdir)/gimpwidgetsmarshal.h: $(srcdir)/gimpwidgetsmarshal.list
213
 
        $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --header >> xgen-gwmh \
214
 
        && (cmp -s xgen-gwmh $(@F) || cp xgen-gwmh $(@F)) \
215
 
        && rm -f xgen-gwmh xgen-gwmh~
 
290
        $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --header >> xgen-wmh \
 
291
        && (cmp -s xgen-wmh $(@F) || cp xgen-wmh $(@F)) \
 
292
        && rm -f xgen-wmh xgen-wmh~
216
293
 
217
294
$(srcdir)/gimpwidgetsmarshal.c: $(srcdir)/gimpwidgetsmarshal.h
218
 
        echo "#include \"gimpwidgetsmarshal.h\"" >> xgen-gwmc \
219
 
        && $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --body >> xgen-gwmc \
220
 
        && cp xgen-gwmc $(@F) \
221
 
        && rm -f xgen-gwmc xgen-gwmc~
 
295
        echo "#include \"gimpwidgetsmarshal.h\"" >> xgen-wmc \
 
296
        && $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --body >> xgen-wmc \
 
297
        && cp xgen-wmc $(@F) \
 
298
        && rm -f xgen-wmc xgen-wmc~
 
299
 
 
300
 
 
301
$(srcdir)/gimp-wilber-pixbufs.h: $(WILBER_IMAGES) Makefile.am
 
302
        $(GDK_PIXBUF_CSOURCE) --raw --build-list $(WILBER_VARIABLES) > $(@F)
222
303
 
223
304
 
224
305
#