[csw-devel] SF.net SVN: gar:[13004] csw/mgar/pkg/gmt/trunk/Makefile

gadavis at users.sourceforge.net gadavis at users.sourceforge.net
Tue Jan 18 21:03:13 CET 2011


Revision: 13004
          http://gar.svn.sourceforge.net/gar/?rev=13004&view=rev
Author:   gadavis
Date:     2011-01-18 20:03:12 +0000 (Tue, 18 Jan 2011)

Log Message:
-----------
Banish GMT's private libs to their own tree

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

Modified: csw/mgar/pkg/gmt/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gmt/trunk/Makefile	2011-01-18 16:22:15 UTC (rev 13003)
+++ csw/mgar/pkg/gmt/trunk/Makefile	2011-01-18 20:03:12 UTC (rev 13004)
@@ -46,6 +46,11 @@
 #WORKSRC = $(WORKDIR)/GMT$(VERSION)
 DISTNAME = GMT$(GMT_VERSION)
 
+## Banish the unversioned shared objects to their own tree
+libdir_32 = /opt/csw/lib/gmt
+libdir_64 = /opt/csw/lib/gmt/$(ISA_DEFAULT64)
+EXTRA_LDFLAGS += -R /opt/csw/lib/gmt/$(MM_LIBDIR)
+
 ## Arguments passed to the ./configure script. Configure ignores the various
 ## environment variables so we have to pass CFLAGS and friends
 CONFIGURE_ARGS += NETCDF_LIB=$(libdir)
@@ -70,3 +75,9 @@
 
 LICENSE = LICENSE.TXT
 include gar/category.mk
+
+post-merge:
+	@echo Creating architecture symlinks
+	ln -s $(ISA_DEFAULT) $(DESTDIR)/opt/csw/lib/gmt/32
+	ln -s $(ISA_DEFAULT64) $(DESTDIR)/opt/csw/lib/gmt/64
+	@$(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