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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Sep 30 14:38:49 CEST 2010


Revision: 11103
          http://gar.svn.sourceforge.net/gar/?rev=11103&view=rev
Author:   dmichelsen
Date:     2010-09-30 12:38:49 +0000 (Thu, 30 Sep 2010)

Log Message:
-----------
glew: Use CSW libGL

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

Modified: csw/mgar/pkg/glew/trunk/Makefile
===================================================================
--- csw/mgar/pkg/glew/trunk/Makefile	2010-09-30 11:58:02 UTC (rev 11102)
+++ csw/mgar/pkg/glew/trunk/Makefile	2010-09-30 12:38:49 UTC (rev 11103)
@@ -27,14 +27,14 @@
 NOISAEXEC = 1
 BUILD64 = 1
 
-EXTRA_LIB = /usr/openwin/lib
-
 LDOPT-64 = -64
+EXTRA_CFLAGS-sparc = -xcode=pic32
 
-BUILD_OVERRIDE_VARS = CC CFLAGS.EXTRA OPT LDFLAGS.SO
+BUILD_OVERRIDE_VARS = CC CFLAGS.EXTRA OPT LDFLAGS.SO LDFLAGS.EXTRA
 BUILD_OVERRIDE_VAR_CC = $(CC)
-BUILD_OVERRIDE_VAR_CFLAGS.EXTRA = $(CFLAGS) $(CPPFLAGS) -I/usr/openwin/include -xcode=pic32
+BUILD_OVERRIDE_VAR_CFLAGS.EXTRA = $(CFLAGS) $(CPPFLAGS) $(EXTRA_CFLAGS-$(GARCH))
 BUILD_OVERRIDE_VAR_LDFLAGS.SO = -G $(LDOPT-$(MEMORYMODEL))
+BUILD_OVERRIDE_VAR_LDFLAGS.EXTRA = -L$(libdir)
 
 # These are for glew.pc
 BUILD_OVERRIDE_VARS += GLEW_DEST LIBDIR BINDIR INCDIR


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