summaryrefslogtreecommitdiff
path: root/utils/mbgl-config
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-03-31 11:50:21 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-01 09:56:40 -0700
commit6c0d6eac55036ec18702bfba7daf0135c3dbd8ea (patch)
treee01f1aa705f3ae8af7b0dae0dc397e946a7a5db4 /utils/mbgl-config
parent879382f72405edd1840d2f37744bcba49131859a (diff)
downloadqtlocation-mapboxgl-6c0d6eac55036ec18702bfba7daf0135c3dbd8ea.tar.gz
[build] Remove install/standalone/mbgl-config build cruft
This is all believed to be unused, and most or all of it is probably broken.
Diffstat (limited to 'utils/mbgl-config')
-rwxr-xr-xutils/mbgl-config/build.sh17
-rw-r--r--utils/mbgl-config/mbgl-config.template.sh61
2 files changed, 0 insertions, 78 deletions
diff --git a/utils/mbgl-config/build.sh b/utils/mbgl-config/build.sh
deleted file mode 100755
index f5e6c5d482..0000000000
--- a/utils/mbgl-config/build.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-PREFIX=$1
-LDFLAGS=$2
-
-VARIABLES="#!/bin/bash
-
-## variables
-
-CONFIG_MBGL_PREFIX=$PREFIX
-CONFIG_MBGL_LDFLAGS=\"`cat $LDFLAGS`\"
-"
-
-echo "$VARIABLES" | cat - utils/mbgl-config/mbgl-config.template.sh \
- > $PREFIX/bin/mbgl-config
-
-chmod 755 $PREFIX/bin/mbgl-config
diff --git a/utils/mbgl-config/mbgl-config.template.sh b/utils/mbgl-config/mbgl-config.template.sh
deleted file mode 100644
index f51120ad18..0000000000
--- a/utils/mbgl-config/mbgl-config.template.sh
+++ /dev/null
@@ -1,61 +0,0 @@
-## program below
-
-usage()
-{
- cat <<EOF
-Usage:
- mbgl-config [OPTION...]
-
-Help Options:
- -h, --help Show help options
-
-Application Options:
- --prefix output prefix where mbgl is installed
- --libs output -L flags
- --includedir output include directory path
-EOF
-
- exit $1
-}
-
-echoerr() { echo "$@" 1>&2; }
-
-if test $# -eq 0; then
- usage 1
-fi
-
-while test $# -gt 0; do
- case "$1" in
- esac
-
- case "$1" in
-
- --help)
- usage 0
- ;;
-
- -h)
- usage 0
- ;;
-
- --prefix)
- echo ${CONFIG_MBGL_PREFIX}
- ;;
-
- --libs)
- echo ${CONFIG_MBGL_PREFIX}/lib/libmbgl.a ${CONFIG_MBGL_LDFLAGS}
- ;;
-
- --includedir)
- echo ${CONFIG_MBGL_PREFIX}/include
- ;;
-
- *)
- # push to stderr any invalid options
- echo "unknown option $1" 1>&2;
- ;;
- esac
- shift
-done
-
-exit 0