1 | prefix=@prefix@ |
---|
2 | exec_prefix=@exec_prefix@ |
---|
3 | PREFIX=@prefix@ |
---|
4 | INST_LIB=@libdir@ |
---|
5 | INST_INCLUDE=@includedir@ |
---|
6 | VERSION=1.5 |
---|
7 | REVISION=0 |
---|
8 | EXT=so |
---|
9 | DEFAULT_OPTS=-Wl,-soname,libzoo_service.so.${VERSION} |
---|
10 | OS:=$(shell uname -s) |
---|
11 | ifeq ($(OS),Darwin) |
---|
12 | MACOS_LD_FLAGS=-lintl |
---|
13 | MACOS_LD_NET_FLAGS=-framework SystemConfiguration -framework CoreFoundation |
---|
14 | MACOS_CFLAGS=-arch $(shell uname -m) |
---|
15 | EXT=dylib |
---|
16 | DEFAULT_OPTS=-Wl,-compatibility_version,${VERSION},-current_version,${VERSION},-install_name,${DESTDIR}${INST_LIB}/libzoo_service.${VERSION}.${REVISION}.dylib |
---|
17 | LIBZOO_SERVICE=libzoo_service.${VERSION}.${REVISION}.${EXT} |
---|
18 | else |
---|
19 | LIBZOO_SERVICE=libzoo_service.${EXT}.${VERSION} |
---|
20 | endif |
---|
21 | |
---|
22 | CGI_DIR=@CGI_DIR@ |
---|
23 | |
---|
24 | FCGI_CFLAGS=@FCGI_CPPFLAGS@ |
---|
25 | FCGI_LDFLAGS=@FCGI_LDFLAGS@ |
---|
26 | |
---|
27 | YAML_CFLAGS=@YAML_CPPFLAGS@ |
---|
28 | YAML_LDFLAGS=@YAML_LDFLAGS@ |
---|
29 | YAML_FILE=@YAML_FILE@ |
---|
30 | YAML_FILE1=@YAML_FILE1@ |
---|
31 | |
---|
32 | JSON_CFLAGS=@JSON_CPPFLAGS@ |
---|
33 | JSON_LDFLAGS=@JSON_LDFLAGS@ |
---|
34 | JSON_FILE=@JSON_FILE@ |
---|
35 | |
---|
36 | METADB_ENABLED=@METADB@ |
---|
37 | METADB_FILE=@METADB_FILE@ |
---|
38 | |
---|
39 | |
---|
40 | GDAL_CFLAGS=@GDAL_CFLAGS@ |
---|
41 | GDAL_LIBS=@GDAL_LIBS@ |
---|
42 | |
---|
43 | XML2CFLAGS=@XML2_CPPFLAGS@ |
---|
44 | XML2LDFLAGS=@XML2_LDFLAGS@ |
---|
45 | |
---|
46 | XSLT_CFLAGS=@XSLT_CPPFLAGS@ |
---|
47 | XSLT_LDFLAGS=@XSLT_LDFLAGS@ |
---|
48 | |
---|
49 | GEOS_CFLAGS=@GEOS_CPPFLAGS@ |
---|
50 | GEOS_LDFLAGS=@GEOS_LDFLAGS@ |
---|
51 | |
---|
52 | CGAL_CFLAGS=@CGAL_CPPFLAGS@ |
---|
53 | CGAL_LDFLAGS=@CGAL_LDFLAGS@ |
---|
54 | |
---|
55 | PYTHONCFLAGS=@PYTHON_CPPFLAGS@ |
---|
56 | PYTHONLDFLAGS=@PYTHON_LDFLAGS@ |
---|
57 | PYTHON_ENABLED=@PYTHON_ENABLED@ |
---|
58 | PYTHON_FILE=@PYTHON_FILE@ |
---|
59 | |
---|
60 | RCFLAGS=@R_CPPFLAGS@ |
---|
61 | RLDFLAGS=@R_LDFLAGS@ |
---|
62 | R_ENABLED=@R_ENABLED@ |
---|
63 | R_FILE=@R_FILE@ |
---|
64 | |
---|
65 | RUBYCFLAGS=@RUBY_CPPFLAGS@ |
---|
66 | RUBYLDFLAGS=@RUBY_LDFLAGS@ |
---|
67 | RUBY_ENABLED=@RUBY_ENABLED@ |
---|
68 | RUBY_FILE=@RUBY_FILE@ |
---|
69 | |
---|
70 | JS_ENABLED=@JS_ENABLED@ |
---|
71 | JSCFLAGS=@JS_CPPFLAGS@ |
---|
72 | JSLDFLAGS=@JS_LDFLAGS@ |
---|
73 | JS_FILE=@JS_FILE@ |
---|
74 | ifeq ($(JS_ENABLED),-DUSE_JS) |
---|
75 | JS_LDFLAGS=${ZRPATH}/zoo-kernel/ulinet.o ${ZRPATH}/zoo-kernel/service_internal_js.o -lcurl |
---|
76 | endif |
---|
77 | |
---|
78 | MS_CFLAGS=@MS_CFLAGS@ |
---|
79 | MS_LDFLAGS=@MS_LIBS@ |
---|
80 | MS_FILE=@MS_FILE@ |
---|
81 | |
---|
82 | ZOO_CFLAGS=-I${ZRPATH}/../thirds/cgic206/ -I${ZRPATH}/zoo-kernel/ |
---|
83 | ZOO_LDFLAGS=@OPENSSL_LDFLAGS@ @UUID_LDFLAGS@ |
---|
84 | |
---|
85 | JAVACFLAGS=@JAVA_CPPFLAGS@ |
---|
86 | JAVALDFLAGS=@JAVA_LDFLAGS@ |
---|
87 | JAVA_ENABLED=@JAVA_ENABLED@ |
---|
88 | JAVA_FILE=@JAVA_FILE@ |
---|
89 | |
---|
90 | PHPCFLAGS=@PHP_CPPFLAGS@ |
---|
91 | PHPLDFLAGS=@PHP_LDFLAGS@ |
---|
92 | PHP_ENABLED=@PHP_ENABLED@ |
---|
93 | PHP_FILE=@PHP_FILE@ |
---|
94 | |
---|
95 | PERLCFLAGS=@PERL_CPPFLAGS@ |
---|
96 | PERLLDFLAGS=@PERL_LDFLAGS@ |
---|
97 | PERL_ENABLED=@PERL_ENABLED@ |
---|
98 | PERL_FILE=@PERL_FILE@ |
---|
99 | |
---|
100 | HPCCFLAGS=@SSH2_CPPFLAGS@ @HPC_CPPFLAGS@ |
---|
101 | HPCLDFLAGS=@SSH2_LDFLAGS@ @HPC_LDFLAGS@ |
---|
102 | HPC_ENABLED=@HPC_ENABLED@ |
---|
103 | HPC_FILES=@HPC_FILES@ |
---|
104 | |
---|
105 | CALLBACK_FILE=@CALLBACK_FILE@ |
---|
106 | CALLBACK_USE=@CALLBACK_USE@ |
---|
107 | |
---|
108 | OTBCFLAGS=@OTB_CPPFLAGS@ |
---|
109 | OTBLDFLAGS=@OTB_LDFLAGS@ |
---|
110 | OTB_ENABLED=@OTB_ENABLED@ |
---|
111 | OTB_FILE=@OTB_FILE@ |
---|
112 | |
---|
113 | SAGA_CFLAGS=@SAGA_CPPFLAGS@ |
---|
114 | SAGA_LDFLAGS=@SAGA_LDFLAGS@ |
---|
115 | SAGA_ENABLED=@SAGA_ENABLED@ |
---|
116 | SAGA_FILE=@SAGA_FILE@ |
---|
117 | |
---|
118 | MONO_CFLAGS=@MONO_CFLAGS@ |
---|
119 | MONO_LDFLAGS=@MONO_LDFLAGS@ |
---|
120 | MONO_ENABLED=@MONO_ENABLED@ |
---|
121 | MONO_FILE=@MONO_FILE@ |
---|
122 | |
---|
123 | CFLAGS=@CALLBACK_USE@ @SSH2_CPPFLAGS@ @PROJ_CPPFLAGS@ @RELY_ON_DB@ @DEB_DEF@ -fpic @OPENSSL_CFLAGS@ @UUID_CFLAGS@ ${FCGI_CFLAGS} ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF |
---|
124 | LDFLAGS=-lzoo_service @SSH2_LDFLAGS@ @PROJ_LDFLAGS@ @DEFAULT_LIBS@ -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS} ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} ${FCGI_LDFLAGS} @OPENSSL_LDFLAGS@ @UUID_LDFLAGS@ ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} ${OTBLDFLAGS} ${SAGA_LDFLAGS} ${MONO_LDFLAGS} ${RLDFLAGS} @JSON_LDFLAGS@ @XSLT_LDFLAGS@ |
---|
125 | |
---|
126 | DATAROOTDIR=@datarootdir@/zoo-project |
---|
127 | SHAREDSTATEDIR=@sharedstatedir@/zoo-project |
---|