I wrote: > as i.points et al. will never work without interactive X monitors, how > about the attached patch? > > I do not know the correct thing to test for. I saw MINGW in Platform.make > and used that, but would it be better to test if USE_X11 != 1 ?
oops, I put the logic backwards in the patch, but the idea still holds. Hamish
Index: imagery/Makefile =================================================================== --- imagery/Makefile (revision 30609) +++ imagery/Makefile (working copy) @@ -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 ($(MINGW),) + SUBDIRS += $(XMONBASED) +endif PGM = imageryintro
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
