]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - tools/tools/kttcp/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.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