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 | GDAL_CFLAGS=@GDAL_CFLAGS@ |
---|
33 | GDAL_LIBS=@GDAL_LIBS@ |
---|
34 | |
---|
35 | XML2CFLAGS=@XML2_CPPFLAGS@ |
---|
36 | XML2LDFLAGS=@XML2_LDFLAGS@ |
---|
37 | |
---|
38 | XSLT_CFLAGS=@XSLT_CPPFLAGS@ |
---|
39 | XSLT_LDFLAGS=@XSLT_LDFLAGS@ |
---|
40 | |
---|
41 | GEOS_CFLAGS=@GEOS_CPPFLAGS@ |
---|
42 | GEOS_LDFLAGS=@GEOS_LDFLAGS@ |
---|
43 | |
---|
44 | CGAL_CFLAGS=@CGAL_CPPFLAGS@ |
---|
45 | CGAL_LDFLAGS=@CGAL_LDFLAGS@ |
---|
46 | |
---|
47 | PYTHONCFLAGS=@PYTHON_CPPFLAGS@ |
---|
48 | PYTHONLDFLAGS=@PYTHON_LDFLAGS@ |
---|
49 | PYTHON_ENABLED=@PYTHON_ENABLED@ |
---|
50 | PYTHON_FILE=@PYTHON_FILE@ |
---|
51 | |
---|
52 | RUBYCFLAGS=@RUBY_CPPFLAGS@ |
---|
53 | RUBYLDFLAGS=@RUBY_LDFLAGS@ |
---|
54 | RUBY_ENABLED=@RUBY_ENABLED@ |
---|
55 | RUBY_FILE=@RUBY_FILE@ |
---|
56 | |
---|
57 | JS_ENABLED=@JS_ENABLED@ |
---|
58 | JSCFLAGS=@JS_CPPFLAGS@ |
---|
59 | JSLDFLAGS=@JS_LDFLAGS@ |
---|
60 | JS_FILE=@JS_FILE@ |
---|
61 | ifeq ($(JS_ENABLED),-DUSE_JS) |
---|
62 | JS_LDFLAGS=${ZRPATH}/zoo-kernel/ulinet.o ${ZRPATH}/zoo-kernel/service_internal_js.o -lcurl |
---|
63 | endif |
---|
64 | |
---|
65 | MS_CFLAGS=@MS_CFLAGS@ |
---|
66 | MS_LDFLAGS=@MS_LIBS@ |
---|
67 | MS_FILE=@MS_FILE@ |
---|
68 | |
---|
69 | ZOO_CFLAGS=-I${ZRPATH}/../thirds/cgic206/ -I${ZRPATH}/zoo-kernel/ |
---|
70 | ZOO_LDFLAGS=@OPENSSL_LDFLAGS@ -luuid |
---|
71 | |
---|
72 | JAVACFLAGS=@JAVA_CPPFLAGS@ |
---|
73 | JAVALDFLAGS=@JAVA_LDFLAGS@ |
---|
74 | JAVA_ENABLED=@JAVA_ENABLED@ |
---|
75 | JAVA_FILE=@JAVA_FILE@ |
---|
76 | |
---|
77 | PHPCFLAGS=@PHP_CPPFLAGS@ |
---|
78 | PHPLDFLAGS=@PHP_LDFLAGS@ |
---|
79 | PHP_ENABLED=@PHP_ENABLED@ |
---|
80 | PHP_FILE=@PHP_FILE@ |
---|
81 | |
---|
82 | |
---|
83 | PERLCFLAGS=@PERL_CPPFLAGS@ |
---|
84 | PERLLDFLAGS=@PERL_LDFLAGS@ |
---|
85 | PERL_ENABLED=@PERL_ENABLED@ |
---|
86 | PERL_FILE=@PERL_FILE@ |
---|
87 | |
---|
88 | OTBCFLAGS=@OTB_CPPFLAGS@ |
---|
89 | OTBLDFLAGS=@OTB_LDFLAGS@ |
---|
90 | OTB_ENABLED=@OTB_ENABLED@ |
---|
91 | OTB_FILE=@OTB_FILE@ |
---|
92 | |
---|
93 | SAGA_CFLAGS=@SAGA_CPPFLAGS@ |
---|
94 | SAGA_LDFLAGS=@SAGA_LDFLAGS@ |
---|
95 | SAGA_ENABLED=@SAGA_ENABLED@ |
---|
96 | SAGA_FILE=@SAGA_FILE@ |
---|
97 | |
---|
98 | MONO_CFLAGS=@MONO_CFLAGS@ |
---|
99 | MONO_LDFLAGS=@MONO_LDFLAGS@ |
---|
100 | MONO_ENABLED=@MONO_ENABLED@ |
---|
101 | MONO_FILE=@MONO_FILE@ |
---|
102 | |
---|
103 | CFLAGS=@RELY_ON_DB@ @DEB_DEF@ -fpic @OPENSSL_CFLAGS@ ${FCGI_CFLAGS} ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF |
---|
104 | LDFLAGS=-lzoo_service @DEFAULT_LIBS@ -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS} ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} ${FCGI_LDFLAGS} @OPENSSL_LDFLAGS@ -luuid ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} ${OTBLDFLAGS} ${SAGA_LDFLAGS} ${MONO_LDFLAGS} |
---|
105 | |
---|
106 | DATAROOTDIR=@datarootdir@/zoo-project |
---|
107 | SHAREDSTATEDIR=@sharedstatedir@/zoo-project |
---|