X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=Makefile-ccan;h=bd6af5ca35274bf411369b47b34bc56afa71260e;hb=64b9c66673ed48b09c9be72668acdfb9230df488;hp=54430c03e1adde21f680a24b2e8dbf21d22f266d;hpb=495f0115718b6d64b2ed597713d11aaed9da5fe9;p=ccan diff --git a/Makefile-ccan b/Makefile-ccan index 54430c03..bd6af5ca 100644 --- a/Makefile-ccan +++ b/Makefile-ccan @@ -17,8 +17,11 @@ MODS_NO_SRC := alignof \ check_type \ compiler \ container_of \ + cppmagic \ darray \ endian \ + lqueue \ + lstack \ minmax \ objset \ short_types \ @@ -29,12 +32,16 @@ MODS_NO_SRC := alignof \ version # No external dependencies, with C code: -MODS_WITH_SRC := antithread \ +MODS_WITH_SRC := aga \ + agar \ + altstack \ + antithread \ antithread/alloc \ asort \ asprintf \ autodata \ avl \ + base64 \ bdelta \ block_pool \ breakpoint \ @@ -47,13 +54,18 @@ MODS_WITH_SRC := antithread \ crc \ crcsync \ cpuid \ + crypto/ripemd160 \ + crypto/sha256 \ + crypto/shachain \ daemonize \ daemon_with_notify \ + deque \ dgraph \ eratosthenes \ err \ failtest \ foreach \ + generator \ grab_file \ hash \ heap \ @@ -71,8 +83,7 @@ MODS_WITH_SRC := antithread \ lbalance \ likely \ list \ - lqueue \ - lstack \ + lpq \ md4 \ mem \ net \ @@ -81,17 +92,25 @@ MODS_WITH_SRC := antithread \ ntdb \ ogg_to_pcm \ opt \ + order \ + permutation \ + pipecmd \ + pr_log \ + ptrint \ ptr_valid \ pushpull \ rbtree \ rbuf \ read_write_all \ rfc822 \ + rszshm \ siphash \ sparse_bsearch \ str \ + str/hex \ stringbuilder \ stringmap \ + strgrp \ strmap \ strset \ take \ @@ -99,6 +118,7 @@ MODS_WITH_SRC := antithread \ tal/grab_file \ tal/link \ tal/path \ + tal/stack \ tal/str \ tal/talloc \ talloc \ @@ -107,15 +127,16 @@ MODS_WITH_SRC := antithread \ time \ timer \ ttxml \ - wwviaudio + wwviaudio \ + xstring MODS:=$(MODS_WITH_SRC) $(MODS_NO_SRC) default: libccan.a # Automatic dependency generation: makes ccan/*/*.d files. -DEPGEN=-MD --include ccan/*/*.d +DEPGEN=-MMD +-include $(foreach m, $(MODS), ccan/$(m)/*.d) # Anything with C files needs building; dir leaves / on, sort uniquifies DIRS=$(patsubst %/, %, $(sort $(foreach m, $(filter-out $(MODS_EXCLUDE), $(MODS_WITH_SRC)), $(dir $(wildcard ccan/$m/*.c)))))