Sha256: 3cd17348d838130c3a6c82b1645410482c5b0f74cae8562b87b5f49e904e4ef4

Contents?: true

Size: 836 Bytes

Versions: 107

Compression:

Stored size: 836 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

107 entries across 105 versions & 8 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.7.4 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.7.3 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.7.2 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.7.1 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.7.0 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
ffi-0.6.4 ext/ffi_c/libffi.bsd.mk
classiccms-0.6.9 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.6.8 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.6.7 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.6.6 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.6.5 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.6.4 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.6.3 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.6.2 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.6.1 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.6.0 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.5.17 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.5.16 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk
classiccms-0.5.15 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/libffi.bsd.mk