]> git.ozlabs.org Git - ccan/blob - tools/Makefile
tdb2: rearrange tdb_context layout so tdb1_context can match
[ccan] / tools / Makefile
1 ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint
2
3 DEP_OBJS = ccan/grab_file/grab_file.o \
4         ccan/noerr/noerr.o \
5         ccan/read_write_all/read_write_all.o \
6         ccan/str/debug.o \
7         ccan/str/str.o \
8         ccan/str_talloc/str_talloc.o \
9         ccan/talloc/talloc.o \
10         ccan/time/time.o \
11         tools/compile.o \
12         tools/depends.o \
13         tools/tools.o
14
15 .PHONY: tools
16 tools: $(ALL_TOOLS)
17
18 tools/ccan_depends: tools/ccan_depends.o $(DEP_OBJS)
19
20 tools/doc_extract: tools/doc_extract.o tools/doc_extract-core.o $(DEP_OBJS)
21
22 tools/namespacize: tools/namespacize.o $(DEP_OBJS)
23
24 tools/namespacize.o tools/depends.o: tools/tools.h
25
26 tools/configurator/configurator: tools/configurator/configurator.c
27
28 tools-clean: ccanlint-clean
29         $(RM) $(ALL_TOOLS)
30
31 include tools/ccanlint/Makefile