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 \
|
2004-07-02 09:34:37 +00:00
|
|
|
__fpending.c \
|
2002-06-08 10:34:12 +00:00
|
|
|
argmatch.c \
|
2004-07-02 09:34:37 +00:00
|
|
|
closeout.c \
|
2002-06-08 10:34:12 +00:00
|
|
|
dup-safer.c \
|
|
|
|
error.c \
|
2004-07-02 09:34:37 +00:00
|
|
|
exitfail.c \
|
2002-06-08 10:34:12 +00:00
|
|
|
fopen-safer.c \
|
|
|
|
hard-locale.c \
|
|
|
|
human.c \
|
|
|
|
long-options.c \
|
|
|
|
memcoll.c \
|
|
|
|
physmem.c \
|
|
|
|
posixver.c \
|
|
|
|
quote.c \
|
|
|
|
quotearg.c \
|
2004-07-02 11:09:55 +00:00
|
|
|
strnlen.c \
|
2004-07-02 09:34:37 +00:00
|
|
|
umaxtostr.c \
|
2002-06-08 10:34:12 +00:00
|
|
|
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 \
|
2004-07-02 09:34:37 +00:00
|
|
|
-DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1
|
2002-04-08 12:12:07 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|