NetBSD/tools/libfdt/Makefile

25 lines
539 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2018/05/01 19:59:47 christos Exp $
2017-06-06 10:45:39 +03:00
HOSTLIB= fdt
.include <bsd.hostinit.mk>
2017-06-06 10:45:39 +03:00
2017-06-08 20:09:29 +03:00
LIBFDT_DIR= ${.CURDIR}/../../sys/external/bsd/libfdt/dist
2017-06-06 10:45:39 +03:00
.include "${LIBFDT_DIR}/Makefile.libfdt"
SRCS= ${LIBFDT_SRCS}
CPPFLAGS+= -I${.CURDIR}/../compat -I${LIBFDT_DIR}
CPPFLAGS+= -I${TOOLDIR}/include/nbinclude
.PATH: ${LIBFDT_DIR}
CPPFLAGS+= -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64
HOST_CPPFLAGS:= ${CPPFLAGS} ${HOST_CPPFLAGS}
CPPFLAGS:= # empty
.include "${.CURDIR}/../Makefile.nbincludes"
.include <bsd.hostlib.mk>