]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/Makefile
tdb2: return TDB_ERR_RDONLY if trying to start a transaction on a R/O tdb.
[ccan] / tools / ccanlint / Makefile
index 5398d380d0c9a4626dcffa14718a3d9f93940db6..846adf627dc86277327477fe8b3c65507dc6cc3d 100644 (file)
@@ -2,16 +2,31 @@ COMPULSORY_TEST_CFILES := $(wildcard tools/ccanlint/compulsory_tests/*.c)
 NORMAL_TEST_CFILES := $(wildcard tools/ccanlint/tests/*.c)
 TEST_OBJS := $(NORMAL_TEST_CFILES:.c=.o) $(COMPULSORY_TEST_CFILES:.c=.o)
 
-CORE_OBJS := tools/ccanlint/ccanlint.o \
+CORE_OBJS := \
+       ccan/asort/asort.o \
+       ccan/btree/btree.o \
+       ccan/foreach/foreach.o \
+       ccan/grab_file/grab_file.o \
+       ccan/hash/hash.o \
+       ccan/htable/htable.o \
+       ccan/noerr/noerr.o \
+       ccan/opt/helpers.o \
+       ccan/opt/opt.o \
+       ccan/opt/parse.o \
+       ccan/opt/usage.o \
+       ccan/read_write_all/read_write_all.o \
+       ccan/str/str.o ccan/str/debug.o \
+       ccan/str_talloc/str_talloc.o \
+       ccan/talloc/talloc.o \
+       ccan/talloc_link/talloc_link.o \
+       ccan/time/time.o \
+       tools/ccanlint/ccanlint.o \
        tools/ccanlint/file_analysis.o \
-       tools/doc_extract-core.o \
-       tools/depends.o \
-       tools/tools.o \
+       tools/ccanlint/licenses.o \
        tools/compile.o \
-       ccan/str_talloc/str_talloc.o ccan/grab_file/grab_file.o \
-       ccan/btree/btree.o \
-       ccan/talloc/talloc.o ccan/noerr/noerr.o \
-       ccan/read_write_all/read_write_all.o
+       tools/depends.o \
+       tools/doc_extract-core.o \
+       tools/tools.o
 
 OBJS := $(CORE_OBJS) $(TEST_OBJS)
 
@@ -24,7 +39,7 @@ tools/ccanlint/generated-compulsory-tests: $(COMPULSORY_TEST_CFILES)
 $(TEST_OBJS): tools/ccanlint/generated-normal-tests tools/ccanlint/generated-compulsory-tests
 
 # Otherwise, ccanlint.c et al. may fail to build
-$(CORE_OBJS): tools/ccanlint/generated-normal-tests tools/ccanlint/generated-compulsory-tests
+$(CORE_OBJS): tools/ccanlint/generated-normal-tests tools/ccanlint/generated-compulsory-tests config.h
 
 tools/ccanlint/ccanlint: $(OBJS)