1 #!/bin/sh 2 # $NetBSD: prepare-import.sh,v 1.3.2.1 2014/08/10 06:55:27 tls Exp $ 3 # 4 # Checkout compiler_rt into dist. 5 # Run this script and check for additional files and directories to prune, 6 # only relevant content should be included. 7 8 set -e 9 10 cd dist 11 rm -rf .svn 12 rm -rf SDKs android cmake include make third_party unittests www 13 rm -f .arcconfig .gitignore CMakeLists.txt Makefile 14 rm -rf lib/BlocksRuntime lib/asan lib/dfsan lib/interception lib/lsan 15 rm -rf lib/msan lib/msandr lib/sanitizer_common lib/tsan lib/ubsan 16 rm -rf test/BlocksRuntime test/asan test/dfsan test/lit.* test/lsan test/msan test/sanitizer_common test/tsan test/ubsan 17 rm -f lib/*/*/Makefile.mk lib/*/Makefile.mk */Makefile.mk 18 rm -f lib/*/CMakeLists.txt */CMakeLists.txt 19 rm -f lib/builtins/apple_versioning.c lib/lit.common.* 20