ab0ea498248bc80fcd981a9acf6d913c0a8c3cd6
[dragonfly.git] / lib / libmagic / Makefile
1 # $DragonFly: src/lib/libmagic/Makefile,v 1.1 2004/12/18 17:18:43 asmodai Exp $
2
3 FILEVER=        4.12
4 SOURCEDIR=      ${.CURDIR}/../../contrib/file-${FILEVER}/src
5 .PATH: ${SOURCEDIR}
6
7 MAGIC=  /usr/share/misc/magic
8
9 LIB=    magic
10 SHLIB_MAJOR=    1
11
12 SRCS=   apprentice.c apptype.c ascmagic.c compress.c fsmagic.c funcs.c\
13         is_tar.c magic.c print.c readelf.c softmagic.c
14 INCS=   magic.h
15
16 CFLAGS+=        -DHAVE_CONFIG_H -DMAGIC=\"${MAGIC}\"
17 CFLAGS+=        -I${.CURDIR} -I${SOURCEDIR}
18
19 .include <bsd.lib.mk>