@@ -168,39 +168,39 @@ ALL_PROGRAMS += $(C_PLUGINS)
168168
169169PLUGIN_ALL_OBJS := $(PLUGIN_ALL_SRC:.c=.o )
170170
171- # Make all plugins depend on all plugin headers, for simplicity.
172- $(PLUGIN_ALL_OBJS ) : $(PLUGIN_ALL_HEADER )
171+ # Make all plugins depend on all plugin headers, for simplicity (and this file!)
172+ $(PLUGIN_ALL_OBJS ) : $(PLUGIN_ALL_HEADER ) plugins/Makefile
173173
174- plugins/pay : $(PLUGIN_PAY_OBJS ) $(PLUGIN_LIB_OBJS ) $(PLUGIN_PAY_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
174+ plugins/pay : $(PLUGIN_PAY_OBJS ) $(PLUGIN_LIB_OBJS ) $(PLUGIN_PAY_LIB_OBJS ) libcommon.a
175175
176- plugins/autoclean : $(PLUGIN_AUTOCLEAN_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
176+ plugins/autoclean : $(PLUGIN_AUTOCLEAN_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
177177
178- plugins/chanbackup : $(PLUGIN_chanbackup_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
178+ plugins/chanbackup : $(PLUGIN_chanbackup_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
179179
180- plugins/commando : $(PLUGIN_COMMANDO_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
180+ plugins/commando : $(PLUGIN_COMMANDO_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
181181
182182# Topology wants to decode node_announcement, and peer_wiregen which
183183# pulls in some of bitcoin/.
184- plugins/topology : $(PLUGIN_TOPOLOGY_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
184+ plugins/topology : $(PLUGIN_TOPOLOGY_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
185185
186- plugins/txprepare : $(PLUGIN_TXPREPARE_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
186+ plugins/txprepare : $(PLUGIN_TXPREPARE_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
187187
188- plugins/exposesecret : $(PLUGIN_EXPOSESECRET_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
188+ plugins/exposesecret : $(PLUGIN_EXPOSESECRET_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
189189
190- plugins/bcli : $(PLUGIN_BCLI_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
190+ plugins/bcli : $(PLUGIN_BCLI_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
191191
192- plugins/keysend : $(PLUGIN_KEYSEND_OBJS ) $(PLUGIN_LIB_OBJS ) $(PLUGIN_PAY_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
192+ plugins/keysend : $(PLUGIN_KEYSEND_OBJS ) $(PLUGIN_LIB_OBJS ) $(PLUGIN_PAY_LIB_OBJS ) libcommon.a
193193$(PLUGIN_KEYSEND_OBJS ) : $(PLUGIN_PAY_LIB_HEADER ) libcommon.a
194194
195- plugins/spenderp : $(PLUGIN_SPENDER_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
195+ plugins/spenderp : $(PLUGIN_SPENDER_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
196196
197- plugins/offers : $(PLUGIN_OFFERS_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
197+ plugins/offers : $(PLUGIN_OFFERS_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
198198
199- plugins/funder : $(PLUGIN_FUNDER_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
199+ plugins/funder : $(PLUGIN_FUNDER_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
200200
201- plugins/recover : $(PLUGIN_RECOVER_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
201+ plugins/recover : $(PLUGIN_RECOVER_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
202202
203- plugins/recklessrpc : $(PLUGIN_RECKLESSRPC_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) libcommon.a
203+ plugins/recklessrpc : $(PLUGIN_RECKLESSRPC_OBJS ) $(PLUGIN_LIB_OBJS ) libcommon.a
204204
205205# This covers all the low-level list RPCs which return simple arrays
206206SQL_LISTRPCS := listchannels listforwards listhtlcs listinvoices listnodes listoffers listpeers listpeerchannels listclosedchannels listtransactions listsendpays listchainmoves listchannelmoves bkpr-listaccountevents bkpr-listincome
@@ -231,7 +231,7 @@ plugins/sql-schema_gen.h: $(SQL_SCHEMA_PARTS)
231231 )
232232
233233plugins/sql.o : plugins/sql-schema_gen.h
234- plugins/sql : $(PLUGIN_SQL_OBJS ) $(PLUGIN_LIB_OBJS ) $( JSMN_OBJS ) gossipd/gossip_store_wiregen.o libcommon.a
234+ plugins/sql : $(PLUGIN_SQL_OBJS ) $(PLUGIN_LIB_OBJS ) gossipd/gossip_store_wiregen.o libcommon.a
235235
236236# Generated from PLUGINS definition in plugins/Makefile
237237ALL_C_HEADERS += plugins/list_of_builtin_plugins_gen.h
0 commit comments