2021-01-13 04:00:24 +01:00
|
|
|
PLUGIN_TESTLIBPLUGIN_SRC := tests/plugins/test_libplugin.c
|
2020-01-31 18:36:26 +01:00
|
|
|
PLUGIN_TESTLIBPLUGIN_OBJS := $(PLUGIN_TESTLIBPLUGIN_SRC:.c=.o)
|
|
|
|
|
2022-07-16 06:55:09 +02:00
|
|
|
tests/plugins/test_libplugin: bitcoin/chainparams.o $(PLUGIN_TESTLIBPLUGIN_OBJS) $(PLUGIN_LIB_OBJS) $(PLUGIN_COMMON_OBJS) $(JSMN_OBJS)
|
2020-01-31 18:36:26 +01:00
|
|
|
|
|
|
|
$(PLUGIN_TESTLIBPLUGIN_OBJS): $(PLUGIN_LIB_HEADER)
|
|
|
|
|
2021-01-13 04:00:24 +01:00
|
|
|
PLUGIN_TESTSELFDISABLE_AFTER_GETMANIFEST_SRC := tests/plugins/test_selfdisable_after_getmanifest.c
|
|
|
|
PLUGIN_TESTSELFDISABLE_AFTER_GETMANIFEST_OBJS := $(PLUGIN_TESTSELFDISABLE_AFTER_GETMANIFEST_SRC:.c=.o)
|
|
|
|
|
2022-07-16 06:55:09 +02:00
|
|
|
tests/plugins/test_selfdisable_after_getmanifest: bitcoin/chainparams.o $(PLUGIN_TESTSELFDISABLE_AFTER_GETMANIFEST_OBJS) common/autodata.o common/json_parse_simple.o common/setup.o common/utils.o $(JSMN_OBJS)
|
2021-01-13 04:00:24 +01:00
|
|
|
|
2020-01-31 18:36:26 +01:00
|
|
|
# Make sure these depend on everything.
|
2021-01-13 04:00:24 +01:00
|
|
|
ALL_TEST_PROGRAMS += tests/plugins/test_libplugin tests/plugins/test_selfdisable_after_getmanifest
|
|
|
|
ALL_C_SOURCES += $(PLUGIN_TESTLIBPLUGIN_SRC) $(PLUGIN_TESTSELFDISABLE_AFTER_GETMANIFEST_SRC)
|