r272777: Integrate usr.sbin/nmtree/tests from NetBSD into atf/kyua In collaboration with: pho Sponsored by: EMC / Isilon Storage Division r272779: Integrate usr.sbin/basename/tests from NetBSD into atf/kyua In collaboration with: pho Sponsored by: EMC / Isilon Storage Division r272780: Integrate usr.bin/cmp/tests from NetBSD into atf/kyua In collaboration with: sjg Sponsored by: EMC / Isilon Storage Division r272781: Integrate usr.bin/dirname/tests from NetBSD into atf/kyua In collaboration with: pho, sjg Sponsored by: EMC / Isilon Storage Division r272782: Integrate bin/sleep/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division r272783: Integrate usr.bin/cut/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division r272784: Integrate usr.bin/grep/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division r272787: Integrate usr.bin/diff/tests from NetBSD into atf/kyua at gnu/usr.bin/diff/tests Sponsored by: EMC / Isilon Storage Division r272788: Integrate usr.bin/gzip/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division
37 lines
878 B
Makefile
37 lines
878 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DIFFSRC=${.CURDIR}/../../../contrib/diff/src
|
|
.PATH: ${DIFFSRC} \
|
|
${.CURDIR}/../../../contrib/diff/lib \
|
|
${.CURDIR}/../../../contrib/diff/man
|
|
|
|
PROG= diff
|
|
SRCS= analyze.c context.c diff.c dir.c ed.c ifdef.c io.c \
|
|
normal.c side.c util.c \
|
|
xmalloc.c strtoumax.c cmpbuf.c exitfail.c error.c quotesys.c \
|
|
strftime.c c-stack.c basename.c exclude.c hard-locale.c \
|
|
file-type.c posixver.c prepargs.c version-etc.c
|
|
|
|
# Important for ctype macros!
|
|
CFLAGS+=-funsigned-char
|
|
|
|
CFLAGS+=-DHAVE_CONFIG_H
|
|
CFLAGS+=-DPR_PROGRAM=\"/usr/bin/pr\"
|
|
CFLAGS+=-I${.CURDIR}/../../../contrib/diff
|
|
CFLAGS+=-I${.CURDIR}/../../../contrib/diff/src
|
|
CFLAGS+=-I${.CURDIR}/../../../contrib/diff/lib
|
|
CFLAGS+=-I${DESTDIR}/usr/include/gnu
|
|
|
|
SUBDIR+=doc
|
|
|
|
DPADD= ${LIBGNUREGEX}
|
|
LDADD= -lgnuregex
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
SUBDIR+= tests
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|