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
Line 
1ZRPATH=../..
2include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
3CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} ${CGAL_CFLAGS} -frounding-math -fPIC -DLINUX_FREE_ISSUE #-DDEBUG
4CC=gcc
5
6cgi-env/cgal_service.zo: delaunay.c voronoi.c cgal_service.o
7        g++ ${CFLAGS} -c ./delaunay.c
8        g++ ${CFLAGS} -c ./voronoi.c
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
10
11cgal_service.o: cgal_service.c cgal_service.h
12        g++ ${CFLAGS} -c ./cgal_service.c
13
14install:
15        install -d ${CGI_DIR}/cgal
16        install cgi-env/* ${CGI_DIR}/cgal/
17
18clean:
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