minix/external/gpl3/gcc/usr.bin/g++/Makefile
Lionel Sambuc 0cdf705cc6 Enable optional GCC install and GCC improvements
-By adding MKGCC=yes and MKGCCCMDS=yes on the make commandline
   it is now possible to compile and install GCC on the system.

   Before doing this, if you are not using the build.sh script,
   you will need to call the fetch scripts in order to retrieve
   the sources of GCC and its dependencies.

 -Reduce difference with NetBSD share/mk

   Move Minix-specific parameters from bsd.gcc.mk to bsd.own.mk,
   which is anyway patched, so that bsd.gcc.mk is now aligned
   on the NetBSD version.

 -Clean libraries dependencies, compiles stdc++ only if gcc is
   also compiled (it is part of the gcc sources)

 -Correct minix.h header sequence, cleanup spec headers.

 -Fix cross-compilation from a 32bit host targeting MINIX/arm

Change-Id: I1b234af18eed4ab5675188244e931b2a2b7bd943
2013-07-12 14:22:03 +02:00

22 lines
367 B
Makefile

# $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}
LINKS+= ${BINDIR}/g++ ${BINDIR}/c++
.include "../Makefile.frontend"
.PATH: ${DIST}/gcc ${DIST}/gcc/cp
.if !defined(__MINIX)
LDADD+= -lintl
DPADD+= ${LIBINTL}
.endif # !defined(__MINIX)