~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to swig/java/makefile.vc

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
GDALLIB =    $(GDAL_ROOT)\gdal.lib
9
9
!ENDIF
10
10
 
 
11
JAVA_RUN = $(JAVA) -Djava.library.path=. -cp gdal.jar;build\apps
 
12
 
11
13
OBJ     =       gdal_wrap.obj gdalconst_wrap.obj ogr_wrap.obj osr_wrap.obj
12
14
 
13
15
all:  ogr_dir gdal_dir const_dir osr_dir
42
44
        cd ..
43
45
        link osr_wrap.obj $(GDALLIB) /out:osrjni.dll /DLL
44
46
        if exist osrjni.dll.manifest mt -manifest osrjni.dll.manifest -outputresource:osrjni.dll;2
45
 
        
46
 
        
 
47
 
 
48
test:
 
49
        if exist tmp_test rmdir /s /q tmp_test
 
50
        mkdir tmp_test
 
51
        copy  test_data\byte.tif tmp_test
 
52
        $(JAVA_RUN) GDALOverviews tmp_test/byte.tif "NEAREST" 2 4
 
53
        $(JAVA_RUN) gdalinfo -checksum tmp_test/byte.tif
 
54
        $(JAVA_RUN) ogr2ogr tmp_test/out.shp test_data/poly.shp -progress -overwrite
 
55
        $(JAVA_RUN) ogrinfo -ro -al tmp_test/out.shp
 
56
        $(JAVA_RUN) OSRTransform
 
57
        $(JAVA_RUN) gdalmajorobject
 
58
        $(JAVA_RUN) GDALTestIO
 
59
        $(JAVA_RUN) GDALContour -i 1 tmp_test/byte.tif tmp_test/contour.shp
 
60
        $(JAVA_RUN) testgetpoints
 
61
 
47
62
clean:
48
 
  if exist org\nul rmdir /s /q org
 
63
        if exist org\nul rmdir /s /q org
 
64
        if exist build rmdir /s /q build
49
65
        cd gdal
50
66
        $(MAKE) /f makefile.vc clean
51
67
        cd ..
58
74
        cd osr
59
75
        $(MAKE) /f makefile.vc clean
60
76
        cd ..   
61
 
        -del gdal.lib
 
77
        -del gdal.jar
62
78
        -del *.dll
63
79
        -del *.obj
64
80
        -del *.exp
69
85
        -del *.cs
70
86
        -del *.cpp
71
87
        -del *.lib
 
88
        -del *.dll.manifest