#!/bin/bash
# Copyright (c) 2000-2015 Synology Inc. All rights reserved.

make DESTDIR=$TmpInstDir install

if [ "x$NOSTRIP" != "xNOSTRIP" ]; then
	${STRIP} $TmpInstDir/usr/lib/*.so
fi

rm -rf $TmpInstDir/usr/lib/{*.*a,pkgconfig}
rm -r $TmpInstDir/usr/{share,include,bin}
