Commit | Line | Data |
---|---|---|
5ff67f98 DF |
1 | # |
2 | # Copyright (c) 1983 Regents of the University of California. | |
3 | # All rights reserved. The Berkeley software License Agreement | |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
f8de3a4c | 6 | # @(#)Makefile 5.5 (Berkeley) %G% |
5ff67f98 | 7 | # |
a5545777 | 8 | OBJS= host.o inet.o if.o main.o mbuf.o route.o unix.o ns.o bbnnet.o |
0f6cd5ba | 9 | CFLAGS=-O |
6017a464 | 10 | DESTDIR= |
0f6cd5ba | 11 | |
0f6cd5ba SL |
12 | netstat: ${OBJS} |
13 | ${CC} ${OBJS} -o netstat | |
14 | ||
15 | install: netstat | |
cdd48760 | 16 | install -s -m 2755 -g kmem netstat ${DESTDIR}/usr/ucb/netstat |
0f6cd5ba SL |
17 | |
18 | clean: | |
f076a5a1 | 19 | rm -f *.o core a.out errs netstat |