Home | History | Annotate | Line # | Download | only in mkext
Makefile revision 1.2
      1 #	$NetBSD: Makefile,v 1.2 2011/04/29 08:33:02 plunky Exp $
      2 
      3 #
      4 # this is really part of ccom, but HOSTPROG and PROG don't mix
      5 #
      6 
      7 .include <bsd.init.mk>
      8 
      9 .PATH:	${PCC_DIST}/mip \
     10 	${PCC_DIST}/arch/${TARGMACH}
     11 
     12 HOSTPROG=	mkext
     13 MAN=
     14 SRCS=		mkext.c table.c common.c
     15 
     16 HOST_CPPFLAGS+=	-DMKEXT
     17 HOST_CPPFLAGS+=	-DGCC_COMPAT
     18 HOST_CPPFLAGS+=	-Dos_${TARGOS}
     19 HOST_CPPFLAGS+=	-Dmach_${TARGMACH}
     20 HOST_CPPFLAGS+=	-I${PCC_DIST}/mip
     21 HOST_CPPFLAGS+=	-I${PCC_DIST}/arch/${TARGMACH}
     22 HOST_CPPFLAGS+=	-I${PCC_DIR}/include
     23 
     24 .include <bsd.hostprog.mk>
     25