]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - tools/tools/kttcp/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / tools / tools / kttcp / Makefile
1 #       $FreeBSD$
2
3 SHELL=  /bin/sh
4
5 PROG=   kttcp
6 SRCS=   kttcp.c
7 BINDIR?=/usr/local/bin
8 SYSDIR?=/usr/src/sys
9
10 CFLAGS  += -I${SYSDIR} -Isys
11
12 all:    kttcp module
13
14 module:
15         cd sys; SYSDIR=${SYSDIR} make
16
17 install:
18         install kttcp ${DESTDIR}/${BINDIR}
19         cd sys; SYSDIR=${SYSDIR} make install
20
21 clean:
22         rm -f ${PROG}
23         cd sys; SYSDIR=${SYSDIR} make clean