Use the more commonly used SRCDIR instead of SOURCEDIR, does not seem to
[dragonfly.git] / lib / libmagic / Makefile
1 # $DragonFly: src/lib/libmagic/Makefile,v 1.2 2004/12/18 17:22:54 asmodai Exp $
2
3 FILEVER=        4.12
4 SRCDIR= ${.CURDIR}/../../contrib/file-${FILEVER}/src
5 .PATH: ${SRCDIR}
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${SRCDIR}
18
19 .include <bsd.lib.mk>