[GRASS-SVN] r31326 - grass/trunk/visualization

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 12 18:11:36 EDT 2008


Author: glynn
Date: 2008-05-12 18:11:36 -0400 (Mon, 12 May 2008)
New Revision: 31326

Modified:
   grass/trunk/visualization/Makefile
Log:
Don't compile NVIZ if Tcl/Tk isn't enabled


Modified: grass/trunk/visualization/Makefile
===================================================================
--- grass/trunk/visualization/Makefile	2008-05-12 22:11:03 UTC (rev 31325)
+++ grass/trunk/visualization/Makefile	2008-05-12 22:11:36 UTC (rev 31326)
@@ -2,19 +2,18 @@
 
 SUBDIRS =
 
-OPENGLBASED = nviz
-MOTIFBASED = xganim
-
 include $(MODULE_TOPDIR)/include/Make/Platform.make
 
-#compile if OPENGLBASED present:
+#compile if OpenGL and Tcl/Tk present:
 ifneq ($(strip $(OPENGLLIB)),)
-    SUBDIRS += $(OPENGLBASED)
+ifneq ($(strip $(TCLTKLIBS)),)
+    SUBDIRS += nviz
 endif
+endif
 
-#compile if MOTIFBASED present:
+#compile if Motif present:
 ifneq ($(strip $(XMLIB)),)
-    SUBDIRS += $(MOTIFBASED)
+    SUBDIRS += xganim
 endif
 
 include $(MODULE_TOPDIR)/include/Make/Dir.make



More information about the grass-commit mailing list