[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 | |
---|
[677] | 38 | GLIB_LDFLAGS=@GLIB_LDFLAGS@ |
---|
| 39 | GLIB_CPPFLAGS=@GLIB_CPPFLAGS@ |
---|
| 40 | |
---|
[521] | 41 | GEOS_CFLAGS=@GEOS_CPPFLAGS@ |
---|
| 42 | GEOS_LDFLAGS=@GEOS_LDFLAGS@ |
---|
| 43 | |
---|
| 44 | CGAL_CFLAGS=@CGAL_CPPFLAGS@ |
---|
| 45 | CGAL_LDFLAGS=@CGAL_LDFLAGS@ |
---|
| 46 | |
---|
[284] | 47 | PYTHONCFLAGS=@PYTHON_CPPFLAGS@ |
---|
| 48 | PYTHONLDFLAGS=@PYTHON_LDFLAGS@ |
---|
[459] | 49 | PYTHON_ENABLED=@PYTHON_ENABLED@ |
---|
| 50 | PYTHON_FILE=@PYTHON_FILE@ |
---|
[284] | 51 | |
---|
[459] | 52 | RUBYCFLAGS=@RUBY_CPPFLAGS@ |
---|
| 53 | RUBYLDFLAGS=@RUBY_LDFLAGS@ |
---|
| 54 | RUBY_ENABLED=@RUBY_ENABLED@ |
---|
| 55 | RUBY_FILE=@RUBY_FILE@ |
---|
| 56 | |
---|
[741] | 57 | JSON_LDFLAGS=@JSON_LDFLAGS@ |
---|
| 58 | JSON_CPPFLAGS=@JSON_CPPFLAGS@ |
---|
| 59 | |
---|
| 60 | RABBITMQ_LDFLAGS=@RABBITMQ_LDFLAGS@ |
---|
| 61 | RABBITMQ_CPPFLAGS=@RABBITMQ_CPPFLAGS@ |
---|
| 62 | RABBITMQ_FILE=@RABBITMQ_FILE@ |
---|
| 63 | |
---|
[284] | 64 | JS_ENABLED=@JS_ENABLED@ |
---|
| 65 | JSCFLAGS=@JS_CPPFLAGS@ |
---|
| 66 | JSLDFLAGS=@JS_LDFLAGS@ |
---|
[459] | 67 | JS_FILE=@JS_FILE@ |
---|
[284] | 68 | ifeq ($(JS_ENABLED),-DUSE_JS) |
---|
| 69 | JS_LDFLAGS=${ZRPATH}/zoo-kernel/ulinet.o ${ZRPATH}/zoo-kernel/service_internal_js.o -lcurl |
---|
| 70 | endif |
---|
| 71 | |
---|
[459] | 72 | MS_CFLAGS=@MS_CFLAGS@ |
---|
| 73 | MS_LDFLAGS=@MS_LIBS@ |
---|
| 74 | MS_FILE=@MS_FILE@ |
---|
| 75 | |
---|
[303] | 76 | ZOO_CFLAGS=-I${ZRPATH}/../thirds/cgic206/ -I${ZRPATH}/zoo-kernel/ |
---|
[651] | 77 | ZOO_LDFLAGS=-lcrypto -luuid |
---|
[527] | 78 | |
---|
| 79 | JAVACFLAGS=@JAVA_CPPFLAGS@ |
---|
| 80 | JAVALDFLAGS=@JAVA_LDFLAGS@ |
---|
| 81 | JAVA_ENABLED=@JAVA_ENABLED@ |
---|
| 82 | JAVA_FILE=@JAVA_FILE@ |
---|
| 83 | |
---|
| 84 | PHPCFLAGS=@PHP_CPPFLAGS@ |
---|
| 85 | PHPLDFLAGS=@PHP_LDFLAGS@ |
---|
| 86 | PHP_ENABLED=@PHP_ENABLED@ |
---|
| 87 | PHP_FILE=@PHP_FILE@ |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | PERLCFLAGS=@PERL_CPPFLAGS@ |
---|
| 91 | PERLLDFLAGS=@PERL_LDFLAGS@ |
---|
| 92 | PERL_ENABLED=@PERL_ENABLED@ |
---|
| 93 | PERL_FILE=@PERL_FILE@ |
---|
[534] | 94 | |
---|
[550] | 95 | OTBCFLAGS=@OTB_CPPFLAGS@ |
---|
| 96 | OTBLDFLAGS=@OTB_LDFLAGS@ |
---|
| 97 | OTB_ENABLED=@OTB_ENABLED@ |
---|
| 98 | OTB_FILE=@OTB_FILE@ |
---|
| 99 | |
---|
[634] | 100 | SAGA_CFLAGS=@SAGA_CPPFLAGS@ |
---|
| 101 | SAGA_LDFLAGS=@SAGA_LDFLAGS@ |
---|
| 102 | SAGA_ENABLED=@SAGA_ENABLED@ |
---|
| 103 | SAGA_FILE=@SAGA_FILE@ |
---|
| 104 | |
---|
[741] | 105 | CFLAGS= @RELY_ON_DB@ @DEB_DEF@ -fpic ${GLIB_CPPFLAGS} ${YAML_CFLAGS} ${GDAL_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} ${RABBITMQ_CPPFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF |
---|
| 106 | LDFLAGS=-lzoo_service @DEFAULT_LIBS@ -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${GLIB_LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS} ${JSON_LDFLAGS} ${RABBITMQ_LDFLAGS} ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} -lfcgi -lcrypto -luuid ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} ${OTBLDFLAGS} ${SAGA_LDFLAGS} |
---|
[534] | 107 | |
---|