3 # Copyright (c) 2018 Yubico AB. All rights reserved.
4 # Use of this source code is governed by a BSD-style
5 # license that can be found in the LICENSE file.
7 for f in export.gnu export.llvm export.msvc; do
8 if [ ! -f "${f}" ]; then
18 awk '/^[^*{}]+;$/' export.gnu | tr -d '\t;' | sort > "${GNU}"
19 sed 's/^_//' export.llvm | sort > "${LLVM}"
20 grep -v '^EXPORTS$' export.msvc | sort > "${MSVC}"
21 diff -u "${GNU}" "${LLVM}" && diff -u "${MSVC}" "${LLVM}"
23 rm "${GNU}" "${LLVM}" "${MSVC}"