SF.net SVN: gar:[22907] csw/mgar/pkg/libsunperf/trunk/Makefile

opk at users.sourceforge.net opk at users.sourceforge.net
Tue Jan 28 11:33:27 CET 2014


Revision: 22907
          http://sourceforge.net/p/gar/code/22907
Author:   opk
Date:     2014-01-28 10:33:25 +0000 (Tue, 28 Jan 2014)
Log Message:
-----------
rearrange sparc32 libsunperf.so to use the same structure as for a Solaris
Studio installation so the RUNPATH, which uses $ORIGIN, will work.

Modified Paths:
--------------
    csw/mgar/pkg/libsunperf/trunk/Makefile

Modified: csw/mgar/pkg/libsunperf/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libsunperf/trunk/Makefile	2014-01-27 20:42:03 UTC (rev 22906)
+++ csw/mgar/pkg/libsunperf/trunk/Makefile	2014-01-28 10:33:25 UTC (rev 22907)
@@ -51,13 +51,20 @@
 
 include gar/category.mk
 
-
 SRCDIR-sparcv9 = v9
 SRCDIR-amd64   = amd64
 
-install-custom:
+install-custom-i386:
 	ginstall -d $(DESTDIR)$(libdir)
-	$(foreach L,$(FLIBS-$(GARCH)),if [ -f $(SOS12_CC_HOME)/lib/$L ]; then ginstall $(SOS12_CC_HOME)/lib/$L $(DESTDIR)$(libdir)/$L; fi;)
+	$(foreach L,$(FLIBS-$(GARCH)),if [ -f $(SOS12_CC_HOME)/lib/$L ]; then ginstall $(SOS12_CC_HOME)/lib/$L $(DESTDIR)$(libdir)$(ISA_SS32-$(GARCH))/$L; fi;)
+
+install-custom-sparc:
+	ginstall -d $(DESTDIR)$(libdir)
+	ginstall -d $(DESTDIR)$(libdir)/v8
+	ln -s v8/$(FLIBS-sparc) $(DESTDIR)$(libdir)/$(FLIBS-sparc)
+	$(foreach L,$(FLIBS-$(GARCH)),if [ -f $(SOS12_CC_HOME)/lib/$L ]; then ginstall $(SOS12_CC_HOME)/lib/$L $(DESTDIR)$(libdir)$(ISA_SS32-$(GARCH))/v8/$L; fi;)
+
+install-custom: install-custom-$(GARCH)
 	ginstall -d $(DESTDIR)$(libdir)/$(ISA_DEFAULT64)
 	$(foreach L,$(FLIBS-$(GARCH)),if [ -f $(SOS12_CC_HOME)/lib/$(SRCDIR-$(ISA_DEFAULT64))/$L ]; then ginstall $(SOS12_CC_HOME)/lib/$(SRCDIR-$(ISA_DEFAULT64))/$L $(DESTDIR)$(libdir)/$(ISA_DEFAULT64)/$L; fi;)
 	@$(MAKECOOKIE)

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