summaryrefslogtreecommitdiffstats
path: root/usr.bin/sort/Makefile
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-04-06 13:59:43 +0000
committerdes <des@FreeBSD.org>2002-04-06 13:59:43 +0000
commit72f2fe98d8cd528ca29863e20352e9f3038b4123 (patch)
tree8e30a97af78d5074548ffb64e93d5653c10ead10 /usr.bin/sort/Makefile
parentcd43768d69321f9efc6ab6ceab03cc5681be2090 (diff)
downloadFreeBSD-src-72f2fe98d8cd528ca29863e20352e9f3038b4123.zip
FreeBSD-src-72f2fe98d8cd528ca29863e20352e9f3038b4123.tar.gz
Build a working version of sort(1) from contrib. Use netbsd.h as a hack
to avoid bringing the sources off the vendor branch just to #ifdef out the RCS and SCCS IDs.
Diffstat (limited to 'usr.bin/sort/Makefile')
-rw-r--r--usr.bin/sort/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/sort/Makefile b/usr.bin/sort/Makefile
index d7259ba..efa3633 100644
--- a/usr.bin/sort/Makefile
+++ b/usr.bin/sort/Makefile
@@ -1,7 +1,12 @@
-# $NetBSD: Makefile,v 1.3 2001/01/08 19:16:49 jdolecek Exp $
-# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
+
+SRCDIR= ${.CURDIR}/../../contrib/sort
PROG= sort
SRCS= append.c fields.c files.c fsort.c init.c msort.c sort.c tmp.c
+MAN= sort.1
+CFLAGS+=-I${SRCDIR} -include ${.CURDIR}/netbsd.h
.include <bsd.prog.mk>
+
+.PATH: ${SRCDIR}
OpenPOWER on IntegriCloud