[csw-devel] SF.net SVN: gar:[4720] csw/mgar/gar/v2

valholla at users.sourceforge.net valholla at users.sourceforge.net
Wed May 6 18:16:57 CEST 2009


Revision: 4720
          http://gar.svn.sourceforge.net/gar/?rev=4720&view=rev
Author:   valholla
Date:     2009-05-06 16:16:56 +0000 (Wed, 06 May 2009)

Log Message:
-----------
New Variable STRIP_LIBTOOL

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.conf.mk
    csw/mgar/gar/v2/gar.mk

Modified: csw/mgar/gar/v2/gar.conf.mk
===================================================================
--- csw/mgar/gar/v2/gar.conf.mk	2009-05-06 16:15:09 UTC (rev 4719)
+++ csw/mgar/gar/v2/gar.conf.mk	2009-05-06 16:16:56 UTC (rev 4720)
@@ -39,6 +39,9 @@
 ftp_proxy  ?= 
 export http_proxy ftp_proxy
 
+# Don't strip libtool by default
+STRIP_LIBTOOL ?= 0
+
 # Don't do full-dependency builds by default
 SKIPDEPEND ?= 1
 

Modified: csw/mgar/gar/v2/gar.mk
===================================================================
--- csw/mgar/gar/v2/gar.mk	2009-05-06 16:15:09 UTC (rev 4719)
+++ csw/mgar/gar/v2/gar.mk	2009-05-06 16:16:56 UTC (rev 4720)
@@ -381,6 +381,7 @@
 #CONFIGURE_BUILDDEPS = $(addprefix $(GARDIR)/,$(addsuffix /$(COOKIEROOTDIR)/build.d/install,$(BUILDDEPS)))
 endif
 
+ifneq ($(STRIP_LIBTOOL),1)
 configure: pre-configure $(addprefix configure-,$(MODULATIONS)) post-configure
 	@$(DONADA)
 
@@ -388,7 +389,21 @@
 		$(addprefix srcdep-$(GARDIR)/,$(SOURCEDEPS)) \
 		pre-configure-modulated pre-configure-$(MODULATION) $(CONFIGURE_TARGETS) post-configure-$(MODULATION) post-configure-modulated
 	@$(DONADA)
+else
+configure: pre-configure $(addprefix configure-,$(MODULATIONS)) post-configure strip-libtool
+	@$(DONADA)
 
+configure-modulated: verify-isa patch-modulated $(CONFIGURE_IMGDEPS) $(CONFIGURE_BUILDDEPS) $(CONFIGURE_DEPS) \
+		$(addprefix srcdep-$(GARDIR)/,$(SOURCEDEPS)) \
+		pre-configure-modulated pre-configure-$(MODULATION) $(CONFIGURE_TARGETS) post-configure-$(MODULATION) post-configure-modulated strip-libtool
+	@$(DONADA)
+endif
+
+strip-libtool:
+	@echo '[===== Stripping Libtool =====]'
+	fixlibtool $(WORKSRC)
+	@$(DONADA)
+
 .PHONY: reset-configure reset-configure-modulated
 reconfigure: reset-configure configure
 


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