[GRASS-SVN] r49426 - grass/branches/develbranch_6/gui

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 29 10:45:56 EST 2011


Author: neteler
Date: 2011-11-29 07:45:56 -0800 (Tue, 29 Nov 2011)
New Revision: 49426

Modified:
   grass/branches/develbranch_6/gui/Makefile
Log:
conditionalize upon TclTk and wxwidgets configuration

Modified: grass/branches/develbranch_6/gui/Makefile
===================================================================
--- grass/branches/develbranch_6/gui/Makefile	2011-11-29 15:40:08 UTC (rev 49425)
+++ grass/branches/develbranch_6/gui/Makefile	2011-11-29 15:45:56 UTC (rev 49426)
@@ -1,9 +1,19 @@
 MODULE_TOPDIR = ..
 
-SUBDIRS = icons images scripts xml tcltk wxpython
+SUBDIRS = icons images scripts xml
 
 include $(MODULE_TOPDIR)/include/Make/Platform.make
 
+#compile if Tcl/Tk present:
+ifneq ($(strip $(TCLTKLIBS)),)
+    SUBDIRS += tcltk
+endif
+
+#compile if wxwidgets present:
+ifneq ($(strip $(WXVERSION)),)
+    SUBDIRS += wxpython
+endif
+
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 
 default: parsubdirs



More information about the grass-commit mailing list