123
139
gimppreviewarea.c \
124
140
gimppreviewarea.h \
147
gimpresolutionentry.c \
148
gimpresolutionentry.h \
127
149
gimpscrolledpreview.c \
128
150
gimpscrolledpreview.h \
129
151
gimpsizeentry.c \
130
152
gimpsizeentry.h \
155
gimpstringcombobox.c \
156
gimpstringcombobox.h \
135
161
gimpwidgets-private.c \
136
162
gimpwidgets-private.h
138
164
libgimpwidgets_2_0_la_built_sources = \
139
166
gimpwidgetsmarshal.c \
167
gimpwidgetsmarshal.h \
168
gimp-wilber-pixbufs.h
142
170
libgimpwidgets_2_0_la_extra_sources = gimpwidgetsmarshal.list
147
$(libgimpwidgets_2_0_la_extra_sources)
149
172
libgimpwidgets_2_0_la_SOURCES = \
150
173
$(libgimpwidgets_2_0_la_built_sources) \
151
174
$(libgimpwidgets_2_0_la_sources)
153
176
libgimpwidgetsinclude_HEADERS = \
155
179
gimpwidgetstypes.h \
157
182
gimpcellrenderercolor.h \
158
183
gimpcellrenderertoggle.h\
195
231
$(libgimpwidgets_export_symbols)
197
233
libgimpwidgets_2_0_la_LIBADD = \
203
240
libgimpwidgets_2_0_la_DEPENDENCIES = $(gimpwidgets_def)
243
## Wilber icons for the window managaer, compiled in
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
261
$(libgimpwidgets_2_0_la_extra_sources) \
265
gimpwidgets-private.c: gimp-wilber-pixbufs.h
206
269
# rules to generate built sources
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)
275
$(srcdir)/gimpwidgetsenums.c: $(srcdir)/gimpwidgetsenums.h $(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) \
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~
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~
301
$(srcdir)/gimp-wilber-pixbufs.h: $(WILBER_IMAGES) Makefile.am
302
$(GDK_PIXBUF_CSOURCE) --raw --build-list $(WILBER_VARIABLES) > $(@F)