~ubuntu-branches/ubuntu/oneiric/mkgmap/oneiric

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine, Andreas Putzo, Francesco Paolo Lovergine
  • Date: 2009-07-16 11:10:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090716111016-yycxqya1f26xmti7
Tags: 0.0.0+svn1067-1
[ Andreas Putzo ]
* New upstream snapshot.
* Added ${misc:Depends} among dependencies to fix a lintian warning.
* Bumped debhelper compatibility level to 7.
* Updated long description.
* Updated Homepage in debian/control, debian/copyright, debian/watch.
* Added numerous files from /doc to debian/docs.
* Mentioned Bernhard Heibler in debian/copyright and updated copyright
  year of software and packaging.
* Bumped policy to 3.8.2, without changes.
* Added DM-Upload-Allowed to debian/control.

[ Francesco Paolo Lovergine ]
* Added me as Uploader to avoid possible inappropriate NMU notices.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#OSMDATA = maps/lon.mp
12
12
#OSMDATA = --mapname=90000001 test-map:all-elements
13
13
#OSMDATA = /opt/data/uk-071010-1.osm.gz /opt/data/uk-071010-2.osm.gz
14
 
# takes 22s
 
14
# takes 31s on trunk-681
15
15
OSMDATA = /opt/data/uk-071010-1.osm.gz
16
16
#OSMDATA = test/osm5/srtm.osm
17
17
#OSMDATA = --latin1 /opt/data/osmworld/*.gz
25
25
#OSMDATA = test/samples/test.osm
26
26
#OSMDATA = seqld.osm.gz
27
27
#OSMDATA = --net --style=default --name-tag-list='name:en int_name name' test.osm
28
 
OSMDATA = /opt/data/uk-test-*
 
28
#OSMDATA = /opt/data/uk-test-1.osm.gz
 
29
OSMDATA = /opt/data/uk-lon.osm
 
30
#OSMDATA = other.mp
29
31
 
30
32
 
31
33
TIME=/usr/bin/time --format 'Real: %E, %S+%U'
32
34
 
33
35
#OPTS= --levels='0=24,1=22,2=20'
34
 
OPTS= --tdbfile --gmapsupp
 
36
#OPTS= --route --tdbfile --tdb-v4 
 
37
OPTS=--tdbfile --family-id=909 --series-name="other map"  --description='A test map'
35
38
 
36
39
makemap: clean
37
 
        $(TIME) java -cp build/classes uk.me.parabola.mkgmap.main.Main $(OPTS) $(OSMDATA)
38
 
        cp 63240001.img gmapsupp.img
39
 
        imgdecode gmapsupp.img
 
40
        $(TIME) java -Xmx500m -cp build/classes uk.me.parabola.mkgmap.main.Main $(OPTS) $(OSMDATA)
 
41
        #cp 63240001.img gmapsupp.img
 
42
        #imgdecode gmapsupp.img
40
43
 
41
44
t:
42
45
        java -Dlog.config=l -ea -cp build/classes uk.me.parabola.mkgmap.main.Main $(OPTS) $(OSMDATA)
43
46
 
 
47
base: clean
 
48
        $(TIME) java -cp build/classes uk.me.parabola.mkgmap.main.Main /opt/data/uk-test-1.osm.gz
 
49
        cp 63240001.img gmapsupp.img
 
50
        imgdecode gmapsupp.img
 
51
 
 
52
other: clean
 
53
        java -Dlog.config=l -ea -cp build/classes uk.me.parabola.mkgmap.main.Main \
 
54
                --tdbfile --tdb-v4 --levels=0:24 --route 63240001.mp
 
55
        cp 63240001.img gmapsupp.img
 
56
        imgdecode gmapsupp.img
 
57
 
44
58
.PHONY: clean
45
59
clean:
46
60
        rm -f 63240001/* gmapsupp/* mkgmap.log out.log
89
103
        imgdecode 32860003.img
90
104
 
91
105
tests:
 
106
        java -ea -cp build/classes uk.me.parabola.mkgmap.main.Main localtest/osm5/empty.osm
92
107
        java -ea -cp build/classes uk.me.parabola.mkgmap.main.Main localtest/osm/63243936
93
108
        java -ea -cp build/classes uk.me.parabola.mkgmap.main.Main localtest/osm/63247525
94
109
        java -ea -cp build/classes uk.me.parabola.mkgmap.main.Main localtest/osm/63253506