Last change
on this file since 757 was
650,
checked in by djay, 10 years ago
|
Link against the zoo_service shared library from C service makefile.
|
File size:
634 bytes
|
Line | |
---|
1 | ZRPATH=../../.. |
---|
2 | include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts |
---|
3 | CFLAGS=${ZOO_CFLAGS} ${JSCFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${GEOS_CFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG |
---|
4 | |
---|
5 | ifneq ($(MS_FILE),) |
---|
6 | MS_FILES=${ZRPATH}/zoo-kernel/${MS_FILE} -lmapserver |
---|
7 | else |
---|
8 | MS_FILES= |
---|
9 | endif |
---|
10 | |
---|
11 | cgi-env/ogr_service.zo: service.c |
---|
12 | g++ ${CFLAGS} -shared -fpic -o cgi-env/ogr_service.zo ./service.c ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${GEOS_LDFLAGS} -lfcgi -lpthread -lzoo_service |
---|
13 | |
---|
14 | install: |
---|
15 | install -d ${CGI_DIR}/ogr/base-vect-ops |
---|
16 | install cgi-env/* ${CGI_DIR}/ogr/base-vect-ops |
---|
17 | |
---|
18 | clean: |
---|
19 | rm -f cgi-env/ogr_service.zo |
---|
Note: See
TracBrowser
for help on using the repository browser.