Changeset 522 for trunk/zoo-project/zoo-services/ogr
- Timestamp:
- Oct 31, 2014, 6:00:05 PM (10 years ago)
- Location:
- trunk/zoo-project/zoo-services/ogr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/ogr/base-vect-ops/Makefile
r499 r522 1 1 ZRPATH=../../.. 2 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=${ZOO_CFLAGS} ${JSCFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} `geos-config --cflags`-DLINUX_FREE_ISSUE #-DDEBUG3 CFLAGS=${ZOO_CFLAGS} ${JSCFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${GEOS_CFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 4 5 5 ifneq ($(MS_FILE),) … … 10 10 11 11 cgi-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 -lpthread12 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 13 14 install: 15 install -d ${CGI_DIR}/ogr/base-vect-ops 16 install cgi-env/* ${CGI_DIR}/ogr/base-vect-ops 14 17 15 18 clean: -
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 1 ZRPATH=../../.. 2 include ${ZRPATH}/zoo-kernel/ZOOMakefile.opts 3 CFLAGS=-DZOO_SERVICE ${ZOO_CFLAGS} ${XML2CFLAGS} ${GDAL_CFLAGS} ${PYTHONCFLAGS} -DLINUX_FREE_ISSUE #-DDEBUG 4 CC=gcc 21 5 22 6 cgi-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 9 install: 10 install -d ${CGI_DIR}/ogr/ogr2ogr 11 install cgi-env/* ${CGI_DIR}/ogr/ogr2ogr 24 12 25 13 clean:
Note: See TracChangeset
for help on using the changeset viewer.