add install rule

This commit is contained in:
Sam Leffler 2003-12-07 21:42:40 +00:00
parent 35d8be69e3
commit 236d9d937d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123261
2 changed files with 11 additions and 0 deletions

View File

@ -24,6 +24,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
BINDIR= /usr/local/bin
ALL= athstats 80211stats
@ -33,5 +34,9 @@ athstats: athstats.c
${CC} -o athstats athstats.c -lkvm
80211stats: 80211stats.c
${CC} -o 80211stats 80211stats.c
install: ${ALL}
install -g kmem -m 2755 athstats ${DESTDIR}${BINDIR}
install 80211stats ${DESTDIR}${BINDIR}
clean:
rm -f ${ALL} core a.out

View File

@ -27,6 +27,7 @@
ALL= cryptotest cryptokeytest cryptostats \
ubsecstats hifnstats ipsecstats safestats
BINDIR= /usr/local/bin
all: ${ALL}
@ -60,3 +61,8 @@ ipsecstats: ipsecstats.c
clean:
rm -f ${ALL} core a.out
install: ${ALL}
for i in ${ALL}; do \
install $$i ${DESTDIR}${BINDIR}; \
done