aboutsummaryrefslogtreecommitdiffstats
path: root/text_cmds/sort/Makefile
blob: e0e1daccc730553734bc19cf300bebe4f41bea85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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>