aboutsummaryrefslogtreecommitdiffstats
path: root/text_cmds/sort/Makefile
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-05-12 17:31:30 -0400
committerCameron Katri <me@cameronkatri.com>2021-05-12 17:31:30 -0400
commit7171a7ba0a0ea8d9b7216d9aae16539948222702 (patch)
treef20aab7b4f208c331334a4a94c89abe4b48a9ea7 /text_cmds/sort/Makefile
parent68311c8bb2e7f974b5b91ad61f85980f432f2d7f (diff)
downloadapple_cmds-7171a7ba0a0ea8d9b7216d9aae16539948222702.tar.gz
apple_cmds-7171a7ba0a0ea8d9b7216d9aae16539948222702.tar.zst
apple_cmds-7171a7ba0a0ea8d9b7216d9aae16539948222702.zip
text_cmds: All done
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>