vm: merge i386 and arm pagetable code
[minix.git] / external / bsd / file / bin / Makefile
blob43178a1e90347fac81e215edda968f05cfe8c868
1 # $NetBSD: Makefile,v 1.1 2009/05/08 17:28:01 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+= -L../lib -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 .if ${MKSHARE} != "no"
24 magic.mgc: ${TOOL_MKMAGIC}
25 ${_MKTARGET_CREATE}
26 ${TOOL_MKMAGIC} -C -m ${DIST}/magic/magdir
27 @mv magdir.mgc ${.TARGET}
29 .else
30 magic.mgc:
31 .endif
33 .include <bsd.prog.mk>