Changeset 522 for trunk/zoo-project


Ignore:
Timestamp:
Oct 31, 2014, 6:00:05 PM (10 years ago)
Author:
david
Message:
  • Add install target, and fix cflags
Location:
trunk/zoo-project/zoo-services
Files:
10 edited

Legend:

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

    r469 r522  
    11ZRPATH=../..
    22include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
    3 CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
     3CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} ${CGAL_CFLAGS} -fPIC -DLINUX_FREE_ISSUE #-DDEBUG
    44CC=gcc
    55
     
    77        g++ ${CFLAGS} -c ./delaunay.c
    88        g++ ${CFLAGS} -c ./voronoi.c
    9         g++ ${CFLAGS} -shared -fpic -o cgi-env/cgal_service.zo ./delaunay.o ./voronoi.o ./cgal_service.o ${GDAL_LIBS} ${MACOS_LD_FLAGS} -lCGAL -lgmp
     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
    1010
    1111cgal_service.o: cgal_service.c cgal_service.h
    1212        g++ ${CFLAGS} -c ./cgal_service.c
    1313
     14install:
     15        install -d ${CGI_DIR}/cgal
     16        install cgi-env/* ${CGI_DIR}/cgal/
    1417
    1518clean:
  • trunk/zoo-project/zoo-services/gdal/contour/Makefile

    r450 r522  
    66cgi-env/contour_service.zo: service.c
    77        g++ ${CFLAGS} -shared -fpic -o cgi-env/contour_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
     8install:
     9        install -d ${CGI_DIR}/gdal/contour
     10        install cgi-env/* ${CGI_DIR}/gdal/contour
    811
    912clean:
  • trunk/zoo-project/zoo-services/gdal/dem/Makefile

    r412 r522  
    77        g++ ${CFLAGS} -shared -fpic -o cgi-env/dem_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
    88
     9install:
     10        install -d ${CGI_DIR}/gdal/dem
     11        install cgi-env/* ${CGI_DIR}/gdal/dem
     12
     13
    914clean:
    1015        rm -f cgi-env/*.zo
  • trunk/zoo-project/zoo-services/gdal/grid/Makefile

    r284 r522  
    77        g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/gdal_grid_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
    88
     9install:
     10        install -d ${CGI_DIR}/gdal/grid
     11        install cgi-env/* ${CGI_DIR}/gdal/grid
     12
     13
    914clean:
    1015        rm -f cgi-env/*.zo
  • trunk/zoo-project/zoo-services/gdal/profile/Makefile

    r371 r522  
    77        g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/profile_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
    88
     9install:
     10        install -d ${CGI_DIR}/gdal/profile
     11        install cgi-env/* ${CGI_DIR}/gdal/profile
     12
     13
    914clean:
    1015        rm -f cgi-env/*.zo
  • trunk/zoo-project/zoo-services/gdal/translate/Makefile

    r369 r522  
    77        g++ ${CFLAGS} -shared -fpic -o cgi-env/translate_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
    88
     9install:
     10        install -d ${CGI_DIR}/gdal/translate
     11        install cgi-env/* ${CGI_DIR}/gdal/translate
     12
     13
     14
    915clean:
    1016        rm -f cgi-env/*.zo
  • trunk/zoo-project/zoo-services/gdal/warp/Makefile

    r369 r522  
    77        g++ ${CFLAGS} -shared -fpic -o cgi-env/warp_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}
    88
     9
     10install:
     11        install -d ${CGI_DIR}/gdal/warp
     12        install cgi-env/* ${CGI_DIR}/gdal/warp
     13
     14
    915clean:
    1016        rm -f cgi-env/warp_service.*
  • trunk/zoo-project/zoo-services/ogr/base-vect-ops/Makefile

    r499 r522  
    11ZRPATH=../../..
    22include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
    3 CFLAGS=${ZOO_CFLAGS} ${JSCFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} `geos-config --cflags` -DLINUX_FREE_ISSUE #-DDEBUG
     3CFLAGS=${ZOO_CFLAGS} ${JSCFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${GEOS_CFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
    44
    55ifneq ($(MS_FILE),)
     
    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-config --libs` ${MS_FILES} -lfcgi  -lpthread
     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
    1313
     14install:
     15        install -d ${CGI_DIR}/ogr/base-vect-ops
     16        install cgi-env/* ${CGI_DIR}/ogr/base-vect-ops
    1417
    1518clean:
  • trunk/zoo-project/zoo-services/ogr/ogr2ogr/Makefile

    r38 r522  
    1 GDAL_SRC=./gdal_src/
    2 
    3 include $(GDAL_SRC)GDALmake.opt
    4 
    5 CPPFLAGS        :=      $(GDAL_INCLUDE) -I$(GDAL_ROOT)/frmts $(CPPFLAGS)
    6 DEP_LIBS        =       $(EXE_DEP_LIBS) $(XTRAOBJ)
    7 BIN_LIST = cgi-env/ogr2ogr_service.zo
    8 
    9 default:        $(BIN_LIST)
    10 
    11 all: default
    12 
    13 lib-depend:
    14         (cd $(GDAL_SRC)/gcore ; $(MAKE) )
    15         (cd $(GDAL_SRC)/port ; $(MAKE) )
    16 
    17 CFLAGS=-DZOO_SERVICE -I../../../zoo-kernel/
    18 
    19 #cgi-env/ogr2ogr_service.zo: service.c
    20 #       g++  -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/ogr2ogr_service.zo ./service.c -lgdal
     1ZRPATH=../../..
     2include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts
     3CFLAGS=-DZOO_SERVICE ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
     4CC=gcc
    215
    226cgi-env/ogr2ogr_service.zo: service.c $(DEP_LIBS)
    23         g++ $(CFLAGS) $(CPPFLAGS) -shared -fpic $< `gdal-config --libs` -o $@
     7        g++ $(CFLAGS) $(CPPFLAGS) -shared -fpic $<  -o $@
     8
     9install:
     10        install -d ${CGI_DIR}/ogr/ogr2ogr
     11        install cgi-env/* ${CGI_DIR}/ogr/ogr2ogr
    2412
    2513clean:
  • trunk/zoo-project/zoo-services/utils/status/Makefile

    r440 r522  
    33CFLAGS=${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG
    44
     5
     6
     7ifneq ($(MS_FILE),)
     8    MS_FILES=${ZRPATH}/zoo-kernel/${MS_FILE} -lmapserver
     9else
     10    MS_FILES=
     11endif
     12
     13
     14
     15
     16
    517cgi-env/wps_status.zo: service.c
    6         g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_status.zo ./service.c ../../../zoo-kernel/service_internal.o ${ZRPATH}/zoo-kernel/${MS_FILE} ${MS_LDFLAGS} ${JS_LDFLAGS} ${JSLDFLAGS} ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} `xslt-config --libs` -lfcgi
     18        g++ ${CFLAGS} -shared -fpic -o cgi-env/wps_status.zo ./service.c ../../../zoo-kernel/service_internal.o ${MS_FILE} ${MS_LDFLAGS} ${JS_LDFLAGS} ${JSLDFLAGS} ${GDAL_LIBS} ${XML2LDFLAGS} ${MACOS_LD_FLAGS} ${ZOO_LDFLAGS} ${MACOS_LD_NET_FLAGS} ${XSLT_LDFLAGS} -lfcgi
    719
     20install:
     21        install -d ${CGI_DIR}
     22        install cgi-env/* ${CGI_DIR}/
    823clean:
    924        rm -f cgi-env/wps_status.zo
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