|
Revision 12276, 0.9 kB
(checked in by hobu, 1 year ago)
|
add support for a target directory for swig wrapper output (related to #1874)
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
SWIG = swig |
|---|
| 3 |
SWIGARGS = -Wall -I../include -I../include/$(BINDING) -I../include/$(BINDING)/docs |
|---|
| 4 |
SWIGOUTPUTDIR= |
|---|
| 5 |
|
|---|
| 6 |
WRAPPERS = gdal_wrap.cpp gdalconst_wrap.c ogr_wrap.cpp osr_wrap.cpp |
|---|
| 7 |
|
|---|
| 8 |
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)/typemaps_$(BINDING).i |
|---|
| 9 |
$(SWIG) $(SWIGARGS) $(SWIGDEFINES) -I$(GDAL_ROOT) -c++ -$(BINDING) -o $(SWIGOUTPUTDIR)$@ gdal.i |
|---|
| 10 |
|
|---|
| 11 |
gdalconst_wrap.c: ../include/gdalconst.i |
|---|
| 12 |
$(SWIG) $(SWIGARGS) $(SWIGDEFINES) -I$(GDAL_ROOT) -$(BINDING) -o $(SWIGOUTPUTDIR)$@ gdalconst.i |
|---|
| 13 |
|
|---|
| 14 |
ogr_wrap.cpp: ../include/ogr.i ../include/$(BINDING)/typemaps_$(BINDING).i |
|---|
| 15 |
$(SWIG) $(SWIGARGS) $(SWIGDEFINES) -I$(GDAL_ROOT) -c++ -$(BINDING) -o $(SWIGOUTPUTDIR)$@ ogr.i |
|---|
| 16 |
|
|---|
| 17 |
osr_wrap.cpp: ../include/osr.i ../include/$(BINDING)/typemaps_$(BINDING).i |
|---|
| 18 |
$(SWIG) $(SWIGARGS) $(SWIGDEFINES) -I$(GDAL_ROOT) -c++ -$(BINDING) -o $(SWIGOUTPUTDIR)$@ osr.i |
|---|