summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/sort/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/sort/Makefile')
-rw-r--r--gnu/usr.bin/sort/Makefile27
1 files changed, 25 insertions, 2 deletions
diff --git a/gnu/usr.bin/sort/Makefile b/gnu/usr.bin/sort/Makefile
index 5dbed7c..30dd080 100644
--- a/gnu/usr.bin/sort/Makefile
+++ b/gnu/usr.bin/sort/Makefile
@@ -1,7 +1,30 @@
# $FreeBSD$
+
+SORTDIR= ${.CURDIR}/../../../contrib/gnu-sort
+.PATH: ${SORTDIR}/lib ${SORTDIR}/src ${SORTDIR}/man
+
PROG= sort
-SRCS= sort.c error.c version.c long-options.c getopt.c getopt1.c xstrtod.c
+SRCS= sort.c \
+ argmatch.c \
+ dup-safer.c \
+ error.c \
+ fopen-safer.c \
+ getopt.c \
+ getopt1.c \
+ hard-locale.c \
+ human.c \
+ long-options.c \
+ memcoll.c \
+ physmem.c \
+ posixver.c \
+ quote.c \
+ quotearg.c \
+ version-etc.c \
+ xmalloc.c \
+ xmemcoll.c \
+ xstrtoul.c \
+ xstrtoumax.c
-CFLAGS+=-I${.CURDIR} -DHAVE_CONFIG_H
+CFLAGS+=-I${.CURDIR} -I${SORTDIR}/lib -DHAVE_CONFIG_H
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud