Last change
on this file since 925 was
917,
checked in by djay, 5 years ago
|
Merge prototype-v0 branch in trunk
|
File size:
701 bytes
|
Rev | Line | |
---|
[469] | 1 | ZRPATH=../.. |
---|
[284] | 2 | include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts |
---|
[917] | 3 | CFLAGS= ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} ${CGAL_CFLAGS} -frounding-math -fPIC -DLINUX_FREE_ISSUE #-DDEBUG |
---|
[1] | 4 | CC=gcc |
---|
| 5 | |
---|
[469] | 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 |
---|
[917] | 9 | g++ ${CFLAGS} -shared -o cgi-env/cgal_service.zo ./delaunay.o ./voronoi.o ./cgal_service.o ${GDAL_LIBS} ${CGAL_LDFLAGS} -lCGAL -lgmp ${GDAL_LIBS} -L${ZRPATH}/zoo-kernel/ -lzoo_service -lfcgi |
---|
[1] | 10 | |
---|
[469] | 11 | cgal_service.o: cgal_service.c cgal_service.h |
---|
| 12 | g++ ${CFLAGS} -c ./cgal_service.c |
---|
| 13 | |
---|
[522] | 14 | install: |
---|
| 15 | install -d ${CGI_DIR}/cgal |
---|
| 16 | install cgi-env/* ${CGI_DIR}/cgal/ |
---|
[469] | 17 | |
---|
[1] | 18 | clean: |
---|
[469] | 19 | rm -f cgi-env/*.zo *.o |
---|
Note: See
TracBrowser
for help on using the repository browser.