Makefile (cfe30d02adda7c3b5c76156ac52d50d8cab325d9) | Makefile (cf57243a460620a51aef50fbe0110f137d34dc2d) |
---|---|
1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5PROG= sort 6 7SRCS= bwstring.c coll.c file.c mem.c radixsort.c sort.c vsort.c 8 9sort.1: sort.1.in 10 /usr/bin/sed ${MAN_SUB} ${.ALLSRC} >${.TARGET} 11 12CLEANFILES+= sort.1 13 | 1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5PROG= sort 6 7SRCS= bwstring.c coll.c file.c mem.c radixsort.c sort.c vsort.c 8 9sort.1: sort.1.in 10 /usr/bin/sed ${MAN_SUB} ${.ALLSRC} >${.TARGET} 11 12CLEANFILES+= sort.1 13 |
14.if defined(WITH_THREADS) | 14.if ${MK_SORT_THREADS} != "no" |
15CFLAGS+= -DSORT_THREADS 16LDFLAGS+= -lpthread -lmd 17MAN_SUB+= -e 's|%%THREADS%%||g' 18.else 19LDFLAGS+= -lmd 20MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g' 21.endif 22 | 15CFLAGS+= -DSORT_THREADS 16LDFLAGS+= -lpthread -lmd 17MAN_SUB+= -e 's|%%THREADS%%||g' 18.else 19LDFLAGS+= -lmd 20MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g' 21.endif 22 |
23.if !defined(WITHOUT_NLS) | 23.if ${MK_NLS} != "no" |
24NLS+= hu_HU.ISO8859-2 25NLSSRCFILES= ${NLS:S@$@.msg@} 26MAN_SUB+= -e 's|%%NLS%%||g' 27.for lang in ${NLS} 28NLSSRCDIR_${lang}= ${.CURDIR}/nls 29.endfor 30.else 31CFLAGS+= -DWITHOUT_NLS 32MAN_SUB+= -e 's|%%NLS%%|\.\\"|g' 33.endif 34 35.include <bsd.prog.mk> | 24NLS+= hu_HU.ISO8859-2 25NLSSRCFILES= ${NLS:S@$@.msg@} 26MAN_SUB+= -e 's|%%NLS%%||g' 27.for lang in ${NLS} 28NLSSRCDIR_${lang}= ${.CURDIR}/nls 29.endfor 30.else 31CFLAGS+= -DWITHOUT_NLS 32MAN_SUB+= -e 's|%%NLS%%|\.\\"|g' 33.endif 34 35.include <bsd.prog.mk> |