1MODULE_TOPDIR = ../..
2
3PGM=g.version
4
5# cat the COPYING file, add a c line-break \n at each line end
6# and remove the unix newline (see: include/Makefile)
7
8EXTRA_CFLAGS = $(PROJINC) $(GDALCFLAGS) $(GEOSCFLAGS) $(SQLITEINCPATH) \
9	-DGRASS_VERSION_NUMBER=\"'$(GRASS_VERSION_NUMBER)'\" \
10	-DGRASS_VERSION_DATE=\"'$(GRASS_VERSION_DATE)'\" \
11	-DGRASS_VERSION_GIT=\"'$(GRASS_VERSION_GIT)'\" \
12	-DGRASS_VERSION_UPDATE_PKG=\"'$(GRASS_VERSION_UPDATE_PKG)'\" \
13	-DARCH=\"'$(ARCH)'\"
14
15LIBES = $(GISLIB) $(GEOSLIBS) $(GDALLIBS)
16DEPENDENCIES = $(GISDEP)
17
18include $(MODULE_TOPDIR)/include/Make/Module.make
19
20default: cmd
21