[GRASS-SVN] r30995 - grass/trunk/imagery

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 14 20:29:20 EDT 2008


Author: hamish
Date: 2008-04-14 20:29:20 -0400 (Mon, 14 Apr 2008)
New Revision: 30995

Modified:
   grass/trunk/imagery/Makefile
Log:
only compile modules needing Xmons if we have X11

Modified: grass/trunk/imagery/Makefile
===================================================================
--- grass/trunk/imagery/Makefile	2008-04-15 00:24:43 UTC (rev 30994)
+++ grass/trunk/imagery/Makefile	2008-04-15 00:29:20 UTC (rev 30995)
@@ -3,7 +3,6 @@
 SUBDIRS1 = \
 	i.ask \
 	i.atcorr \
-	i.class \
 	i.cluster \
 	i.find \
 	i.gensig \
@@ -11,13 +10,10 @@
 	i.group \
 	i.his.rgb \
 	i.maxlik \
-	i.ortho.photo \
-	i.points \
 	i.rectify \
 	i.rgb.his \
 	i.smap \
 	i.target \
-	i.vpoints \
 	i.pca \
 	i.cca
 
@@ -25,14 +21,17 @@
 
 FFTWBASED = i.fft i.ifft i.zc
 
+XMONBASED = i.class i.ortho.photo i.points i.vpoints
+
 #compile if FFTW present:
 ifneq ($(strip $(FFTWLIB)),)
-    SUBDIRS2 = $(SUBDIRS1) $(FFTWBASED)
-else
-    SUBDIRS2 = $(SUBDIRS1)
+    SUBDIRS += $(FFTWBASED)
 endif
 
-SUBDIRS = $(SUBDIRS2)
+#compile if interactive Xmons are present:
+ifneq ($(USE_X11),)
+    SUBDIRS += $(XMONBASED)
+endif
 
 PGM = imageryintro
 



More information about the grass-commit mailing list