Sha256: 9fd821f73219505b2a8e5aac79d12d3aebbc4be4102a4dc26d2dd5ba114b4a19

Contents?: true

Size: 838 Bytes

Versions: 11

Compression:

Stored size: 838 Bytes

Contents

# -*- makefile -*-
#
# Makefile for BSD systems
#

INCFLAGS += -I${LIBFFI_BUILD_DIR}/include
LOCAL_LIBS += ${LIBFFI} -lpthread

LIBFFI_CFLAGS = ${FFI_MMAP_EXEC} -pthread
LIBFFI_BUILD_DIR = ${.CURDIR}/libffi

.if "${srcdir}" == "."
  LIBFFI_SRC_DIR := ${.CURDIR}/libffi
.else
  LIBFFI_SRC_DIR := ${srcdir}/libffi
.endif


LIBFFI = ${LIBFFI_BUILD_DIR}/.libs/libffi_convenience.a
LIBFFI_CONFIGURE = ${LIBFFI_SRC_DIR}/configure --disable-static \
	--with-pic=yes --disable-dependency-tracking

$(OBJS):	${LIBFFI}

$(LIBFFI):		
	@mkdir -p ${LIBFFI_BUILD_DIR}
	@if [ ! -f ${LIBFFI_BUILD_DIR}/Makefile ]; then \
	    echo "Configuring libffi"; \
	    cd ${LIBFFI_BUILD_DIR} && \
		/usr/bin/env CC="${CC}" LD="${LD}" CFLAGS="${LIBFFI_CFLAGS}" \
		/bin/sh ${LIBFFI_CONFIGURE} ${LIBFFI_HOST} > /dev/null; \
	fi
	@cd ${LIBFFI_BUILD_DIR} && ${MAKE}

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
ffi-ffi-0.5.0 ext/ffi_c/libffi.bsd.mk
remogatto-ffi-0.5.0 ext/ffi_c/libffi.bsd.mk
minilab-1.1.0-x86-mswin32-60 vendor/ffi-0.4.0-x86-mswin32/ext/ffi_c/libffi.bsd.mk
ffi-0.5.1-x86-mswin32 ext/ffi_c/libffi.bsd.mk
ffi-0.5.1 ext/ffi_c/libffi.bsd.mk
ffi-0.5.1-x86-mingw32 ext/ffi_c/libffi.bsd.mk
ffi-0.5.0-x86-mswin32 ext/ffi_c/libffi.bsd.mk
ffi-0.5.0-x86-mingw32 ext/ffi_c/libffi.bsd.mk
ffi-0.5.0 ext/ffi_c/libffi.bsd.mk
ffi-0.4.0-x86-mswin32 ext/ffi_c/libffi.bsd.mk
ffi-0.4.0 ext/ffi_c/libffi.bsd.mk