aboutsummaryrefslogtreecommitdiffstats
path: root/src/support/encoding
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/encoding')
-rw-r--r--src/support/encoding/Makefile.in51
-rwxr-xr-xsrc/support/encoding/configure5
m---------src/support/encoding/rust-encoding0
3 files changed, 0 insertions, 56 deletions
diff --git a/src/support/encoding/Makefile.in b/src/support/encoding/Makefile.in
deleted file mode 100644
index 6d36cf946c2..00000000000
--- a/src/support/encoding/Makefile.in
+++ /dev/null
@@ -1,51 +0,0 @@
-VPATH=%VPATH%
-
-CC ?= gcc
-CXX ?= g++
-CXXFLAGS ?=
-AR ?= ar
-RUSTC ?= rustc
-RUSTDOC ?= rustdoc
-RUSTFLAGS ?=
-EXT_DEPS ?=
-RUSTDOC_FLAGS ?=
-RUSTDOC_TARGET ?= doc
-
-LIB_RS = src/encoding/lib.rs
-RUST_SRC = $(shell find $(VPATH)/src/encoding/. -type f -name '*.rs')
-
-# rustdoc links dynamically, so we need to add '.' to the dynamic library path
-ifeq ($(CFG_OSTYPE),apple-darwin)
-export DYLD_LIBRARY_PATH := .:$(DYLD_LIBRARY_PATH)
-else
-export LD_LIBRARY_PATH := .:$(LD_LIBRARY_PATH)
-endif
-
-.PHONY: all
-all: libencoding.dummy
-
-libencoding.dummy: $(LIB_RS) $(RUST_SRC) $(EXT_DEPS)
- $(RUSTC) $(RUSTFLAGS) $< --crate-type rlib
- touch $@
-
-rustencoding-test: $(LIB_RS) $(RUST_SRC) libencoding.dummy
- $(RUSTC) $(RUSTFLAGS) $< -o $@ --test
-
-.PHONY: doctest
-doctest: $(LIB_RS) $(RUST_SRC) libencoding.dummy
- $(RUSTDOC) $< -L . --test
-
-.PHONY: check
-check: rustencoding-test
- ./rustencoding-test
-
-.PHONY: doc
-doc: $(RUSTDOC_TARGET)/encoding/index.html
-
-$(RUSTDOC_TARGET)/encoding/index.html: $(LIB_RS) $(RUST_SRC) $(EXT_DEPS)
- $(RUSTDOC) $(RUSTDOC_FLAGS) $< -o $(RUSTDOC_TARGET)
-
-.PHONY: clean
-clean:
- rm -f *.o *.a *.so *.dylib *.rlib *.dll *.dummy *.exe *-test
-
diff --git a/src/support/encoding/configure b/src/support/encoding/configure
deleted file mode 100755
index f0af33bea1e..00000000000
--- a/src/support/encoding/configure
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-SRCDIR="$(cd $(dirname $0) && pwd)"
-sed "s#%VPATH%#${SRCDIR}/rust-encoding#" ${SRCDIR}/Makefile.in > Makefile
-
diff --git a/src/support/encoding/rust-encoding b/src/support/encoding/rust-encoding
deleted file mode 160000
-Subproject 6bb05b9c27d6801a3981ca0da4aa5bb9808e639