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@ YAML_CFLAGS=@YAML_CPPFLAGS@ YAML_LDFLAGS=@YAML_LDFLAGS@ YAML_FILE=@YAML_FILE@ YAML_FILE1=@YAML_FILE1@ 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@ 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=-lcrypto -luuid 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@ 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@ CFLAGS=@RELY_ON_DB@ @DEB_DEF@ -fpic ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF LDFLAGS=-lzoo_service -lcurl -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}