1 2SWIG = swig 3SWIGARGS = -Wall -I../include -I../include/$(BINDING) -I../include/$(BINDING)/docs 4 5WRAPPERS_WITHOUT_GNM = $(SWIGOUTPUTDIR)gdal_wrap.cpp $(SWIGOUTPUTDIR)gdalconst_wrap.c $(SWIGOUTPUTDIR)ogr_wrap.cpp $(SWIGOUTPUTDIR)osr_wrap.cpp 6WRAPPERS = $(WRAPPERS_WITHOUT_GNM) $(SWIGOUTPUTDIR)gnm_wrap.cpp 7 8$(SWIGOUTPUTDIR)gdal_wrap.cpp: ../include/gdal.i ../include/MajorObject.i ../include/Driver.i ../include/Dataset.i ../include/Band.i ../include/ColorTable.i ../include/cpl.i ../include/$(BINDING)/gdal_$(BINDING).i ../include/$(BINDING)/typemaps_$(BINDING).i $(SWIG_INCLUDES) 9 $(SWIG) $(SWIGARGS) $(SWIGDEFINES) $(SWIG_GDAL_WRAP) -I$(GDAL_ROOT) -c++ -$(BINDING) -o $@ ../include/gdal.i 10 11$(SWIGOUTPUTDIR)gdalconst_wrap.c: ../include/gdalconst.i $(SWIG_INCLUDES) 12 $(SWIG) $(SWIGARGS) $(SWIGDEFINES) $(SWIG_GDALCONST_WRAP) -I$(GDAL_ROOT) -$(BINDING) -o $@ ../include/gdalconst.i 13 14$(SWIGOUTPUTDIR)ogr_wrap.cpp: ../include/ogr.i ../include/$(BINDING)/ogr_$(BINDING).i ../include/$(BINDING)/typemaps_$(BINDING).i $(SWIG_INCLUDES) 15 $(SWIG) $(SWIGARGS) $(SWIGDEFINES) $(SWIG_OGR_WRAP) -I$(GDAL_ROOT) -c++ -$(BINDING) -o $@ ../include/ogr.i 16 17$(SWIGOUTPUTDIR)osr_wrap.cpp: ../include/osr.i ../include/$(BINDING)/osr_$(BINDING).i ../include/$(BINDING)/typemaps_$(BINDING).i $(SWIG_INCLUDES) 18 $(SWIG) $(SWIGARGS) $(SWIGDEFINES) $(SWIG_OSR_WRAP) -I$(GDAL_ROOT) -c++ -$(BINDING) -o $@ ../include/osr.i 19 20$(SWIGOUTPUTDIR)gnm_wrap.cpp: ../include/gnm.i ../include/$(BINDING)/gnm_$(BINDING).i ../include/$(BINDING)/typemaps_$(BINDING).i $(SWIG_INCLUDES) 21 $(SWIG) $(SWIGARGS) $(SWIGDEFINES) $(SWIG_GNM_WRAP) -I$(GDAL_ROOT) -c++ -$(BINDING) -o $@ ../include/gnm.i 22