]> git.sur5r.net Git - kconfig-frontends/blob - libs/images/Makefile.am
13879c4f3430458bba8d3d9c1c76fd3ae6bb2675
[kconfig-frontends] / libs / images / Makefile.am
1 noinst_LIBRARIES = libkconfig-images.a
2
3 libkconfig_images_a_SOURCES = images.c_orig
4 nodist_libkconfig_images_a_SOURCES = images.c
5 BUILT_SOURCES = images.c images.h
6 CLEANFILES = images.c images.h
7
8 images.c: images.c_orig
9         $(SED) -r -e 's/^static //' $< >$@
10
11 images.h: images.c_orig
12         $(SED) -r -e '/^static (const char \*xpm_(.+)\[\]) = \{/!d; s//extern \1;/' \
13                $< >$@