Sha256: 7977e3a303422930f4b6b776956bd90c67e07959d2b757107acadad841a66e59

Contents?: true

Size: 570 Bytes

Versions: 2

Compression:

Stored size: 570 Bytes

Contents

# -*- makefile -*-

CFLAGS += -Werror
LIBS += -lpthread
INCFLAGS += -I$(BUILD_DIR) -I$(LIBFFI_BUILD_DIR)/include
LOCAL_LIBS += $(LIBFFI)

FFI_MMAP_EXEC = -DFFI_MMAP_EXEC_WRIT
FFI_CFLAGS = $(FFI_MMAP_EXEC) $(OFLAGS)
BUILD_DIR = $(PWD)/build
LIBFFI_SRC_DIR = $(PWD)/$(srcdir)/libffi
LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi
LIBFFI = $(LIBFFI_BUILD_DIR)/.libs/libffi_convenience.a
FFI_CONFIGURE = sh $(LIBFFI_SRC_DIR)/configure --disable-static \
	--with-pic=yes --disable-dependency-tracking

$(OBJS):	$(LIBFFI)

clean:	libffi_clean

libffi_clean::
	$(RM) -r $(BUILD_DIR)


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffi-0.1.1 ext/ffi.mk
ffi-0.1.0 ext/ffi.mk