Makefile (31ccd48942f0df842d9a31fe8e862c197ff296b9) Makefile (d826ccd66d20ebec714f745cafd5e75e10957de9)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5.if ${MK_BSD_SORT} == "yes"
6PROG= sort
7.else
8PROG= bsdsort

--- 7 unchanged lines hidden (view full) ---

16
17WARNS= 6
18
19sort.1: sort.1.in
20 /usr/bin/sed ${MAN_SUB} ${.ALLSRC} >${.TARGET}
21
22CLEANFILES+= sort.1
23
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5.if ${MK_BSD_SORT} == "yes"
6PROG= sort
7.else
8PROG= bsdsort

--- 7 unchanged lines hidden (view full) ---

16
17WARNS= 6
18
19sort.1: sort.1.in
20 /usr/bin/sed ${MAN_SUB} ${.ALLSRC} >${.TARGET}
21
22CLEANFILES+= sort.1
23
24.if !defined(WITHOUT_THREADS)
24.if defined(WITH_THREADS)
25CFLAGS+= -DSORT_THREADS
26LDFLAGS+= -lpthread -lmd
27MAN_SUB+= -e 's|%%THREADS%%||g'
28.else
29LDFLAGS+= -lmd
30MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
31.endif
32
33.if !defined(WITHOUT_NLS)
34NLS+= hu_HU.ISO8859-2
35NLSSRCFILES= ${NLS:S@$@.msg@}
36MAN_SUB+= -e 's|%%NLS%%||g'
37.for lang in ${NLS}
38NLSSRCDIR_${lang}= ${.CURDIR}/nls
39.endfor
40.else
41CFLAGS+= -DWITHOUT_NLS
25CFLAGS+= -DSORT_THREADS
26LDFLAGS+= -lpthread -lmd
27MAN_SUB+= -e 's|%%THREADS%%||g'
28.else
29LDFLAGS+= -lmd
30MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
31.endif
32
33.if !defined(WITHOUT_NLS)
34NLS+= hu_HU.ISO8859-2
35NLSSRCFILES= ${NLS:S@$@.msg@}
36MAN_SUB+= -e 's|%%NLS%%||g'
37.for lang in ${NLS}
38NLSSRCDIR_${lang}= ${.CURDIR}/nls
39.endfor
40.else
41CFLAGS+= -DWITHOUT_NLS
42MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
42MAN_SUB+= -e 's|%%NLS%%|\.\\"|g'
43.endif
44
45.include <bsd.prog.mk>
43.endif
44
45.include <bsd.prog.mk>