afa79409ee
options.h to config.h.in and set via ./configure when built normally. Export some of the build knobs to the Makefile here, overridable from /etc/make.conf. Also get the version strings right. config.h was repocopied to config.h.proto, and we do a limited sed on it at build time now.
18 lines
343 B
Makefile
18 lines
343 B
Makefile
# $FreeBSD$
|
|
|
|
MAINTAINER= peter@FreeBSD.org
|
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
.PATH: ${CVSDIR}/diff
|
|
|
|
LIB= diff
|
|
INTERNALLIB= YES
|
|
|
|
CFLAGS+= -I../lib -I${CVSDIR}/lib -DHAVE_CONFIG_H
|
|
|
|
SRCS = diff.c diff3.c analyze.c cmpbuf.c cmpbuf.h io.c context.c ed.c \
|
|
normal.c ifdef.c util.c dir.c version.c diff.h side.c
|
|
|
|
.include <bsd.lib.mk>
|