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