mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-10 08:34:19 +01:00
plugin/libplugin: API for C plugins.
Doesn't do logging yet. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
ed356dae62
commit
de4043a32a
37
plugins/Makefile
Normal file
37
plugins/Makefile
Normal file
@@ -0,0 +1,37 @@
|
||||
PLUGIN_LIB_SRC := plugins/libplugin.c
|
||||
PLUGIN_LIB_HEADER := plugins/libplugin.h
|
||||
PLUGIN_LIB_OBJS := $(PLUGIN_LIB_SRC:.c=.o)
|
||||
|
||||
PLUGIN_COMMON_OBJS := \
|
||||
bitcoin/chainparams.o \
|
||||
bitcoin/pubkey.o \
|
||||
bitcoin/pullpush.o \
|
||||
bitcoin/script.o \
|
||||
bitcoin/shadouble.o \
|
||||
bitcoin/short_channel_id.o \
|
||||
bitcoin/signature.o \
|
||||
bitcoin/tx.o \
|
||||
bitcoin/varint.o \
|
||||
common/bech32.o \
|
||||
common/bech32_util.o \
|
||||
common/bolt11.o \
|
||||
common/daemon.o \
|
||||
common/hash_u5.o \
|
||||
common/json.o \
|
||||
common/json_escaped.o \
|
||||
common/json_tok.o \
|
||||
common/memleak.o \
|
||||
common/param.o \
|
||||
common/type_to_string.o \
|
||||
common/utils.o \
|
||||
common/version.o \
|
||||
wire/fromwire.o \
|
||||
wire/towire.o
|
||||
|
||||
# Make sure these depend on everything.
|
||||
ALL_OBJS += $(PLUGIN_LIB_OBJS)
|
||||
|
||||
clean: plugin-clean
|
||||
|
||||
plugin-clean:
|
||||
$(RM) $(PLUGIN_LIB_OBJS)
|
||||
Reference in New Issue
Block a user