NetBSD/tools/pcc/Makefile

19 lines
673 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.2 2011/06/13 12:29:16 plunky Exp $
2008-08-24 09:53:36 +04:00
GNUHOSTDIST= ${.CURDIR}/../../external/bsd/pcc/dist/pcc
CONFIGURE_ENV+= CC=${HOST_CC:Q} \
CFLAGS=${HOST_CFLAGS:Q} \
CPPFLAGS=${HOST_CPPFLAGS:Q} \
CXX=${HOST_CXX:Q}
CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM}
CONFIGURE_ARGS+= --enable-tls
CONFIGURE_ARGS+= --includedir=/usr/include
CONFIGURE_ARGS+= --with-incdir=/usr/include
CONFIGURE_ARGS+= --with-libdir=/usr/lib
2008-08-24 09:53:36 +04:00
CONFIGURE_ARGS+= --with-assembler=${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-as
CONFIGURE_ARGS+= --with-linker=${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ld
.include "${.CURDIR}/../Makefile.gnuhost"