prefix=@prefix@ exec_prefix=@exec_prefix@ PREFIX=@prefix@ INST_LIB=@libdir@ INST_INCLUDE=@includedir@ VERSION=1.5 REVISION=0 EXT=so DEFAULT_OPTS=-Wl,-soname,libzoo_service.so.${VERSION} OS:=$(shell uname -s) ifeq ($(OS),Darwin) MACOS_LD_FLAGS=-lintl MACOS_LD_NET_FLAGS=-framework SystemConfiguration -framework CoreFoundation MACOS_CFLAGS=-arch $(shell uname -m) EXT=dylib DEFAULT_OPTS=-Wl,-compatibility_version,${VERSION},-current_version,${VERSION},-install_name,${DESTDIR}${INST_LIB}/libzoo_service.${VERSION}.${REVISION}.dylib LIBZOO_SERVICE=libzoo_service.${VERSION}.${REVISION}.${EXT} else LIBZOO_SERVICE=libzoo_service.${EXT}.${VERSION} endif CGI_DIR=@CGI_DIR@ FCGI_CFLAGS=@FCGI_CPPFLAGS@ FCGI_LDFLAGS=@FCGI_LDFLAGS@ YAML_CFLAGS=@YAML_CPPFLAGS@ YAML_LDFLAGS=@YAML_LDFLAGS@ YAML_FILE=@YAML_FILE@ YAML_FILE1=@YAML_FILE1@ JSON_CFLAGS=@JSON_CPPFLAGS@ JSON_LDFLAGS=@JSON_LDFLAGS@ JSON_FILE=@JSON_FILE@ METADB_ENABLED=@METADB@ METADB_FILE=@METADB_FILE@ GDAL_CFLAGS=@GDAL_CFLAGS@ GDAL_LIBS=@GDAL_LIBS@ XML2CFLAGS=@XML2_CPPFLAGS@ XML2LDFLAGS=@XML2_LDFLAGS@ XSLT_CFLAGS=@XSLT_CPPFLAGS@ XSLT_LDFLAGS=@XSLT_LDFLAGS@ GEOS_CFLAGS=@GEOS_CPPFLAGS@ GEOS_LDFLAGS=@GEOS_LDFLAGS@ CGAL_CFLAGS=@CGAL_CPPFLAGS@ CGAL_LDFLAGS=@CGAL_LDFLAGS@ PYTHONCFLAGS=@PYTHON_CPPFLAGS@ PYTHONLDFLAGS=@PYTHON_LDFLAGS@ PYTHON_ENABLED=@PYTHON_ENABLED@ PYTHON_FILE=@PYTHON_FILE@ RCFLAGS=@R_CPPFLAGS@ RLDFLAGS=@R_LDFLAGS@ R_ENABLED=@R_ENABLED@ R_FILE=@R_FILE@ RUBYCFLAGS=@RUBY_CPPFLAGS@ RUBYLDFLAGS=@RUBY_LDFLAGS@ RUBY_ENABLED=@RUBY_ENABLED@ RUBY_FILE=@RUBY_FILE@ JS_ENABLED=@JS_ENABLED@ JSCFLAGS=@JS_CPPFLAGS@ JSLDFLAGS=@JS_LDFLAGS@ JS_FILE=@JS_FILE@ ifeq ($(JS_ENABLED),-DUSE_JS) JS_LDFLAGS=${ZRPATH}/zoo-kernel/ulinet.o ${ZRPATH}/zoo-kernel/service_internal_js.o -lcurl endif MS_CFLAGS=@MS_CFLAGS@ MS_LDFLAGS=@MS_LIBS@ MS_FILE=@MS_FILE@ ZOO_CFLAGS=-I${ZRPATH}/../thirds/cgic206/ -I${ZRPATH}/zoo-kernel/ ZOO_LDFLAGS=@OPENSSL_LDFLAGS@ @UUID_LDFLAGS@ JAVACFLAGS=@JAVA_CPPFLAGS@ JAVALDFLAGS=@JAVA_LDFLAGS@ JAVA_ENABLED=@JAVA_ENABLED@ JAVA_FILE=@JAVA_FILE@ PHPCFLAGS=@PHP_CPPFLAGS@ PHPLDFLAGS=@PHP_LDFLAGS@ PHP_ENABLED=@PHP_ENABLED@ PHP_FILE=@PHP_FILE@ PERLCFLAGS=@PERL_CPPFLAGS@ PERLLDFLAGS=@PERL_LDFLAGS@ PERL_ENABLED=@PERL_ENABLED@ PERL_FILE=@PERL_FILE@ HPCCFLAGS=@SSH2_CPPFLAGS@ @HPC_CPPFLAGS@ HPCLDFLAGS=@SSH2_LDFLAGS@ @HPC_LDFLAGS@ HPC_ENABLED=@HPC_ENABLED@ HPC_FILES=@HPC_FILES@ CALLBACK_FILE=@CALLBACK_FILE@ CALLBACK_USE=@CALLBACK_USE@ OTBCFLAGS=@OTB_CPPFLAGS@ OTBLDFLAGS=@OTB_LDFLAGS@ OTB_ENABLED=@OTB_ENABLED@ OTB_FILE=@OTB_FILE@ SAGA_CFLAGS=@SAGA_CPPFLAGS@ SAGA_LDFLAGS=@SAGA_LDFLAGS@ SAGA_ENABLED=@SAGA_ENABLED@ SAGA_FILE=@SAGA_FILE@ MONO_CFLAGS=@MONO_CFLAGS@ MONO_LDFLAGS=@MONO_LDFLAGS@ MONO_ENABLED=@MONO_ENABLED@ MONO_FILE=@MONO_FILE@ 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 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@ DATAROOTDIR=@datarootdir@/zoo-project SHAREDSTATEDIR=@sharedstatedir@/zoo-project