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 | endif |
---|
18 | |
---|
19 | CGI_DIR=@CGI_DIR@ |
---|
20 | |
---|
21 | YAML_CFLAGS=@YAML_CPPFLAGS@ |
---|
22 | YAML_LDFLAGS=@YAML_LDFLAGS@ |
---|
23 | YAML_FILE=@YAML_FILE@ |
---|
24 | YAML_FILE1=@YAML_FILE1@ |
---|
25 | |
---|
26 | GDAL_CFLAGS=@GDAL_CFLAGS@ |
---|
27 | GDAL_LIBS=@GDAL_LIBS@ |
---|
28 | |
---|
29 | XML2CFLAGS=@XML2_CPPFLAGS@ |
---|
30 | XML2LDFLAGS=@XML2_LDFLAGS@ |
---|
31 | |
---|
32 | XSLT_CFLAGS=@XSLT_CPPFLAGS@ |
---|
33 | XSLT_LDFLAGS=@XSLT_LDFLAGS@ |
---|
34 | |
---|
35 | GEOS_CFLAGS=@GEOS_CPPFLAGS@ |
---|
36 | GEOS_LDFLAGS=@GEOS_LDFLAGS@ |
---|
37 | |
---|
38 | CGAL_CFLAGS=@CGAL_CPPFLAGS@ |
---|
39 | CGAL_LDFLAGS=@CGAL_LDFLAGS@ |
---|
40 | |
---|
41 | PYTHONCFLAGS=@PYTHON_CPPFLAGS@ |
---|
42 | PYTHONLDFLAGS=@PYTHON_LDFLAGS@ |
---|
43 | PYTHON_ENABLED=@PYTHON_ENABLED@ |
---|
44 | PYTHON_FILE=@PYTHON_FILE@ |
---|
45 | |
---|
46 | RUBYCFLAGS=@RUBY_CPPFLAGS@ |
---|
47 | RUBYLDFLAGS=@RUBY_LDFLAGS@ |
---|
48 | RUBY_ENABLED=@RUBY_ENABLED@ |
---|
49 | RUBY_FILE=@RUBY_FILE@ |
---|
50 | |
---|
51 | JS_ENABLED=@JS_ENABLED@ |
---|
52 | JSCFLAGS=@JS_CPPFLAGS@ |
---|
53 | JSLDFLAGS=@JS_LDFLAGS@ |
---|
54 | JS_FILE=@JS_FILE@ |
---|
55 | ifeq ($(JS_ENABLED),-DUSE_JS) |
---|
56 | JS_LDFLAGS=${ZRPATH}/zoo-kernel/ulinet.o ${ZRPATH}/zoo-kernel/service_internal_js.o -lcurl |
---|
57 | endif |
---|
58 | |
---|
59 | MS_CFLAGS=@MS_CFLAGS@ |
---|
60 | MS_LDFLAGS=@MS_LIBS@ |
---|
61 | MS_FILE=@MS_FILE@ |
---|
62 | |
---|
63 | ZOO_CFLAGS=-I${ZRPATH}/../thirds/cgic206/ -I${ZRPATH}/zoo-kernel/ |
---|
64 | ZOO_LDFLAGS=-lcrypto |
---|
65 | |
---|
66 | JAVACFLAGS=@JAVA_CPPFLAGS@ |
---|
67 | JAVALDFLAGS=@JAVA_LDFLAGS@ |
---|
68 | JAVA_ENABLED=@JAVA_ENABLED@ |
---|
69 | JAVA_FILE=@JAVA_FILE@ |
---|
70 | |
---|
71 | PHPCFLAGS=@PHP_CPPFLAGS@ |
---|
72 | PHPLDFLAGS=@PHP_LDFLAGS@ |
---|
73 | PHP_ENABLED=@PHP_ENABLED@ |
---|
74 | PHP_FILE=@PHP_FILE@ |
---|
75 | |
---|
76 | |
---|
77 | PERLCFLAGS=@PERL_CPPFLAGS@ |
---|
78 | PERLLDFLAGS=@PERL_LDFLAGS@ |
---|
79 | PERL_ENABLED=@PERL_ENABLED@ |
---|
80 | PERL_FILE=@PERL_FILE@ |
---|
81 | |
---|
82 | OTBCFLAGS=@OTB_CPPFLAGS@ |
---|
83 | OTBLDFLAGS=@OTB_LDFLAGS@ |
---|
84 | OTB_ENABLED=@OTB_ENABLED@ |
---|
85 | OTB_FILE=@OTB_FILE@ |
---|
86 | |
---|
87 | SAGA_CFLAGS=@SAGA_CPPFLAGS@ |
---|
88 | SAGA_LDFLAGS=@SAGA_LDFLAGS@ |
---|
89 | SAGA_ENABLED=@SAGA_ENABLED@ |
---|
90 | SAGA_FILE=@SAGA_FILE@ |
---|
91 | |
---|
92 | CFLAGS=@DEB_DEF@ -fpic ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF |
---|
93 | LDFLAGS=-lzoo_service -lcurl -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS} ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} -lfcgi -lcrypto ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} ${OTBLDFLAGS} ${SAGA_LDFLAGS} |
---|
94 | |
---|