Changeset 650


Ignore:
Timestamp:
May 29, 2015, 1:33:40 PM (5 years ago)
Author:
djay
Message:

Link against the zoo_service shared library from C service makefile.

Location:
trunk/zoo-project/zoo-services
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-services/arithmetics/Makefile

    r1 r650  
    33
    44cgi-env/test_service.zo: test_service.c
    5         g++ ${CFLAGS} -shared -fpic -o cgi-env/test_service.zo ./test_service.c
     5        g++ ${CFLAGS} -shared -fpic -o cgi-env/test_service.zo ./test_service.c -lzoo_service
    66
    77clean:
  • trunk/zoo-project/zoo-services/cgal/Makefile

    r543 r650  
    77        g++ ${CFLAGS} -c ./delaunay.c
    88        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
     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
    1010
    1111cgal_service.o: cgal_service.c cgal_service.h
  • trunk/zoo-project/zoo-services/gdal/contour/Makefile

    r522 r650  
    55
    66cgi-env/contour_service.zo: service.c
    7         g++ ${CFLAGS} -shared -fpic -o cgi-env/contour_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
     7        g++ ${CFLAGS} -shared -fpic -o cgi-env/contour_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
    88install:
    99        install -d ${CGI_DIR}/gdal/contour
  • trunk/zoo-project/zoo-services/gdal/dem/Makefile

    r522 r650  
    55
    66cgi-env/dem_service.zo: service.c
    7         g++ ${CFLAGS} -shared -fpic -o cgi-env/dem_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
     7        g++ ${CFLAGS} -shared -fpic -o cgi-env/dem_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
    88
    99install:
  • trunk/zoo-project/zoo-services/gdal/grid/Makefile

    r522 r650  
    55
    66cgi-env/service.zo: service.c
    7         g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_grid_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
     7        g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_grid_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
    88
    99install:
  • trunk/zoo-project/zoo-services/gdal/profile/Makefile

    r522 r650  
    55
    66cgi-env/profile_service.zo: service.c
    7         g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/profile_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
     7        g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/profile_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
    88
    99install:
  • trunk/zoo-project/zoo-services/gdal/translate/Makefile

    r522 r650  
    55
    66cgi-env/translate_service.zo: service.c
    7         g++ ${CFLAGS} -shared -fpic -o cgi-env/translate_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
     7        g++ ${CFLAGS} -shared -fpic -o cgi-env/translate_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
    88
    99install:
  • trunk/zoo-project/zoo-services/gdal/warp/Makefile

    r522 r650  
    55
    66cgi-env/warp_service.zo: service.c
    7         g++ ${CFLAGS} -shared -fpic -o cgi-env/warp_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
    8 
     7        g++ ${CFLAGS} -shared -fpic -o cgi-env/warp_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lzoo_service
    98
    109install:
  • trunk/zoo-project/zoo-services/ogr/base-vect-ops/Makefile

    r522 r650  
    1010
    1111cgi-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
     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
    1313
    1414install:
  • trunk/zoo-project/zoo-services/ogr/ogr2ogr/Makefile

    r522 r650  
    55
    66cgi-env/ogr2ogr_service.zo: service.c $(DEP_LIBS)
    7         g++ $(CFLAGS) $(CPPFLAGS) -shared -fpic $<  -o $@
     7        g++ $(CFLAGS) $(CPPFLAGS) -shared -fpic $<  -o $@ ${GDAL_LIBS} -lzoo_service
    88
    99install:
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

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