[GRASS-SVN] r55546 - grass-addons/grass6/imagery/i.homography
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 27 03:43:04 PDT 2013
Author: neteler
Date: 2013-03-27 03:43:04 -0700 (Wed, 27 Mar 2013)
New Revision: 55546
Modified:
grass-addons/grass6/imagery/i.homography/Makefile
grass-addons/grass6/imagery/i.homography/global.h
grass-addons/grass6/imagery/i.homography/main.c
grass-addons/grass6/imagery/i.homography/matrix.c
grass-addons/grass6/imagery/i.homography/open.c
grass-addons/grass6/imagery/i.homography/pi.c
Log:
i.homography: fix compilation
Modified: grass-addons/grass6/imagery/i.homography/Makefile
===================================================================
--- grass-addons/grass6/imagery/i.homography/Makefile 2013-03-27 10:42:08 UTC (rev 55545)
+++ grass-addons/grass6/imagery/i.homography/Makefile 2013-03-27 10:43:04 UTC (rev 55546)
@@ -2,6 +2,10 @@
PGM = i.homography
+LIBES = $(GPROJLIB) $(GISLIB)
+DEPENDENCIES = $(GPROJDEP) $(GISDEP)
+EXTRA_INC = $(PROJINC)
+
LIBES = $(IMAGERYLIB) $(GPROJLIB) $(GISLIB) $(VASKLIB) $(CURSES) $(GMATHLIB)
DEPENDENCIES= $(IMAGERYDEP) $(GPROJDEP) $(GISDEP) $(VASKDEP) $(GMATHDEP)
Modified: grass-addons/grass6/imagery/i.homography/global.h
===================================================================
--- grass-addons/grass6/imagery/i.homography/global.h 2013-03-27 10:42:08 UTC (rev 55545)
+++ grass-addons/grass6/imagery/i.homography/global.h 2013-03-27 10:43:04 UTC (rev 55546)
@@ -33,9 +33,9 @@
*****/
-#include "gis.h"
+#include <grass/gis.h>
+#include <grass/site.h>
#include "func.h"
-#include "site.h"
#define PIG 3.141593
Modified: grass-addons/grass6/imagery/i.homography/main.c
===================================================================
--- grass-addons/grass6/imagery/i.homography/main.c 2013-03-27 10:42:08 UTC (rev 55545)
+++ grass-addons/grass6/imagery/i.homography/main.c 2013-03-27 10:43:04 UTC (rev 55546)
@@ -23,10 +23,10 @@
#include <string.h>
#include <unistd.h>
#include <math.h>
-#include "gis.h"
+#include <grass/gis.h>
+#include <grass/imagery.h>
+#include <grass/gprojects.h>
#include "global.h"
-#include "imagery.h"
-#include "gprojects.h"
/* #define DEBUG 1 */
Modified: grass-addons/grass6/imagery/i.homography/matrix.c
===================================================================
--- grass-addons/grass6/imagery/i.homography/matrix.c 2013-03-27 10:42:08 UTC (rev 55545)
+++ grass-addons/grass6/imagery/i.homography/matrix.c 2013-03-27 10:43:04 UTC (rev 55546)
@@ -13,6 +13,8 @@
*/
#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
void product_double_matrix_double_matrix(x,y,r,cr,c,out)
/*
Modified: grass-addons/grass6/imagery/i.homography/open.c
===================================================================
--- grass-addons/grass6/imagery/i.homography/open.c 2013-03-27 10:42:08 UTC (rev 55545)
+++ grass-addons/grass6/imagery/i.homography/open.c 2013-03-27 10:43:04 UTC (rev 55546)
@@ -6,7 +6,7 @@
open new raster maps
*/
-#include "gis.h"
+#include <grass/gis.h>
int open_new_CELL(name)
/*
Modified: grass-addons/grass6/imagery/i.homography/pi.c
===================================================================
--- grass-addons/grass6/imagery/i.homography/pi.c 2013-03-27 10:42:08 UTC (rev 55545)
+++ grass-addons/grass6/imagery/i.homography/pi.c 2013-03-27 10:43:04 UTC (rev 55546)
@@ -1,4 +1,4 @@
-#include "gis.h"
+#include <grass/gis.h>
#include "global.h"
More information about the grass-commit
mailing list