Changeset 38 for trunk/zoo-services/ogr/ogr2ogr/Makefile
- Timestamp:
- Oct 23, 2010, 4:49:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-services/ogr/ogr2ogr/Makefile
r1 r38 1 GDAL_SRC=/var/tmp/portage/sci-libs/gdal-1.6.1/work/gdal-1.6.1/ogr/ 2 CFLAGS=-I$(GDAL_SRC) -I../../../zoo-kernel-svn/ -I./ `xml2-config --cflags` `python-config --cflags` -DLINUX_FREE_ISSUE #-DDEBUG 3 CC=gcc 1 GDAL_SRC=./gdal_src/ 4 2 5 cgi-env/ogr2ogr_service.zo: service.c 6 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/ogr2ogr_service.zo ./service.c -lgdal 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 21 22 cgi-env/ogr2ogr_service.zo: service.c $(DEP_LIBS) 23 g++ $(CFLAGS) $(CPPFLAGS) -shared -fpic $< `gdal-config --libs` -o $@ 7 24 8 25 clean: 9 rm -f cgi-env/* .zo26 rm -f cgi-env/*zo
Note: See TracChangeset
for help on using the changeset viewer.