1 # $NetBSD: Makefile,v 1.3 2018/05/01 19:59:43 christos Exp $ 2 3 # 4 # this is really part of ccom, but HOSTPROG and PROG don't mix 5 # 6 7 .include <bsd.hostinit.mk> 8 9 .PATH: ${PCC_DIST}/mip \ 10 ${PCC_DIST}/arch/${TARGMACH} 11 12 HOSTPROG= mkext 13 SRCS= mkext.c table.c common.c 14 15 HOST_CPPFLAGS+= -DMKEXT 16 HOST_CPPFLAGS+= -DGCC_COMPAT 17 HOST_CPPFLAGS+= -Dos_${TARGOS} 18 HOST_CPPFLAGS+= -Dmach_${TARGMACH} 19 HOST_CPPFLAGS+= -I${PCC_DIST}/mip 20 HOST_CPPFLAGS+= -I${PCC_DIST}/arch/${TARGMACH} 21 HOST_CPPFLAGS+= -I${PCC_DIR}/include 22 23 .include <bsd.hostprog.mk> 24