From 2cd1531e2bf4f0d7f11546bfdbc6c0933dc67571 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Tue, 2 Jun 2015 23:30:59 -0600 Subject: [PATCH] Use platform dependencies and clean up old cruft. --- Cargo.toml | 3 +-- Makefile.in | 25 ------------------------- configure | 4 ---- 3 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 Makefile.in delete mode 100755 configure diff --git a/Cargo.toml b/Cargo.toml index ae2aa5e..e90e25b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,6 @@ authors = ["The Servo Project Developers"] [dependencies] libc = "*" -[dependencies.core_foundation] - +[target.x86_64-apple-darwin.dependencies.core_foundation] git = "https://github.com/servo/rust-core-foundation" diff --git a/Makefile.in b/Makefile.in deleted file mode 100644 index 5ef24cd..0000000 --- a/Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ -VPATH=%VPATH% - -RUSTC ?= rustc -RUSTFLAGS ?= -EXT_DEPS ?= - -RUST_SRC=$(shell find $(VPATH)/src -type f -name '*.rs') - -.PHONY: all -all: libcore_graphics.dummy - -libcore_graphics.dummy: src/lib.rs $(RUST_SRC) $(EXT_DEPS) - $(RUSTC) $(RUSTFLAGS) $< --out-dir . - touch $@ - -core_graphics-test: src/lib.rs $(RUST_SRC) $(EXT_DEPS) - $(RUSTC) $(RUSTFLAGS) $< -o $@ --test - -.PHONY: check -check: core_graphics-test - ./core_graphics-test $(TEST) - -.PHONY: clean -clean: - rm -f *.o *.a *.so *.dylib *.rlib *.dll *.dummy *-test diff --git a/configure b/configure deleted file mode 100755 index 62a0f4c..0000000 --- a/configure +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -SRCDIR="$(cd $(dirname $0) && pwd)" -sed "s#%VPATH%#${SRCDIR}#" ${SRCDIR}/Makefile.in > Makefile