mirror of
https://github.com/opnsense/src.git
synced 2026-07-15 12:11:48 -04:00
diff3 is the last remaining GPL-licensed userland component. Move it to its own package, so that it may be excluded if desired. Reviewed by: ivy Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D52810 (cherry picked from commit e7258c42520c18c034f644b97377d8d2a0ad8b7c)
22 lines
505 B
Makefile
22 lines
505 B
Makefile
PACKAGE= diff3
|
|
|
|
DIFFSRC=${SRCTOP}/contrib/diff/src
|
|
.PATH: ${DIFFSRC} \
|
|
${SRCTOP}/contrib/diff/lib \
|
|
${SRCTOP}/contrib/diff/man
|
|
PROG= diff3
|
|
SRCS= diff3.c version-etc.c \
|
|
xmalloc.c error.c c-stack.c exitfail.c cmpbuf.c
|
|
|
|
# Important for ctype macros!
|
|
CFLAGS+=-funsigned-char
|
|
|
|
CFLAGS+=-I${SRCTOP}/contrib/diff/
|
|
CFLAGS+=-I${SRCTOP}/contrib/diff/src
|
|
CFLAGS+=-I${SRCTOP}/contrib/diff/lib
|
|
CFLAGS+=-DHAVE_CONFIG_H
|
|
CFLAGS+=-DDEFAULT_DIFF_PROGRAM=\"/usr/bin/diff\"
|
|
|
|
WARNS?= 0
|
|
|
|
.include <bsd.prog.mk>
|