| 184 | # to buid ossoim_plugin, change the gdal setting in the file |
| 185 | |
| 186 | # /home/sasha/GIS/ossim/ossim_plugins/make.opt.in |
| 187 | |
| 188 | # to point where you have gdal's files |
| 189 | # in my case (i used gdal from the repository) |
| 190 | |
| 191 | |
| 192 | GDAL_HOME =/usr/ |
| 193 | |
| 194 | ifeq ($(origin GDAL_HOME), undefined) |
| 195 | |
| 196 | GDAL_INCLUDES =/usr/include/gdal/ |
| 197 | |
| 198 | GDAL_LIBS =/usr/lib |
| 199 | |
| 200 | else |
| 201 | |
| 202 | GDAL_INCLUDES = -I$(GDAL_HOME)/include/gdal/ |
| 203 | |
| 204 | GDAL_LIBS = -L$(GDAL_HOME)/lib |
| 205 | |
| 206 | endif |
| 207 | |
| 208 | ### |
| 209 | |
| 210 | # End of gdal plugin specific things. |
| 211 | |
| 212 | ### |
| 213 | |
| 214 | ------------ save the file ---------------- |
| 215 | |
| 216 | make |
| 217 | sudo make install |
| 218 | sudo ldconfig |
| 219 | |
| 220 | |