forked from OSGeo/gdal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.vc
66 lines (51 loc) · 1.99 KB
/
makefile.vc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
OBJ = gdalopeninfo.obj gdaldrivermanager.obj gdaldriver.obj \
gdaldataset.obj gdalrasterband.obj gdal_misc.obj \
rasterio.obj gdalrasterblock.obj gdal_rat.obj \
gdalcolortable.obj overview.obj gdaldefaultoverviews.obj \
gdalmajorobject.obj gdalpamdataset.obj gdalpamrasterband.obj \
gdaljp2metadata.obj gdaljp2box.obj \
gdalmultidomainmetadata.obj gdalpamproxydb.obj \
gdalallvalidmaskband.obj gdalnodatamaskband.obj \
gdalproxydataset.obj gdalproxypool.obj \
gdalnodatavaluesmaskband.obj gdaldefaultasync.obj \
gdaldllmain.obj gdalexif.obj \
gdalgeorefpamdataset.obj gdaljp2abstractdataset.obj \
gdalvirtualmem.obj gdaloverviewdataset.obj gdalrescaledalphaband.obj \
gdaljp2structure.obj gdal_mdreader.obj gdaljp2metadatagenerator.obj \
gdalabstractbandblockcache.obj rawdataset.obj\
gdalarraybandblockcache.obj gdalhashsetbandblockcache.obj \
gdalmultidim.obj \
gdalpython.obj gdalpythondriverloader.obj tilematrixset.obj \
gdal_thread_pool.obj nasakeywordhandler.obj
RES = Version.res
GDAL_ROOT = ..
!INCLUDE ..\nmake.opt
!IF "$(SSSE3FLAGS)" == "/DHAVE_SSSE3_AT_COMPILE_TIME"
SSSE3_OBJ = rasterio_ssse3.obj
!ENDIF
EXTRAFLAGS = $(PAM_SETTING) -I..\frmts\gtiff -I..\frmts\mem -I..\frmts\vrt -I..\ogr\ogrsf_frmts\generic -I../ogr/ogrsf_frmts/geojson -I..\ogr\ogrsf_frmts\geojson\libjson $(PROJ_INCLUDE) $(SQLITEDEF) $(GEOS_CFLAGS)
!IFDEF SQLITE_LIB
SQLITEDEF = -DSQLITE_ENABLED
!ENDIF
!IFDEF XERCES_DIR
EXTRAFLAGS = $(EXTRAFLAGS) $(XERCES_INCLUDE) -DHAVE_XERCES
!ENDIF
!IFDEF LIBXML2_INC
EXTRAFLAGS = $(EXTRAFLAGS) -DHAVE_LIBXML2 $(LIBXML2_INC)
!ENDIF
default: gdal_version.h $(OBJ) $(RES) mdreader_dir $(SSSE3_OBJ)
gdal_version.h: gdal_version.h.in
copy gdal_version.h.in gdal_version.h
clean:
-del *.obj *.res
-del gdal_version.h
cd mdreader
$(MAKE) /f makefile.vc clean
cd ..
Version.res: gdal_version.h
rc -fo Version.res -r -I..\port -I..\ogr Version.rc
gdal_misc.obj: gdal_misc.cpp gdal_version.h
mdreader_dir:
cd mdreader
$(MAKE) /f makefile.vc
cd ..