1# $FreeBSD$ 2 3SORTDIR= ${.CURDIR}/../../../contrib/gnu-sort 4.PATH: ${SORTDIR}/lib ${SORTDIR}/src ${SORTDIR}/man 5 6PROG= sort 7SRCS= sort.c \ 8 __fpending.c \ 9 argmatch.c \ 10 closeout.c \ 11 dup-safer.c \ 12 error.c \ 13 exitfail.c \ 14 fopen-safer.c \ 15 hard-locale.c \ 16 human.c \ 17 long-options.c \ 18 memcoll.c \ 19 physmem.c \ 20 posixver.c \ 21 quote.c \ 22 quotearg.c \ 23 strnlen.c \ 24 umaxtostr.c \ 25 version-etc.c \ 26 xalloc-die.c \ 27 xmalloc.c \ 28 xmemcoll.c \ 29 xstrtoul.c \ 30 xstrtoumax.c 31 32CFLAGS+=-DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 \ 33 -I${.CURDIR} -I${SORTDIR}/lib 34 35.include <bsd.prog.mk> 36