[csw-devel] SF.net SVN: gar:[5301] csw/mgar/pkg/libgmp/trunk/Makefile
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Thu Jun 18 02:46:05 CEST 2009
Revision: 5301
http://gar.svn.sourceforge.net/gar/?rev=5301&view=rev
Author: valholla
Date: 2009-06-18 00:46:04 +0000 (Thu, 18 Jun 2009)
Log Message:
-----------
checkin
Modified Paths:
--------------
csw/mgar/pkg/libgmp/trunk/Makefile
Modified: csw/mgar/pkg/libgmp/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libgmp/trunk/Makefile 2009-06-17 23:03:32 UTC (rev 5300)
+++ csw/mgar/pkg/libgmp/trunk/Makefile 2009-06-18 00:46:04 UTC (rev 5301)
@@ -25,6 +25,7 @@
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
+GARCOMPILER = GCC4
BUILD64 = 1
EXTRA_BUILD_ISAS_sparc = sparcv8plus sparcv8plus+vis
@@ -37,16 +38,28 @@
MPN_sparcv8plus+vis = "sparc32/v9 sparc32 generic"
MPN_sparcv9 = "sparc64 generic"
+ABI_i386 = 32
+ABI_pentium = 32
+ABI_amd64 = 64
MPN_i386 = "x86 generic"
MPN_pentium = "x86/pentium x86 generic"
MPN_amd64 = "x86_64 generic"
-#CONFIGURE_ARGS = ABI=32 $(DIRPATHS)
-CONFIGURE_ARGS = MPN_PATH=$(MPN_$(ISA)) $(DIRPATHS)
+CONFIGURE_ARGS = ABI=$(ABI_$(ISA)) MPN_PATH=$(MPN_$(ISA)) $(DIRPATHS)
+EXTRA_MERGE_DIRS_isa-sparcv8plus = $(includedir)
+EXTRA_MERGE_DIRS_isa-sparcv8plus+vis = $(includedir)
EXTRA_MERGE_DIRS_isa-sparcv9 = $(includedir)
EXTRA_MERGE_DIRS_isa-amd64 = $(includedir)
+EXTRA_MERGE_DIRS_isa-pentium = $(includedir)
PACKAGES = CSWlibgmp
include gar/category.mk
+ifeq ($(ISA), sparcv8plus)
+ ARCHFLAGS_$(GARCOMPILER)_$(ISA) = -mcpu=v9 -mv8plus
+endif
+ifeq ($(ISA), sparcv8plus+vis)
+ ARCHFLAGS_$(GARCOMPILER)_$(ISA) = -mcpu=v9 -mvis
+endif
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list