Home | History | Annotate | Line # | Download | only in libfdt
      1 #	$NetBSD: Makefile,v 1.4 2018/05/01 19:59:47 christos Exp $
      2 
      3 HOSTLIB=	fdt
      4 
      5 .include <bsd.hostinit.mk>
      6 
      7 LIBFDT_DIR=	${.CURDIR}/../../sys/external/bsd/libfdt/dist
      8 
      9 .include "${LIBFDT_DIR}/Makefile.libfdt"
     10 
     11 SRCS=	${LIBFDT_SRCS}
     12 
     13 CPPFLAGS+=	-I${.CURDIR}/../compat -I${LIBFDT_DIR}
     14 CPPFLAGS+=	-I${TOOLDIR}/include/nbinclude
     15 
     16 .PATH:		${LIBFDT_DIR}
     17 
     18 CPPFLAGS+=	-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64
     19 
     20 HOST_CPPFLAGS:=	${CPPFLAGS} ${HOST_CPPFLAGS}
     21 CPPFLAGS:=	# empty
     22 
     23 .include "${.CURDIR}/../Makefile.nbincludes"
     24 .include <bsd.hostlib.mk>
     25