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