diff options
Diffstat (limited to 'lib/libblocksruntime')
-rw-r--r-- | lib/libblocksruntime/Makefile | 12 | ||||
-rw-r--r-- | lib/libblocksruntime/Makefile.depend | 15 | ||||
-rw-r--r-- | lib/libblocksruntime/config.h | 13 |
3 files changed, 40 insertions, 0 deletions
diff --git a/lib/libblocksruntime/Makefile b/lib/libblocksruntime/Makefile new file mode 100644 index 000000000000..baadcfd0f95c --- /dev/null +++ b/lib/libblocksruntime/Makefile @@ -0,0 +1,12 @@ +PACKAGE=lib${LIB:tl} +LIB= BlocksRuntime +SHLIB_MAJOR=0 +CFLAGS+=-I${.CURDIR} +WARNS?= 2 + +.PATH: ${SRCTOP}/contrib/llvm-project/compiler-rt/lib/BlocksRuntime + +INCS= Block.h Block_private.h +SRCS= data.c runtime.c + +.include <bsd.lib.mk> diff --git a/lib/libblocksruntime/Makefile.depend b/lib/libblocksruntime/Makefile.depend new file mode 100644 index 000000000000..6ef78fac5cbf --- /dev/null +++ b/lib/libblocksruntime/Makefile.depend @@ -0,0 +1,15 @@ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/lib/libblocksruntime/config.h b/lib/libblocksruntime/config.h new file mode 100644 index 000000000000..fe7921dba95a --- /dev/null +++ b/lib/libblocksruntime/config.h @@ -0,0 +1,13 @@ + +/* #undef HAVE_SYS_BYTEORDER_H */ +/* #undef HAVE_AVAILABILITY_MACROS_H */ +/* #undef HAVE_TARGET_CONDITIONALS_H */ +/* #undef HAVE_LIBKERN_OSATOMIC_H */ + +#define HAVE_SYSCONF 1 + +/* #undef HAVE_OSATOMIC_COMPARE_AND_SWAP_INT */ +/* #undef HAVE_OSATOMIC_COMPARE_AND_SWAP_LONG */ + +#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT 1 +#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG 1 |