Cross Reference: Makefile
xref: /src/tools/pcc/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/tools/pcc/
Makefile revision 1.2
1# $NetBSD: Makefile,v 1.2 2011/06/13 12:29:16 plunky Exp $
2
3GNUHOSTDIST=	${.CURDIR}/../../external/bsd/pcc/dist/pcc
4
5CONFIGURE_ENV+= CC=${HOST_CC:Q} \
6                CFLAGS=${HOST_CFLAGS:Q} \
7                CPPFLAGS=${HOST_CPPFLAGS:Q} \
8                CXX=${HOST_CXX:Q}
9
10CONFIGURE_ARGS=		--target=${MACHINE_GNU_PLATFORM}
11CONFIGURE_ARGS+=	--enable-tls
12CONFIGURE_ARGS+=	--includedir=/usr/include
13CONFIGURE_ARGS+=	--with-incdir=/usr/include
14CONFIGURE_ARGS+=	--with-libdir=/usr/lib
15CONFIGURE_ARGS+=	--with-assembler=${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-as
16CONFIGURE_ARGS+=	--with-linker=${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ld
17
18.include "${.CURDIR}/../Makefile.gnuhost"
19

Indexes created Tue Dec 16 05:09:39 GMT 2025