]> git.sur5r.net Git - kconfig-frontends/blob - libs/images/Makefile.am
libs/images: make it a proper library
[kconfig-frontends] / libs / images / Makefile.am
1 noinst_LIBRARIES = libimages.a
2
3 libimages_a_SOURCES = images.c_orig
4 nodist_libimages_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                $< >$@