summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/Makefile
blob: 18261f677dfe9fe4719e3c21f10378cf8f211e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	$OpenBSD: Makefile,v 1.4 2005/05/16 15:22:46 espie Exp $
# $FreeBSD$

.include <bsd.own.mk>

.if ${MK_GNU_PATCH} == "yes"
PROG=	bsdpatch
CLEANFILES+= bsdpatch.1

bsdpatch.1: patch.1
	cp ${.ALLSRC} ${.TARGET}
.else
PROG=	patch
.endif

SRCS=	backupfile.c inp.c mkpath.c patch.c pch.c util.c

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