Last change
on this file since 809 was
779,
checked in by djay, 8 years ago
|
Fix location of the libzoo_service to the relative zoo-kernel directory from the services' Makefiles.
|
File size:
729 bytes
|
Line | |
---|
1 | ZRPATH=../.. |
---|
2 | include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts |
---|
3 | CFLAGS=-I${INST_INCLUDE} ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} ${CGAL_CFLAGS} -frounding-math -fPIC -DLINUX_FREE_ISSUE #-DDEBUG |
---|
4 | CC=gcc |
---|
5 | |
---|
6 | cgi-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 | |
---|
11 | cgal_service.o: cgal_service.c cgal_service.h |
---|
12 | g++ ${CFLAGS} -c ./cgal_service.c |
---|
13 | |
---|
14 | install: |
---|
15 | install -d ${CGI_DIR}/cgal |
---|
16 | install cgi-env/* ${CGI_DIR}/cgal/ |
---|
17 | |
---|
18 | clean: |
---|
19 | rm -f cgi-env/*.zo *.o |
---|
Note: See
TracBrowser
for help on using the repository browser.