summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-04-24 23:06:35 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-04-24 23:06:35 -0700
commit0a4bbf74bdc55ed80e72aac2941dcd6aefc153b3 (patch)
treec248483f87cd4aea200636df37d4f69558f8bd69 /Makefile
parent1525ee4cfd3b8f9256c0e3f7deaefd0c6697c1e1 (diff)
downloadtxr-0a4bbf74bdc55ed80e72aac2941dcd6aefc153b3.tar.gz
txr-0a4bbf74bdc55ed80e72aac2941dcd6aefc153b3.tar.bz2
txr-0a4bbf74bdc55ed80e72aac2941dcd6aefc153b3.zip
Start of FFI implementation based on libffi.
* Makefile (OBJS): Add ffi.o. * configure (have_libffi): New variable. (gen_config_make): Generate have_libffi make variable. New check for availability of libffi. * ffi.c, ffi.h: New files. * lib.c (init): Call ffi_init.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 25f26944..70c41fe5 100644
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,7 @@ OBJS-$(have_posix_sigs) += signal.o
OBJS-$(have_sockets) += socket.o
OBJS-$(have_termios) += termios.o
OBJS-$(have_termios) += linenoise/linenoise.o
+OBJS-$(have_libffi) += ffi.o
EXTRA_OBJS-$(add_win_res) += win/txr.res
ifneq ($(have_git),)