[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 | |
---|
[740] | 24 | FCGI_CFLAGS=@FCGI_CPPFLAGS@ |
---|
| 25 | FCGI_LDFLAGS=@FCGI_LDFLAGS@ |
---|
| 26 | |
---|
[465] | 27 | YAML_CFLAGS=@YAML_CPPFLAGS@ |
---|
| 28 | YAML_LDFLAGS=@YAML_LDFLAGS@ |
---|
| 29 | YAML_FILE=@YAML_FILE@ |
---|
| 30 | YAML_FILE1=@YAML_FILE1@ |
---|
| 31 | |
---|
[284] | 32 | GDAL_CFLAGS=@GDAL_CFLAGS@ |
---|
| 33 | GDAL_LIBS=@GDAL_LIBS@ |
---|
| 34 | |
---|
| 35 | XML2CFLAGS=@XML2_CPPFLAGS@ |
---|
| 36 | XML2LDFLAGS=@XML2_LDFLAGS@ |
---|
| 37 | |
---|
[520] | 38 | XSLT_CFLAGS=@XSLT_CPPFLAGS@ |
---|
| 39 | XSLT_LDFLAGS=@XSLT_LDFLAGS@ |
---|
| 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 | |
---|
[284] | 57 | JS_ENABLED=@JS_ENABLED@ |
---|
| 58 | JSCFLAGS=@JS_CPPFLAGS@ |
---|
| 59 | JSLDFLAGS=@JS_LDFLAGS@ |
---|
[459] | 60 | JS_FILE=@JS_FILE@ |
---|
[284] | 61 | ifeq ($(JS_ENABLED),-DUSE_JS) |
---|
| 62 | JS_LDFLAGS=${ZRPATH}/zoo-kernel/ulinet.o ${ZRPATH}/zoo-kernel/service_internal_js.o -lcurl |
---|
| 63 | endif |
---|
| 64 | |
---|
[459] | 65 | MS_CFLAGS=@MS_CFLAGS@ |
---|
| 66 | MS_LDFLAGS=@MS_LIBS@ |
---|
| 67 | MS_FILE=@MS_FILE@ |
---|
| 68 | |
---|
[303] | 69 | ZOO_CFLAGS=-I${ZRPATH}/../thirds/cgic206/ -I${ZRPATH}/zoo-kernel/ |
---|
[753] | 70 | ZOO_LDFLAGS=@OPENSSL_LDFLAGS@ -luuid |
---|
[527] | 71 | |
---|
| 72 | JAVACFLAGS=@JAVA_CPPFLAGS@ |
---|
| 73 | JAVALDFLAGS=@JAVA_LDFLAGS@ |
---|
| 74 | JAVA_ENABLED=@JAVA_ENABLED@ |
---|
| 75 | JAVA_FILE=@JAVA_FILE@ |
---|
| 76 | |
---|
| 77 | PHPCFLAGS=@PHP_CPPFLAGS@ |
---|
| 78 | PHPLDFLAGS=@PHP_LDFLAGS@ |
---|
| 79 | PHP_ENABLED=@PHP_ENABLED@ |
---|
| 80 | PHP_FILE=@PHP_FILE@ |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | PERLCFLAGS=@PERL_CPPFLAGS@ |
---|
| 84 | PERLLDFLAGS=@PERL_LDFLAGS@ |
---|
| 85 | PERL_ENABLED=@PERL_ENABLED@ |
---|
| 86 | PERL_FILE=@PERL_FILE@ |
---|
[534] | 87 | |
---|
[550] | 88 | OTBCFLAGS=@OTB_CPPFLAGS@ |
---|
| 89 | OTBLDFLAGS=@OTB_LDFLAGS@ |
---|
| 90 | OTB_ENABLED=@OTB_ENABLED@ |
---|
| 91 | OTB_FILE=@OTB_FILE@ |
---|
| 92 | |
---|
[634] | 93 | SAGA_CFLAGS=@SAGA_CPPFLAGS@ |
---|
| 94 | SAGA_LDFLAGS=@SAGA_LDFLAGS@ |
---|
| 95 | SAGA_ENABLED=@SAGA_ENABLED@ |
---|
| 96 | SAGA_FILE=@SAGA_FILE@ |
---|
| 97 | |
---|
[794] | 98 | MONO_CFLAGS=@MONO_CFLAGS@ |
---|
| 99 | MONO_LDFLAGS=@MONO_LDFLAGS@ |
---|
| 100 | MONO_ENABLED=@MONO_ENABLED@ |
---|
| 101 | MONO_FILE=@MONO_FILE@ |
---|
| 102 | |
---|
[866] | 103 | CFLAGS=-Wdeclaration-after-statement @RELY_ON_DB@ @DEB_DEF@ -fpic @OPENSSL_CFLAGS@ ${FCGI_CFLAGS} ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF |
---|
[794] | 104 | LDFLAGS=-lzoo_service @DEFAULT_LIBS@ -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS} ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} ${FCGI_LDFLAGS} @OPENSSL_LDFLAGS@ -luuid ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} ${OTBLDFLAGS} ${SAGA_LDFLAGS} ${MONO_LDFLAGS} |
---|
[534] | 105 | |
---|
[811] | 106 | DATAROOTDIR=@datarootdir@/zoo-project |
---|
[866] | 107 | SHAREDSTATEDIR=@sharedstatedir@/zoo-project |
---|