1# $FreeBSD: head/usr.bin/sort/Makefile 275042 2014-11-25 14:29:10Z bapt $ 2 3PROG= sort 4SRCS= bwstring.c \ 5 coll.c \ 6 file.c \ 7 mem.c \ 8 radixsort.c \ 9 sort.c \ 10 vsort.c 11 12CFLAGS+= -DWITHOUT_NLS 13 14.if !defined(BOOTSTRAPPING) 15DPADD= ${LIBMD} 16LDADD= -lmd 17CFLAGS+= -DSORT_RANDOM 18 19DPADD+= ${LIBPTHREAD} 20LDADD+= -lpthread 21CFLAGS+= -DSORT_THREADS 22 23# XXX sys/md5.h shim errata for bootstrap REMOVE_OPENSSL_FILES 24CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv 25.endif 26 27.include <bsd.prog.mk> 28