File: Makefile.in

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 (36 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (6)
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
27
28
29
30
31
32
33
34
35
36
CC	=	@CC@
CXX	=	@CXX@
LD	=	@CXX@

CPPFLAGS = -DFRMT_ecw @GDAL_INC@ @ECW_INCLUDE@ @CPPFLAGS@ 
CXXFLAGS = -DFRMT_ecw @CXX_WFLAGS@ @ECW_INCLUDE@ @CXX_PIC@ 

RANLIB		=	@RANLIB@
SO_EXT		=	@SO_EXT@
LD_SHARED	=	@LD_SHARED@

LIBS	=	@LIBS@

AUTOLOAD_DIR	=	@AUTOLOAD_DIR@

GLIBNAME =	gdal_ECW_JP2ECW.so

default:	$(GLIBNAME) 

install:	default
	install -d $(AUTOLOAD_DIR)
	cp $(GLIBNAME) $(AUTOLOAD_DIR)

clean:
	rm -f $(GLIBNAME) *.o 

distclean: clean
	rm -fr Makefile config.status config.log autom*.cache


$(GLIBNAME):	ecwcreatecopy.o ecwdataset.o jp2userbox.o
	$(LD_SHARED) ecwcreatecopy.o ecwdataset.o jp2userbox.o $(LIBS) -o $(GLIBNAME)

%.o:	%.cpp
	$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<