Changeset 522 for trunk/zoo-project/zoo-services/ogr/ogr2ogr
- Timestamp:
- Oct 31, 2014, 6:00:05 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.