Skip to content
Snippets Groups Projects
Commit 86345ba3 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Ajout GDAL Nouvelle version

parent d9d80a78
No related branches found
No related tags found
No related merge requests found
include ../../GDALmake.opt
OBJ = aaigriddataset.o
CPPFLAGS := $(GDAL_INCLUDE) $(CPPFLAGS) $(XTRA_OPT)
default: $(OBJ)
clean:
rm -f *.o
all: $(OBJ)
install-obj: $(O_OBJ)
include ../../../GDALmake.opt
OBJ = \
xtiff.o \
geo_free.o \
geo_get.o \
geo_names.o \
geo_new.o \
geo_print.o \
geo_set.o \
geo_tiffp.o \
geo_write.o \
geo_normalize.o \
geotiff_proj4.o \
geo_extra.o \
geo_trans.o
O_OBJ = $(foreach file,$(OBJ),../../o/$(file))
ALL_C_FLAGS = $(CPPFLAGS) $(CFLAGS)
ifeq ($(TIFF_SETTING),internal)
ALL_C_FLAGS := -I../libtiff $(ALL_C_FLAGS)
endif
default: $(OBJ)
clean:
rm -f $(O_OBJ) *.o *.a
install-obj: $(O_OBJ)
../../o/%.o: %.c
$(CC) -c -I../../port $(ALL_C_FLAGS) $< -o $@
#
# Updating to the latest libgeotiff involves copying all matching source
# except for a few files that hook to GDALs own CPL services.
#
import:
@if test ! -d ~/geotiff ; then \
echo reimport requires libgeotiff checked out ~/geotiff ; \
exit 1; \
fi
rm -rf safe
mkdir safe
mv cpl_serv.h geo_config.h safe
copymatch.sh ~/geotiff/libgeotiff *.cpp *.c *.h *.inc
copymatch.sh ~/geotiff/libgeotiff/libxtiff xtiff*.c xtiffio.h
mv safe/* .
rm -rf safe
@echo
@echo 'Now do something like:'
@echo '% cvs commit -m "updated to libgeotiff 1.1.x"'
@echo
include ../../GDALmake.opt
OBJ = jdemdataset.o
CPPFLAGS := $(GDAL_INCLUDE) $(CPPFLAGS)
default: $(OBJ)
clean:
rm -f *.o
install-obj: $(O_OBJ)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment