1## Process this file with automake to produce Makefile.in 2 3STOCK_IMAGES = \ 4 stock-intensity-ambient-high.png \ 5 stock-intensity-ambient-low.png \ 6 stock-intensity-diffuse-high.png \ 7 stock-intensity-diffuse-low.png \ 8 stock-reflectivity-diffuse-high.png \ 9 stock-reflectivity-diffuse-low.png \ 10 stock-reflectivity-specular-high.png \ 11 stock-reflectivity-specular-low.png \ 12 stock-reflectivity-highlight-high.png \ 13 stock-reflectivity-highlight-low.png 14 15EXTRA_DIST = $(STOCK_IMAGES) 16 17noinst_DATA = stock-pixbufs.h 18CLEANFILES = $(noinst_DATA) stock-icons.list 19 20stock-icons.list: $(STOCK_IMAGES) Makefile.am 21 ( rm -f $@; \ 22 for image in $(STOCK_IMAGES); do \ 23 echo $$image | \ 24 sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \ 25 echo " $(srcdir)/$$image" >> $@; \ 26 done ) 27 28$(srcdir)/stock-pixbufs.h: stock-icons.list 29 $(GDK_PIXBUF_CSOURCE) --raw --build-list `cat stock-icons.list` > $(@F) 30