summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cae9b0eb10..8bf956d895 100644
--- a/Makefile
+++ b/Makefile
@@ -711,7 +711,18 @@ include $(PROJECT_SUPPORTDIR)/make/sdc.mk
##############################################################################
# Beta code
-show-missing :
+show-missing-library :
+ @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log
+ @for filename in $(LIBRARY_SOURCES:%='%'); do \
+ echo $$filename | $(TR) " " "\n" >> /tmp/check.tmp.log; \
+ done
+ @$(SORT) /tmp/check.tmp.log > /tmp/check.mkf.log
+ @$(FIND) $(LIBRARY_ROOT) -name "tools" -prune -o \( -name '*.java' -o -name '*.scala' \) -print | $(SORT) > /tmp/check.lst.log
+ @$(COMM) -1 -3 /tmp/check.mkf.log /tmp/check.lst.log
+ @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log
+
+
+show-missing-test :
@$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log
@for filename in $(TEST_FILES:%='%'); do \
echo $$filename | $(TR) " " "\n" >> /tmp/check.tmp.log; \