diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-04-24 23:06:35 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-04-24 23:06:35 -0700 |
commit | 0a4bbf74bdc55ed80e72aac2941dcd6aefc153b3 (patch) | |
tree | c248483f87cd4aea200636df37d4f69558f8bd69 /Makefile | |
parent | 1525ee4cfd3b8f9256c0e3f7deaefd0c6697c1e1 (diff) | |
download | txr-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-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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),) |