2002-04-08 12:12:07 +00:00
|
|
|
# $FreeBSD$
|
2002-06-08 10:34:12 +00:00
|
|
|
|
|
|
|
SORTDIR= ${.CURDIR}/../../../contrib/gnu-sort
|
|
|
|
.PATH: ${SORTDIR}/lib ${SORTDIR}/src ${SORTDIR}/man
|
|
|
|
|
2002-04-08 12:12:07 +00:00
|
|
|
PROG= sort
|
2002-06-08 10:34:12 +00:00
|
|
|
SRCS= sort.c \
|
|
|
|
argmatch.c \
|
|
|
|
dup-safer.c \
|
|
|
|
error.c \
|
|
|
|
fopen-safer.c \
|
|
|
|
hard-locale.c \
|
|
|
|
human.c \
|
|
|
|
long-options.c \
|
|
|
|
memcoll.c \
|
|
|
|
physmem.c \
|
|
|
|
posixver.c \
|
|
|
|
quote.c \
|
|
|
|
quotearg.c \
|
|
|
|
version-etc.c \
|
|
|
|
xmalloc.c \
|
|
|
|
xmemcoll.c \
|
|
|
|
xstrtoul.c \
|
|
|
|
xstrtoumax.c
|
2002-04-08 12:12:07 +00:00
|
|
|
|
2003-08-30 14:28:14 +00:00
|
|
|
CFLAGS+=-I${.CURDIR} -I${SORTDIR}/lib -DHAVE_CONFIG_H \
|
|
|
|
-DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -DLOCALEDIR=\"\"
|
2002-04-08 12:12:07 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|