소스 검색

make r.digit and r.out.gdal conditional (sync w devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@31353 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 17 년 전
부모
커밋
e86cdfb422
1개의 변경된 파일10개의 추가작업 그리고 3개의 파일을 삭제
  1. 10 3
      raster/Makefile

+ 10 - 3
raster/Makefile

@@ -19,7 +19,6 @@ SUBDIRS = \
 	r.covar \
 	r.covar \
 	r.cross \
 	r.cross \
 	r.describe \
 	r.describe \
-	r.digit \
 	r.distance \
 	r.distance \
 	r.drain \
 	r.drain \
 	r.fill.dir \
 	r.fill.dir \
@@ -50,7 +49,6 @@ SUBDIRS = \
 	r.out.arc \
 	r.out.arc \
 	r.out.ascii \
 	r.out.ascii \
 	r.out.bin \
 	r.out.bin \
-	r.out.gdal \
 	r.out.gridatb \
 	r.out.gridatb \
 	r.out.mat \
 	r.out.mat \
 	r.out.mpeg \
 	r.out.mpeg \
@@ -112,7 +110,7 @@ SUBDIRS = \
 	simwe \
 	simwe \
 	wildfire
 	wildfire
 
 
-GDALBASED = r.in.gdal
+GDALBASED = r.in.gdal r.out.gdal
 
 
 FFTWBASED = r.surf.fractal
 FFTWBASED = r.surf.fractal
 
 
@@ -122,6 +120,9 @@ CXXBASED = r.terraflow
 
 
 TIFFBASED = r.out.tiff
 TIFFBASED = r.out.tiff
 
 
+XMONBASED = r.digit
+
+
 include $(MODULE_TOPDIR)/include/Make/Platform.make
 include $(MODULE_TOPDIR)/include/Make/Platform.make
 
 
 #compile if GDAL present:
 #compile if GDAL present:
@@ -149,6 +150,12 @@ ifneq ($(strip $(TIFFLIB)),)
     SUBDIRS += $(TIFFBASED)
     SUBDIRS += $(TIFFBASED)
 endif
 endif
 
 
+#compile if interactive Xmons are present:
+ifneq ($(USE_X11),)
+    SUBDIRS += $(XMONBASED)
+endif
+
+
 PGM = rasterintro
 PGM = rasterintro
 
 
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 include $(MODULE_TOPDIR)/include/Make/Dir.make