diff options
Diffstat (limited to 'text_cmds/sort/Makefile')
-rw-r--r-- | text_cmds/sort/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/text_cmds/sort/Makefile b/text_cmds/sort/Makefile new file mode 100644 index 0000000..e0e1dac --- /dev/null +++ b/text_cmds/sort/Makefile @@ -0,0 +1,23 @@ +# $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 + +# Enabled here cause not enabling it is a bad default +CFLAGS+= -DSORT_THREADS +MAN_SUB+= -e 's|%%THREADS%%||g' + +CFLAGS+= -DWITHOUT_NLS +MAN_SUB+= -e 's|%%NLS%%|\.\\"|g' + +# Current text_cmds version +CFLAGS+=-DSORT_VERSION=\"106\" + +.include <bsd.prog.mk> |