Remove building with NOCRYPTO option
[minix.git] / external / bsd / file / bin / Makefile
blobb2a842332bfca87a1087c269f63c120b86b0970b
1 # $NetBSD: Makefile,v 1.3 2014/01/16 01:15:33 christos Exp $
3 .include <bsd.own.mk>
5 .include "../Makefile.inc"
7 .if ${MKSHARE} != "no"
8 FILESDIR= ${MFILESDIR}
9 FILES= ${MFILES}
10 .endif
12 PROG= file
13 LDADD+= -lmagic -lz
14 DPADD+= ${LIBMAGIC} ${LIBZ}
15 MAN= file.1 magic.5
17 CLEANFILES+= magic.mgc
18 .if ${MKSHARE} != "no"
19 realall: file magic.mgc
20 .endif
22 LIBMAGIC!= cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
23 CPPFLAGS+=-I${LIBMAGIC}
25 .if ${MKSHARE} != "no"
26 magic.mgc: ${TOOL_MKMAGIC}
27 ${_MKTARGET_CREATE}
28 ${TOOL_MKMAGIC} -C -m ${DIST}/magic/magdir
29 @mv magdir.mgc ${.TARGET}
31 .else
32 magic.mgc:
33 .endif
35 .include <bsd.prog.mk>