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 \
|
|
|
|
getopt.c \
|
|
|
|
getopt1.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
|
|
|
|
2002-06-08 10:34:12 +00:00
|
|
|
CFLAGS+=-I${.CURDIR} -I${SORTDIR}/lib -DHAVE_CONFIG_H
|
2002-04-08 12:12:07 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|