summaryrefslogtreecommitdiff
path: root/src/navigation/script/1navit.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/navigation/script/1navit.mk')
-rw-r--r--src/navigation/script/1navit.mk71
1 files changed, 0 insertions, 71 deletions
diff --git a/src/navigation/script/1navit.mk b/src/navigation/script/1navit.mk
deleted file mode 100644
index fc0bff5..0000000
--- a/src/navigation/script/1navit.mk
+++ /dev/null
@@ -1,71 +0,0 @@
-# @licence app begin@
-# SPDX-License-Identifier: MPL-2.0
-#
-# \copyright Copyright (C) 2013-2014, PCA Peugeot Citroen
-#
-# \file 1navit.mk
-#
-# \brief This file is part of the Build System.
-#
-# \author Martin Schaller <martin.schaller@it-schaller.de>
-# \author Philippe Colliot <philippe.colliot@mpsa.com>
-#
-# \version 1.0
-#
-# This Source Code Form is subject to the terms of the
-# Mozilla Public License (MPL), v. 2.0.
-# If a copy of the MPL was not distributed with this file,
-# You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# For further information see http://www.genivi.org/.
-#
-# List of changes:
-#
-# 4/6/2014, Philippe Colliot, complete src-clean option
-# 12/9/2014, Philippe Colliot, get navit from the svn
-#
-# @licence end@
-navit_SRC=$(SRC_DIR)/navit
-navit_SRC2=$(navit_SRC)/navit
-navit_BIN=$(BIN_DIR)/navit
-navit_URL=http://git.navit-project.org/navit.git
-navit_URL_SVN=http://svn.code.sf.net/p/navit/code/trunk
-#navit_VERSION=6d7a8e00a67e133981e322ad13a60c9a6a9896de
-navit_VERSION=8396f6f94ef9a16db679e9de353242899966a735
-navit_VERSION_SVN=5532 #the one that fits the git version primary used
-navit_DEPS=gtk2.0-dev cmake
-
-DEPS+=$(navit_DEPS)
-ALL+=navit navit_map
-SRC_CLEAN+=clean-navit_SRC
-
-help::
- @echo "navit: Build navit"
- @echo "navit_map: Download and install navit map"
-
-clean-navit_SRC::
- rm -rf $(navit_SRC)
-
-navit: $(navit_BIN)/navit/navit
-
-$(navit_BIN)/navit/navit: $(navit_BIN)/Makefile
- make -C $(navit_BIN)
-
-$(navit_BIN)/Makefile: $(navit_SRC2)/CMakeLists.txt
- mkdir -p $(navit_BIN)
- cd $(navit_BIN) && cmake -DDISABLE_QT=1 -DSAMPLE_MAP=0 -Dvehicle/null=1 -Dgraphics/qt_qpainter=0 $(navit_SRC2)
-
-$(navit_SRC2)/CMakeLists.txt:
- cd $(navit_SRC)/.. && svn checkout $(navit_URL_SVN) navit -r $(navit_VERSION_SVN)
-# cd $(navit_SRC)/.. && git clone $(navit_URL)
-# cd $(navit_SRC) && git checkout $(navit_VERSION)
-
-navit_map: $(navit_BIN)/navit/maps/switzerland.xml
-
-$(navit_BIN)/navit/maps/switzerland.xml: $(MAP_DIR)/switzerland.bin
- echo '<map type="binfile" data="$(MAP_DIR)/switzerland.bin" />' >$(navit_BIN)/navit/maps/switzerland.xml
-
-$(MAP_DIR)/switzerland.bin:
- mkdir -p $(MAP_DIR)
- wget -O $(MAP_DIR)/switzerland.bin.tmp http://www.navit-project.org/switzerland.bin
- mv $(MAP_DIR)/switzerland.bin.tmp $(MAP_DIR)/switzerland.bin