Commit 360fa1f0 authored by Steven Fackler's avatar Steven Fackler
Browse files

Build static and dynamic libs

parent 490e518c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
RUSTC = rustc
BUILDDIR = build
RUSTFLAGS = -O -Z debug-info
RUSTFLAGS = -O -Z extra-debug-info --cfg ndebug
INSTALL_DIR = %PREFIX%

OPENSSL_LIB = lib.rs
OPENSSL = $(BUILDDIR)/$(shell $(RUSTC) --crate-file-name $(OPENSSL_LIB))
OPENSSL = $(foreach file,$(shell $(RUSTC) --crate-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file))
OPENSSL_TEST = $(BUILDDIR)/$(shell $(RUSTC) --test --crate-file-name $(OPENSSL_LIB))

all: $(OPENSSL)
+2 −1
Original line number Diff line number Diff line
#[feature(struct_variant, macro_rules)];
#[crate_id="github.com/sfackler/rust-openssl#openssl:0.0"];
#[crate_type="lib"];
#[crate_type="rlib"];
#[crate_type="dylib"];
#[doc(html_root_url="http://www.rust-ci.org/sfackler/rust-openssl/doc")];

extern mod extra;