3 --- plugins/defaulttheme/data/Makefile.am.orig 2010-02-01 08:26:23.000000000 +0000
4 +++ plugins/defaulttheme/data/Makefile.am
6 -noinst_LIBRARIES = libimagedata.a
7 -libimagedata_a_SOURCES =
8 -nodist_libimagedata_a_SOURCES = defaulttheme.data
9 +noinst_LTLIBRARIES = libimagedata.la
10 +nodist_libimagedata_la_SOURCES = imagedata.c
12 # The following bash scripts makes up the list of used PNG's
14 @@ -318,16 +317,18 @@ ymeter_yellow.png \
18 -# this rule creates the .o file from the concatenated PNGs
20 - $(OBJCOPY) -I binary -B $(OBJCOPYARCH) -O $(OBJCOPYTARGET) $< $@
21 +# this rule creates the .c file from the concatenated PNGs
22 +imagedata.c: defaulttheme.data
23 + echo "unsigned char _binary_defaulttheme_data_start[] = {" > $@
24 + cat $< | xxd -i >> $@
27 defaulttheme.data: $(PNGS)
28 $(top_builddir)/guicast/bootstrap $@ $^ || { rm -f $@; exit 1; }
31 rm -f defaulttheme.data