|
Revision 9543, 1.0 kB
(checked in by fwarmerdam, 3 years ago)
|
make gdal_misc.o depend on gdal_version.h
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
include ../GDALmake.opt |
|---|
| 3 |
|
|---|
| 4 |
OBJ = gdalopeninfo.o gdaldrivermanager.o gdaldriver.o gdaldataset.o \ |
|---|
| 5 |
gdalrasterband.o gdal_misc.o rasterio.o gdalrasterblock.o \ |
|---|
| 6 |
gdalcolortable.o gdalmajorobject.o overview.o \ |
|---|
| 7 |
gdaldefaultoverviews.o gdalpamdataset.o gdalpamrasterband.o \ |
|---|
| 8 |
gdaljp2metadata.o gdaljp2box.o gdalmultidomainmetadata.o \ |
|---|
| 9 |
gdal_rat.o |
|---|
| 10 |
|
|---|
| 11 |
# Enable the following if you want to use MITAB's code to convert |
|---|
| 12 |
# .tab coordinate systems into well known text. But beware that linking |
|---|
| 13 |
# against static libraries becomes more complicated because of the odd |
|---|
| 14 |
# call out. |
|---|
| 15 |
|
|---|
| 16 |
ifeq ($(OGR_ENABLED),yes) |
|---|
| 17 |
CXXFLAGS := -DHAVE_MITAB $(CXXFLAGS) |
|---|
| 18 |
endif |
|---|
| 19 |
|
|---|
| 20 |
CPPFLAGS := $(GDAL_INCLUDE) $(CPPFLAGS) |
|---|
| 21 |
|
|---|
| 22 |
default: $(OBJ) |
|---|
| 23 |
|
|---|
| 24 |
clean: |
|---|
| 25 |
$(RM) *.o |
|---|
| 26 |
|
|---|
| 27 |
docs: |
|---|
| 28 |
(cd ..; $(MAKE) docs) |
|---|
| 29 |
|
|---|
| 30 |
gdal_misc.o: gdal_misc.cpp gdal_version.h |
|---|
| 31 |
|
|---|
| 32 |
gdaldrivermanager.o: gdaldrivermanager.cpp ../GDALmake.opt |
|---|
| 33 |
$(CXX) -c $(GDAL_INCLUDE) $(CXXFLAGS) -DINST_DATA=\"$(INST_DATA)\" \ |
|---|
| 34 |
$*.cpp -o $*.o |
|---|
| 35 |
|
|---|
| 36 |
install: |
|---|
| 37 |
for f in *.h ; do $(INSTALL_DATA) $$f $(INST_INCLUDE) ; done |
|---|