source: trunk/zoo-project/zoo-services/cgal/Makefile @ 796

Last change on this file since 796 was 779, checked in by djay, 9 years ago

Fix location of the libzoo_service to the relative zoo-kernel directory from the services' Makefiles.

File size: 729 bytes
RevLine 
[469]1ZRPATH=../..
[284]2include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
[743]3CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} ${CGAL_CFLAGS} -frounding-math -fPIC -DLINUX_FREE_ISSUE #-DDEBUG
[1]4CC=gcc
5
[469]6cgi-env/cgal_service.zo: delaunay.c voronoi.c cgal_service.o
7        g++ ${CFLAGS} -c ./delaunay.c
8        g++ ${CFLAGS} -c ./voronoi.c
[779]9        g++ ${CFLAGS} -shared -o cgi-env/cgal_service.zo ./delaunay.o ./voronoi.o ./cgal_service.o ${GDAL_LIBS} ${MACOS_LD_FLAGS} ${CGAL_LDFLAGS} -lCGAL -lgmp ${GDAL_LIBS} -L${ZRPATH}/zoo-kernel/ -lzoo_service
[1]10
[469]11cgal_service.o: cgal_service.c cgal_service.h
12        g++ ${CFLAGS} -c ./cgal_service.c
13
[522]14install:
15        install -d ${CGI_DIR}/cgal
16        install cgi-env/* ${CGI_DIR}/cgal/
[469]17
[1]18clean:
[469]19        rm -f cgi-env/*.zo *.o
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