]> git.cameronkatri.com Git - apple_cmds.git/blob - text_cmds/sort/Makefile
file_cmds: Fix install and COLORLS
[apple_cmds.git] / text_cmds / sort / Makefile
1 # $FreeBSD$
2
3 PROG= sort
4
5 SRCS= bwstring.c coll.c commoncrypto.c file.c \
6 mem.c radixsort.c sort.c vsort.c
7
8 sort.1: sort.1.in
9 sed ${MAN_SUB} ${.ALLSRC} >${.TARGET}
10
11 CLEANFILES+= sort.1
12
13 # Enabled here cause not enabling it is a bad default
14 CFLAGS+= -DSORT_THREADS
15 MAN_SUB+= -e 's|%%THREADS%%||g'
16
17 CFLAGS+= -DWITHOUT_NLS
18 MAN_SUB+= -e 's|%%NLS%%|\.\\"|g'
19
20 # Current text_cmds version
21 CFLAGS+=-DSORT_VERSION=\"106\"
22
23 .include <bsd.prog.mk>