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

make LIBDIR=$TmpInstDir/$LibDir -C libcap install RAISE_SETFCAP="no"
make SBINDIR=$TmpInstDir/$BinDir -C progs install RAISE_SETFCAP="no"
rm $TmpInstDir/$LibDir/*.a

if [ "x$NOSTRIP" != "xNOSTRIP" ]; then
	${STRIP} $TmpInstDir/$LibDir/*
	${STRIP} $TmpInstDir/$BinDir/*
fi
