source: trunk/zoo-project/zoo-kernel/ZOOMakefile.opts.in @ 657

Last change on this file since 657 was 653, checked in by djay, 10 years ago

Small fixes for building on GNU/Linux.

File size: 2.6 KB
Line 
1prefix=@prefix@
2exec_prefix=@exec_prefix@
3PREFIX=@prefix@
4INST_LIB=@libdir@
5INST_INCLUDE=@includedir@
6VERSION=1.5
7REVISION=0
8EXT=so
9DEFAULT_OPTS=-Wl,-soname,libzoo_service.so.${VERSION}
10OS:=$(shell uname -s)
11ifeq ($(OS),Darwin)
12        MACOS_LD_FLAGS=-lintl
13        MACOS_LD_NET_FLAGS=-framework SystemConfiguration -framework CoreFoundation
14        MACOS_CFLAGS=-arch $(shell uname -m)
15        EXT=dylib
16        DEFAULT_OPTS=-Wl,-compatibility_version,${VERSION},-current_version,${VERSION},-install_name,${DESTDIR}${INST_LIB}/libzoo_service.${VERSION}.${REVISION}.dylib
17        LIBZOO_SERVICE=libzoo_service.${VERSION}.${REVISION}.${EXT}
18else
19        LIBZOO_SERVICE=libzoo_service.${EXT}.${VERSION}
20endif
21
22CGI_DIR=@CGI_DIR@
23
24YAML_CFLAGS=@YAML_CPPFLAGS@
25YAML_LDFLAGS=@YAML_LDFLAGS@
26YAML_FILE=@YAML_FILE@
27YAML_FILE1=@YAML_FILE1@
28
29GDAL_CFLAGS=@GDAL_CFLAGS@
30GDAL_LIBS=@GDAL_LIBS@
31
32XML2CFLAGS=@XML2_CPPFLAGS@
33XML2LDFLAGS=@XML2_LDFLAGS@
34
35XSLT_CFLAGS=@XSLT_CPPFLAGS@
36XSLT_LDFLAGS=@XSLT_LDFLAGS@
37
38GEOS_CFLAGS=@GEOS_CPPFLAGS@
39GEOS_LDFLAGS=@GEOS_LDFLAGS@
40
41CGAL_CFLAGS=@CGAL_CPPFLAGS@
42CGAL_LDFLAGS=@CGAL_LDFLAGS@
43
44PYTHONCFLAGS=@PYTHON_CPPFLAGS@
45PYTHONLDFLAGS=@PYTHON_LDFLAGS@
46PYTHON_ENABLED=@PYTHON_ENABLED@
47PYTHON_FILE=@PYTHON_FILE@
48
49RUBYCFLAGS=@RUBY_CPPFLAGS@
50RUBYLDFLAGS=@RUBY_LDFLAGS@
51RUBY_ENABLED=@RUBY_ENABLED@
52RUBY_FILE=@RUBY_FILE@
53
54JS_ENABLED=@JS_ENABLED@
55JSCFLAGS=@JS_CPPFLAGS@
56JSLDFLAGS=@JS_LDFLAGS@
57JS_FILE=@JS_FILE@
58ifeq ($(JS_ENABLED),-DUSE_JS)
59     JS_LDFLAGS=${ZRPATH}/zoo-kernel/ulinet.o ${ZRPATH}/zoo-kernel/service_internal_js.o -lcurl
60endif
61
62MS_CFLAGS=@MS_CFLAGS@
63MS_LDFLAGS=@MS_LIBS@
64MS_FILE=@MS_FILE@
65
66ZOO_CFLAGS=-I${ZRPATH}/../thirds/cgic206/ -I${ZRPATH}/zoo-kernel/
67ZOO_LDFLAGS=-lcrypto -luuid
68
69JAVACFLAGS=@JAVA_CPPFLAGS@
70JAVALDFLAGS=@JAVA_LDFLAGS@
71JAVA_ENABLED=@JAVA_ENABLED@
72JAVA_FILE=@JAVA_FILE@
73
74PHPCFLAGS=@PHP_CPPFLAGS@
75PHPLDFLAGS=@PHP_LDFLAGS@
76PHP_ENABLED=@PHP_ENABLED@
77PHP_FILE=@PHP_FILE@
78
79
80PERLCFLAGS=@PERL_CPPFLAGS@
81PERLLDFLAGS=@PERL_LDFLAGS@
82PERL_ENABLED=@PERL_ENABLED@
83PERL_FILE=@PERL_FILE@
84
85OTBCFLAGS=@OTB_CPPFLAGS@
86OTBLDFLAGS=@OTB_LDFLAGS@
87OTB_ENABLED=@OTB_ENABLED@
88OTB_FILE=@OTB_FILE@
89
90SAGA_CFLAGS=@SAGA_CPPFLAGS@
91SAGA_LDFLAGS=@SAGA_LDFLAGS@
92SAGA_ENABLED=@SAGA_ENABLED@
93SAGA_FILE=@SAGA_FILE@
94
95CFLAGS=@RELY_ON_DB@ @DEB_DEF@ -fpic ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF
96LDFLAGS=-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}
97
Note: See TracBrowser for help on using the repository browser.

Search

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png