File: GNUmakefile

package info (click to toggle)
gdal 3.2.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 104,864 kB
  • sloc: cpp: 1,120,399; ansic: 184,132; python: 25,552; perl: 7,931; sh: 7,217; java: 5,382; xml: 3,609; cs: 2,418; yacc: 1,081; makefile: 519; sql: 112
file content (26 lines) | stat: -rw-r--r-- 649 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26


include ../../GDALmake.opt

OBJ	=	grass.o

CPPFLAGS	:=	 -DGRASS_GISBASE=\"$(GRASS_GISBASE)\" $(GRASS_INCLUDE) $(PROJ_INCLUDE) $(CPPFLAGS)

default:	$(OBJ:.o=.$(OBJ_EXT))

clean:
	rm -f *.o $(O_OBJ) $(OBJ)
	rm -f *~

install-obj:	$(O_OBJ:.o=.$(OBJ_EXT))

dist:
	cp -r pkg libgdal-grass-$(GDAL_VER)
	cp grass.cpp libgdal-grass-$(GDAL_VER)
	cp ../../ogr/ogrsf_frmts/grass/*.cpp libgdal-grass-$(GDAL_VER)
	cp ../../ogr/ogrsf_frmts/grass/*.h libgdal-grass-$(GDAL_VER)
	# Adding VERSION to distribution
	cp ../../VERSION libgdal-grass-$(GDAL_VER)
	tar czvf libgdal-grass-$(GDAL_VER).tar.gz ./libgdal-grass-$(GDAL_VER)
	rm -rf libgdal-grass-$(GDAL_VER)