[284] | 1 | OS:=$(shell uname -s) |
---|
| 2 | ifeq ($(OS),Darwin) |
---|
| 3 | MACOS_LD_FLAGS=-lintl |
---|
| 4 | MACOS_LD_NET_FLAGS=-framework SystemConfiguration -framework CoreFoundation |
---|
| 5 | MACOS_CFLAGS=-arch $(shell uname -m) |
---|
| 6 | endif |
---|
| 7 | |
---|
[518] | 8 | CGI_DIR=@CGI_DIR@ |
---|
| 9 | |
---|
[465] | 10 | YAML_CFLAGS=@YAML_CPPFLAGS@ |
---|
| 11 | YAML_LDFLAGS=@YAML_LDFLAGS@ |
---|
| 12 | YAML_FILE=@YAML_FILE@ |
---|
| 13 | YAML_FILE1=@YAML_FILE1@ |
---|
| 14 | |
---|
[284] | 15 | GDAL_CFLAGS=@GDAL_CFLAGS@ |
---|
| 16 | GDAL_LIBS=@GDAL_LIBS@ |
---|
| 17 | |
---|
| 18 | XML2CFLAGS=@XML2_CPPFLAGS@ |
---|
| 19 | XML2LDFLAGS=@XML2_LDFLAGS@ |
---|
| 20 | |
---|
[520] | 21 | XSLT_CFLAGS=@XSLT_CPPFLAGS@ |
---|
| 22 | XSLT_LDFLAGS=@XSLT_LDFLAGS@ |
---|
| 23 | |
---|
[521] | 24 | GEOS_CFLAGS=@GEOS_CPPFLAGS@ |
---|
| 25 | GEOS_LDFLAGS=@GEOS_LDFLAGS@ |
---|
| 26 | |
---|
| 27 | CGAL_CFLAGS=@CGAL_CPPFLAGS@ |
---|
| 28 | CGAL_LDFLAGS=@CGAL_LDFLAGS@ |
---|
| 29 | |
---|
[284] | 30 | PYTHONCFLAGS=@PYTHON_CPPFLAGS@ |
---|
| 31 | PYTHONLDFLAGS=@PYTHON_LDFLAGS@ |
---|
[459] | 32 | PYTHON_ENABLED=@PYTHON_ENABLED@ |
---|
| 33 | PYTHON_FILE=@PYTHON_FILE@ |
---|
[284] | 34 | |
---|
[459] | 35 | RUBYCFLAGS=@RUBY_CPPFLAGS@ |
---|
| 36 | RUBYLDFLAGS=@RUBY_LDFLAGS@ |
---|
| 37 | RUBY_ENABLED=@RUBY_ENABLED@ |
---|
| 38 | RUBY_FILE=@RUBY_FILE@ |
---|
| 39 | |
---|
[284] | 40 | JS_ENABLED=@JS_ENABLED@ |
---|
| 41 | JSCFLAGS=@JS_CPPFLAGS@ |
---|
| 42 | JSLDFLAGS=@JS_LDFLAGS@ |
---|
[459] | 43 | JS_FILE=@JS_FILE@ |
---|
[284] | 44 | ifeq ($(JS_ENABLED),-DUSE_JS) |
---|
| 45 | JS_LDFLAGS=${ZRPATH}/zoo-kernel/ulinet.o ${ZRPATH}/zoo-kernel/service_internal_js.o -lcurl |
---|
| 46 | endif |
---|
| 47 | |
---|
[459] | 48 | MS_CFLAGS=@MS_CFLAGS@ |
---|
| 49 | MS_LDFLAGS=@MS_LIBS@ |
---|
| 50 | MS_FILE=@MS_FILE@ |
---|
| 51 | |
---|
[303] | 52 | ZOO_CFLAGS=-I${ZRPATH}/../thirds/cgic206/ -I${ZRPATH}/zoo-kernel/ |
---|
[284] | 53 | ZOO_LDFLAGS=-lcrypto |
---|
[527] | 54 | |
---|
| 55 | JAVACFLAGS=@JAVA_CPPFLAGS@ |
---|
| 56 | JAVALDFLAGS=@JAVA_LDFLAGS@ |
---|
| 57 | JAVA_ENABLED=@JAVA_ENABLED@ |
---|
| 58 | JAVA_FILE=@JAVA_FILE@ |
---|
| 59 | |
---|
| 60 | PHPCFLAGS=@PHP_CPPFLAGS@ |
---|
| 61 | PHPLDFLAGS=@PHP_LDFLAGS@ |
---|
| 62 | PHP_ENABLED=@PHP_ENABLED@ |
---|
| 63 | PHP_FILE=@PHP_FILE@ |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | PERLCFLAGS=@PERL_CPPFLAGS@ |
---|
| 67 | PERLLDFLAGS=@PERL_LDFLAGS@ |
---|
| 68 | PERL_ENABLED=@PERL_ENABLED@ |
---|
| 69 | PERL_FILE=@PERL_FILE@ |
---|
[534] | 70 | |
---|
[550] | 71 | OTBCFLAGS=@OTB_CPPFLAGS@ |
---|
| 72 | OTBLDFLAGS=@OTB_LDFLAGS@ |
---|
| 73 | OTB_ENABLED=@OTB_ENABLED@ |
---|
| 74 | OTB_FILE=@OTB_FILE@ |
---|
| 75 | |
---|
[534] | 76 | CFLAGS=@DEB_DEF@ -fpic ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF |
---|
[550] | 77 | LDFLAGS=-lcurl -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS} ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} -lfcgi -lcrypto ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} ${OTBLDFLAGS} |
---|
[534] | 78 | |
---|