summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-12-07 21:42:40 +0000
committersam <sam@FreeBSD.org>2003-12-07 21:42:40 +0000
commit42af1b89fd6e6fca153be177a915c9e2f8128f80 (patch)
tree0960053c08585e6bdd0d41d0bb141b47577cac7b /tools
parent40dec4d32370a95f45487e5a03945dbde3d216cf (diff)
downloadFreeBSD-src-42af1b89fd6e6fca153be177a915c9e2f8128f80.zip
FreeBSD-src-42af1b89fd6e6fca153be177a915c9e2f8128f80.tar.gz
add install rule
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/ath/Makefile5
-rw-r--r--tools/tools/crypto/Makefile6
2 files changed, 11 insertions, 0 deletions
diff --git a/tools/tools/ath/Makefile b/tools/tools/ath/Makefile
index 3104965..e7dc3a5 100644
--- a/tools/tools/ath/Makefile
+++ b/tools/tools/ath/Makefile
@@ -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
diff --git a/tools/tools/crypto/Makefile b/tools/tools/crypto/Makefile
index 6811eb3..978ea33 100644
--- a/tools/tools/crypto/Makefile
+++ b/tools/tools/crypto/Makefile
@@ -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
OpenPOWER on IntegriCloud