source: trunk/zoo-project/zoo-services/ogr/base-vect-ops/Makefile @ 649

Last change on this file since 649 was 522, checked in by david, 10 years ago
  • Add install target, and fix cflags
File size: 699 bytes
Line 
1ZRPATH=../../..
2include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
3CFLAGS=${ZOO_CFLAGS} ${JSCFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${GEOS_CFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
4
5ifneq ($(MS_FILE),)
6        MS_FILES=${ZRPATH}/zoo-kernel/${MS_FILE} -lmapserver
7else
8        MS_FILES=
9endif
10
11cgi-env/ogr_service.zo: service.c
12        g++ ${CFLAGS} -shared -fpic -o cgi-env/ogr_service.zo ./service.c ../../../zoo-kernel/service_internal.o ${JS_LDFLAGS} ${JSLDFLAGS} ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${GEOS_LDFLAGS}  ${MS_FILES} -lfcgi  -lpthread
13
14install:
15        install -d ${CGI_DIR}/ogr/base-vect-ops
16        install cgi-env/* ${CGI_DIR}/ogr/base-vect-ops
17
18clean:
19        rm -f cgi-env/ogr_service.zo
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