aboutsummaryrefslogtreecommitdiffstats
path: root/text_cmds/sort/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'text_cmds/sort/Makefile')
-rw-r--r--text_cmds/sort/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/text_cmds/sort/Makefile b/text_cmds/sort/Makefile
new file mode 100644
index 0000000..64c9ff0
--- /dev/null
+++ b/text_cmds/sort/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PROG= sort
+
+SRCS= bwstring.c coll.c commoncrypto.c file.c \
+ mem.c radixsort.c sort.c vsort.c
+
+sort.1: sort.1.in
+ sed ${MAN_SUB} ${.ALLSRC} >${.TARGET}
+
+CLEANFILES+= sort.1
+
+CFLAGS+= -DSORT_THREADS
+MAN_SUB+= -e 's|%%THREADS%%||g'
+
+# Current text_cmds version
+CFLAGS+=-DSORT_VERSION=\"106\"
+
+.include <bsd.prog.mk>