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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jun 10 15:01:31 CEST 2011


Revision: 14780
          http://gar.svn.sourceforge.net/gar/?rev=14780&view=rev
Author:   dmichelsen
Date:     2011-06-10 13:01:31 +0000 (Fri, 10 Jun 2011)

Log Message:
-----------
scintilla: Builds now

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

Modified: csw/mgar/pkg/scintilla/trunk/Makefile
===================================================================
--- csw/mgar/pkg/scintilla/trunk/Makefile	2011-06-10 12:29:39 UTC (rev 14779)
+++ csw/mgar/pkg/scintilla/trunk/Makefile	2011-06-10 13:01:31 UTC (rev 14780)
@@ -16,10 +16,32 @@
 
 LICENSE = License.txt
 
+WORKSRC = $(WORKDIR)/$(DISTNAME)/gtk
+
 BUILD64 = 1
 CONFIGURE_ARGS = $(DIRPATHS)
 
 # Ugh, manual makefile.
+CONFIGURE_SCRIPTS =
 
+BUILD_OVERRIDE_VARS = CCOMP CC CONFIGFLAGS CXXFLAGS
+BUILD_OVERRIDE_VAR_CCOMP = $(CC)
+BUILD_OVERRIDE_VAR_CC = $(CXX)
+BUILD_OVERRIDE_VAR_CONFIGFLAGS = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(bindir_install)/pkg-config --cflags gtk+-2.0)
+BUILD_OVERRIDE_VAR_CXXFLAGS = -DGTK -DSCI_LEXER -I ../include -I ../src -I ../lexlib $(CXXFLAGS)
+
+TEST_SCRIPTS =
+
+INSTALL_SCRIPTS = custom
+
 include gar/category.mk
 
+install-custom:
+	mkdir -p $(DESTDIR)$(includedir)
+	cp $(WORKDIR)/$(DISTNAME)/include/* $(DESTDIR)$(includedir)
+	mkdir -p $(DESTDIR)$(libdir)
+	cd $(WORKDIR)/$(DISTNAME)/bin && ld -G -z allextract -h scintilla.so.2 scintilla.a  -o $(DESTDIR)$(libdir)/libscintilla.so.2.26
+	ln -s libscintilla.so.2.26 $(DESTDIR)$(libdir)/libscintilla.so.2
+	ln -s libscintilla.so.2.26 $(DESTDIR)$(libdir)/libscintilla.so
+	@$(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