cln/plugins/xpay/Makefile
Rusty Russell ed42adc9e4 plugins: move listpays from pay plugin to xpay plugin.
This will make life easier when we remove the pay plugin, but also fixes
an issue where `listpays` can indicate ongoing payments are failed,
even though xpay is still working on it.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2026-05-11 13:51:52 +09:30

16 lines
490 B
Makefile

PLUGIN_XPAY_SRC := \
plugins/xpay/listpays.c \
plugins/xpay/xpay.c
PLUGIN_XPAY_HDRS :=
PLUGIN_XPAY_OBJS := $(PLUGIN_XPAY_SRC:.c=.o)
# Make sure these depend on everything.
ALL_C_SOURCES += $(PLUGIN_XPAY_SRC)
ALL_C_HEADERS += $(PLUGIN_XPAY_HDRS)
# Make all plugins depend on all plugin headers, for simplicity (and this file)
$(PLUGIN_XPAY_OBJS): $(PLUGIN_XPAY_HDRS) $(PLUGIN_LIB_HEADER) plugins/xpay/Makefile
plugins/cln-xpay: $(PLUGIN_XPAY_OBJS) $(PLUGIN_LIB_OBJS) libcommon.a