minix/external/gpl3/gcc/lib/libgcc/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

17 lines
303 B
Makefile

# $NetBSD: Makefile,v 1.1 2011/06/21 06:02:25 mrg Exp $
SUBDIR+= libgcc
.include <bsd.own.mk>
.if ${MKGCCCMDS} == "yes"
.if ${MKPIC} != "no"
SUBDIR+= libgcc_eh libgcc_s
.endif
.endif # ${MKGCCCMDS} == "yes"
.if !defined(__MINIX)
SUBDIR+= libgcov
.endif # !defined(__MINIX)
.include <bsd.subdir.mk>