SF.net SVN: gar:[23707] csw/mgar/pkg/ghostscript/trunk/Makefile

lblume at users.sourceforge.net lblume at users.sourceforge.net
Tue May 27 17:09:51 CEST 2014


Revision: 23707
          http://sourceforge.net/p/gar/code/23707
Author:   lblume
Date:     2014-05-27 15:09:50 +0000 (Tue, 27 May 2014)
Log Message:
-----------
ghostscript/trunk: Add the build of libijs.so

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

Modified: csw/mgar/pkg/ghostscript/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ghostscript/trunk/Makefile	2014-05-27 13:45:50 UTC (rev 23706)
+++ csw/mgar/pkg/ghostscript/trunk/Makefile	2014-05-27 15:09:50 UTC (rev 23707)
@@ -136,6 +136,11 @@
 CONFIGURE_ARGS-32-i386 += --disable-sse2
 CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(MEMORYMODEL)-$(GARCH))
 
+# The arguments used for libijs
+CONFIGURE_ARGS_ijs  = $(DIRPATHS)
+CONFIGURE_ARGS_ijs += --enable-shared
+CONFIGURE_ARGS_ijs += --disable-static
+
 # We want the shared library
 BUILD_ARGS += so
 
@@ -161,4 +166,23 @@
 	rm -rf $(WORKSRC)/freetype
 	rm -rf $(WORKSRC)/expat
 	@$(MAKECOOKIE)
-	
+
+post-configure:
+	# Specific for libijs
+	cd $(WORKSRC)/ijs && ./autogen.sh
+	cd $(WORKSRC)/ijs && \
+		/usr/bin/env -i $(CONFIGURE_ENV) PWD=$(abspath $(WORKSRC)/ijs) \
+		./configure $(CONFIGURE_ARGS_ijs)
+	@$(MAKECOOKIE)
+
+post-build:
+	# Specific for libijs
+	cd $(WORKSRC)/ijs && \
+		 /usr/bin/env -i $(BUILD_ENV) $(MAKE) MAKEFLAGS= $(PARALLELMFLAGS) $(foreach TTT,$(BUILD_OVERRIDE_VARS),$(TTT)="$(BUILD_OVERRIDE_VAR_$(TTT))") $(foreach TTT,$(BUILD_OVERRIDE_DIRS),$(TTT)="$($(TTT))") -C $(OBJDIR) $(BUILD_ARGS_ijs)
+	@$(MAKECOOKIE)
+
+post-install:
+	# Specific for libijs
+	cd $(WORKSRC)/ijs && \
+		/usr/bin/env -i $(INSTALL_ENV) $(MAKE) DESTDIR=$(DESTDIR) $(foreach TTT,$(INSTALL_OVERRIDE_VARS),$(TTT)="$(INSTALL_OVERRIDE_VAR_$(TTT))") $(foreach TTT,$(INSTALL_OVERRIDE_DIRS),$(TTT)="$(DESTDIR)$($(TTT))") -C $(OBJDIR) $(INSTALL_ARGS_ijs) install
+	@$(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