opnsense-src/usr.bin/sort/Makefile
Warner Losh e9ac41698b Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
2024-07-15 16:43:39 -06:00

25 lines
436 B
Makefile

.include <src.opts.mk>
PACKAGE= runtime
PROG= sort
SRCS= bwstring.c coll.c file.c mem.c radixsort.c sort.c vsort.c
CSTD= c11
sort.1: sort.1.in
sed ${MAN_SUB} ${.ALLSRC} >${.TARGET}
CLEANFILES+= sort.1
.if ${MK_SORT_THREADS} != "no"
CFLAGS+= -DSORT_THREADS
LIBADD= pthread md
MAN_SUB+= -e 's|%%THREADS%%||g'
.else
LIBADD= md
MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
.endif
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>