Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/lib/libgomp makefile to build libgomp, as ...
details: https://anonhg.NetBSD.org/src/rev/4e571dea9215
branches: trunk
changeset: 769715:4e571dea9215
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Sep 20 02:28:03 2011 +0000
description:
makefile to build libgomp, as needed by "gcc -fopenmp".
needs a full mknative-gcc run before it can be properly enabled.
diffstat:
external/gpl3/gcc/lib/libgomp/Makefile | 56 ++++++++++++++++++++++++++++++++++
1 files changed, 56 insertions(+), 0 deletions(-)
diffs (60 lines):
diff -r 70bd628a5761 -r 4e571dea9215 external/gpl3/gcc/lib/libgomp/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgomp/Makefile Tue Sep 20 02:28:03 2011 +0000
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile,v 1.1 2011/09/20 02:28:03 mrg Exp $
+
+# build GCC's libgomp, so that -fopenmp works.
+
+.include <bsd.own.mk>
+DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
+
+LIB= gomp
+SRCS= \
+ alloc.c \
+ barrier.c \
+ critical.c \
+ env.c \
+ error.c \
+ iter.c \
+ iter_ull.c \
+ loop.c \
+ loop_ull.c \
+ ordered.c \
+ parallel.c \
+ sections.c \
+ single.c \
+ task.c \
+ team.c \
+ work.c \
+ lock.c \
+ mutex.c \
+ proc.c \
+ sem.c \
+ bar.c \
+ ptrlock.c \
+ time.c \
+ fortran.c \
+ affinity.c
+
+CPPFLAGS+= \
+ -DHAVE_CONFIG_H \
+ -I${DIST}/libgomp \
+ -I${DIST}/libgomp/config/posix \
+ -I${DIST}/libgcc \
+ -I${.CURDIR}/arch/${MACHINE_ARCH}
+CFLAGS+=-pthread
+
+# This is where GCC looks for it.
+FILES= libgomp.spec
+FILESDIR= ${LIBDIR}
+
+# libgomp.so.1.0 is in GCC 4.5.
+SHLIB_MAJOR= 1
+SHLIB_MINOR= 0
+
+LDFLAGS+= -Wl,--version-script,${DIST}/libgomp/libgomp.map
+
+.PATH: ${DIST}/libgomp ${DIST}/libgomp/config/posix
+
+.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index