tools/llvm: Do not build with symbols
[minix3.git] / external / bsd / file / bin / Makefile
blob98c082d083103c6af4789c8131bf2e372de73a1b
1 # $NetBSD: Makefile,v 1.2 2013/03/23 16:15:57 christos Exp $
3 .include <bsd.own.mk>
4 .include <bsd.sys.mk>
6 .include "../Makefile.inc"
8 .if ${MKSHARE} != "no"
9 FILESDIR= ${MFILESDIR}
10 FILES= ${MFILES}
11 .endif
13 PROG= file
14 LDADD+= -lmagic -lz
15 DPADD+= ${LIBMAGIC} ${LIBZ}
16 MAN= file.1 magic.5
18 CLEANFILES+= magic.mgc
19 .if ${MKSHARE} != "no"
20 realall: file magic.mgc
21 .endif
23 LIBMAGIC!= cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
24 CPPFLAGS+=-I${LIBMAGIC}
26 .if ${MKSHARE} != "no"
27 magic.mgc: ${TOOL_MKMAGIC}
28 ${_MKTARGET_CREATE}
29 ${TOOL_MKMAGIC} -C -m ${DIST}/magic/magdir
30 @mv magdir.mgc ${.TARGET}
32 .else
33 magic.mgc:
34 .endif
36 .include <bsd.prog.mk>