summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/patch/Makefile')
-rw-r--r--usr.bin/patch/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/usr.bin/patch/Makefile b/usr.bin/patch/Makefile
new file mode 100644
index 0000000..5ee0a83
--- /dev/null
+++ b/usr.bin/patch/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+# $OpenBSD: Makefile,v 1.4 2005/05/16 15:22:46 espie Exp $
+# $DragonFly: src/usr.bin/patch/Makefile,v 1.8 2008/08/10 23:50:12 joerg Exp $
+
+.include <bsd.own.mk>
+
+.if ${MK_BSD_PATCH} == "yes"
+PROG= patch
+.else
+PROG= bsdpatch
+CLEANFILES+= bsdpatch.1
+
+bsdpatch.1: patch.1
+ cp ${.ALLSRC} ${.TARGET}
+.endif
+
+SRCS= backupfile.c inp.c mkpath.c patch.c pch.c util.c
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud