Last change
on this file since 676 was
650,
checked in by djay, 10 years ago
|
Link against the zoo_service shared library from C service makefile.
|
File size:
681 bytes
|
Line | |
---|
1 | ZRPATH=../.. |
---|
2 | include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts |
---|
3 | CFLAGS=${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 -lgdal -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.