Module Name:    src
Committed By:   mrg
Date:           Tue Jun 21 04:04:14 UTC 2011

Modified Files:
        src/lib: Makefile

Log Message:
add HAVE_GCC=45 support.


To generate a diff of this commit:
cvs rdiff -u -r1.167 -r1.168 src/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/Makefile
diff -u src/lib/Makefile:1.167 src/lib/Makefile:1.168
--- src/lib/Makefile:1.167	Mon May  9 08:51:18 2011
+++ src/lib/Makefile	Tue Jun 21 04:04:13 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.167 2011/05/09 08:51:18 manu Exp $
+#	$NetBSD: Makefile,v 1.168 2011/06/21 04:04:13 mrg Exp $
 #	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -64,7 +64,15 @@
 SUBDIR+=	../gnu/lib/libmalloc
 
 .if (${MKGCC} != "no")
+. if ${HAVE_GCC} == 4
 SUBDIR+=	../gnu/lib/libobjc4
+. endif
+.endif
+
+. if ${HAVE_GCC} >= 45
+SUBDIR+=	../external/lgpl3/gmp/lib/libgmp
+SUBDIR+=	../external/lgpl3/mpfr/lib/libmpfr
+SUBDIR+=	../external/lgpl2/mpc/lib/libmpc
 .endif
 
 #
@@ -107,8 +115,10 @@
 .endif
 
 .if (${MKGCC} != "no" && ${MKCXX} != "no")
+. if ${HAVE_GCC} == 4
 SUBDIR+=	../gnu/lib/libstdc++-v3_4	# depends on libm
 SUBDIR+=	../gnu/lib/libsupc++4
+. endif
 .endif
 
 #==================== 2nd library dependency barrier ====================

Reply via email to