1# $NetBSD: Makefile,v 1.1 2009/05/08 17:28:02 christos Exp $ 2# 3 4USE_FORT?= yes # data driven bugs? 5 6.include <bsd.own.mk> 7 8.include "../Makefile.inc" 9 10LIB= magic 11LIBDPLIBS+= z ${NETBSDSRCDIR}/lib/libz 12 13.if ${MACHINE_ARCH} == "i386" 14# Set lint to exit on warnings 15# XXX: Soon 16#LINTFLAGS+= -w 17.endif 18 19SRCS= magic.c apprentice.c softmagic.c ascmagic.c compress.c \ 20 is_tar.c readelf.c print.c fsmagic.c apptype.c funcs.c \ 21 cdf.c readcdf.c cdf_time.c encoding.c 22MAN= libmagic.3 23MLINKS+= libmagic.3 magic_open.3 \ 24 libmagic.3 magic_close.3 \ 25 libmagic.3 magic_error.3 \ 26 libmagic.3 magic_file.3 \ 27 libmagic.3 magic_buffer.3 \ 28 libmagic.3 magic_setflags.3 \ 29 libmagic.3 magic_check.3 \ 30 libmagic.3 magic_compile.3 \ 31 libmagic.3 magic_load.3 32INCS= magic.h 33INCSDIR= /usr/include 34 35COPTS.softmagic.c = -Wno-format-nonliteral 36 37.include <bsd.lib.mk> 38