X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2FMakefile;h=691f270890e0f352edc3f2815c97a01ab59428ad;hp=3720c9198c482b7c91e981f83b4bba474d8d0fac;hb=79ac0049672b1f27b1a7121d06cc38721f76b8e1;hpb=43ea89157d6cf730d44050548cb60407da60cb0f diff --git a/tools/ccanlint/Makefile b/tools/ccanlint/Makefile index 3720c919..691f2708 100644 --- a/tools/ccanlint/Makefile +++ b/tools/ccanlint/Makefile @@ -3,47 +3,48 @@ TEST_OBJS := $(TEST_CFILES:.c=.o) CORE_OBJS := \ ccan/asort/asort.o \ - ccan/btree/btree.o \ + ccan/autodata/autodata.o \ ccan/dgraph/dgraph.o \ ccan/foreach/foreach.o \ - ccan/grab_file/grab_file.o \ ccan/hash/hash.o \ ccan/htable/htable.o \ + ccan/ilog/ilog.o \ ccan/lbalance/lbalance.o \ + ccan/list/list.o \ ccan/noerr/noerr.o \ ccan/opt/helpers.o \ ccan/opt/opt.o \ ccan/opt/parse.o \ ccan/opt/usage.o \ + ccan/ptr_valid/ptr_valid.o \ + ccan/rbuf/rbuf.o \ ccan/read_write_all/read_write_all.o \ ccan/str/str.o ccan/str/debug.o \ - ccan/str_talloc/str_talloc.o \ ccan/strmap/strmap.o \ - ccan/talloc/talloc.o \ - ccan/talloc_link/talloc_link.o \ + ccan/take/take.o \ + ccan/tal/tal.o \ + ccan/tal/grab_file/grab_file.o \ + ccan/tal/link/link.o \ + ccan/tal/path/path.o \ + ccan/tal/str/str.o \ ccan/time/time.o \ tools/ccanlint/async.o \ tools/ccanlint/ccanlint.o \ tools/ccanlint/file_analysis.o \ tools/ccanlint/licenses.o \ + tools/ccan_dir.o \ tools/compile.o \ tools/depends.o \ tools/doc_extract-core.o \ + tools/manifest.o \ + tools/read_config_header.o \ tools/tools.o OBJS := $(CORE_OBJS) $(TEST_OBJS) -# FIXME: write a trivial C program to do this -tools/ccanlint/generated-testlist: $(TEST_CFILES) - cat $^ | grep ^REGISTER_TEST > $@ - -$(TEST_OBJS): tools/ccanlint/generated-testlist - -# Otherwise, ccanlint.c et al. may fail to build -$(CORE_OBJS): tools/ccanlint/generated-testlist config.h +$(CORE_OBJS): config.h tools/ccanlint/ccanlint: $(OBJS) ccanlint-clean: - $(RM) tools/ccanlint/generated-testlist $(RM) tools/ccanlint/ccanlint