summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/patch/Makefile
blob: 3f26cec667871bca0ccafa205d7fa7d7def0971c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $FreeBSD$

.include <bsd.own.mk>

.if ${MK_GNU_PATCH} == "yes"
PROG=	patch
.else
PROG=	gnupatch
CLEANFILES+= gnupatch.1

gnupatch.1: patch.1
	cp ${.ALLSRC} ${.TARGET}
.endif

SRCS=   backupfile.c inp.c patch.c pch.c util.c version.c
CFLAGS+=-DHAVE_CONFIG_H

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud