New target 'libcheck' making sure libraries export only sane_* and sanei_* symbols.

DEVEL_2_0_BRANCH-1
Petter Reinholdtsen 2001-05-26 10:29:51 +00:00
rodzic cf0f7a6ce4
commit 6f038c7c40
1 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -66,6 +66,18 @@ sort-cvsignore:
$(PERL) -e 'print sort <>;' < $$f > $$f.tmptmp; \
mv $$f.tmptmp $$f; \
done
#
# Check to make sure only sane_ and sanei_ symbols are exported from
# the libraries
#
libcheck:
echo "Libraries exporting 'illegal' symbols:"
@for lib in backend/.libs/*.a; do \
if nm -g $$lib|grep ' T '|egrep -v ' sane_| sanei_' > /dev/null; \
then \
echo " $$lib"; \
fi \
done
clean: clean-recursive