2012-06-06 15:06:52 +02:00
|
|
|
# $NetBSD: Makefile,v 1.2 2011/06/29 02:00:09 mrg Exp $
|
|
|
|
|
|
|
|
PROG= gplusplus
|
|
|
|
PROGNAME= g++
|
|
|
|
SRCS= g++spec.c
|
|
|
|
|
|
|
|
NOMAN= # defined
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${BACKENDOBJ}
|
|
|
|
|
2014-01-28 10:48:19 +01:00
|
|
|
.if defined(__MINIX)
|
|
|
|
.if ${HAVE_LLVM:Uno} == "no"
|
|
|
|
SYMLINKS+= g++ ${BINDIR}/c++
|
|
|
|
.endif # ${HAVE_LLVM:Uno} == "no"
|
|
|
|
.else
|
2012-06-06 15:06:52 +02:00
|
|
|
LINKS+= ${BINDIR}/g++ ${BINDIR}/c++
|
2014-01-28 10:48:19 +01:00
|
|
|
.endif # defined(__MINIX)
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
.include "../Makefile.frontend"
|
|
|
|
|
|
|
|
.PATH: ${DIST}/gcc ${DIST}/gcc/cp
|
|
|
|
|
2013-04-24 18:57:59 +02:00
|
|
|
.if !defined(__MINIX)
|
2012-06-06 15:06:52 +02:00
|
|
|
LDADD+= -lintl
|
|
|
|
DPADD+= ${LIBINTL}
|
2013-04-24 18:57:59 +02:00
|
|
|
.endif # !defined(__MINIX)
|