X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile-ccan;h=31ad2e425237b405678127b9ff09a27cb7f530f1;hp=41548de61db60c9dbed25b47a3df3e052a8f37f4;hb=ee77e470b467cf85dc533cee8c08e08bd4c9be06;hpb=59208d61ceac29b28bd2a15cc0f3ebad524d9b6a diff --git a/Makefile-ccan b/Makefile-ccan index 41548de6..31ad2e42 100644 --- a/Makefile-ccan +++ b/Makefile-ccan @@ -13,50 +13,67 @@ MODS_NO_SRC := alignof \ asearch \ bitmap \ build_assert \ - bytestring \ cast \ check_type \ compiler \ container_of \ + cppmagic \ darray \ endian \ + lqueue \ + lstack \ minmax \ objset \ short_types \ + structeq \ tcon \ tlist \ typesafe_cb \ version # No external dependencies, with C code: -MODS_WITH_SRC := antithread \ +MODS_WITH_SRC := a_star \ + aga \ + agar \ + altstack \ + antithread \ antithread/alloc \ asort \ asprintf \ autodata \ avl \ + base64 \ bdelta \ block_pool \ breakpoint \ btree \ + bytestring \ ccan_tokenizer \ + cdump \ charset \ ciniparser \ crc \ crcsync \ cpuid \ + crypto/ripemd160 \ + crypto/sha256 \ + crypto/shachain \ daemonize \ daemon_with_notify \ + deque \ dgraph \ + eratosthenes \ err \ failtest \ foreach \ + generator \ grab_file \ hash \ heap \ htable \ idtree \ ilog \ + invbloom \ io \ isaac \ iscsi \ @@ -67,46 +84,60 @@ MODS_WITH_SRC := antithread \ lbalance \ likely \ list \ + lpq \ md4 \ + mem \ net \ nfs \ noerr \ + 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 \ - str_talloc \ take \ tal \ + tal/grab_file \ tal/link \ tal/path \ + tal/stack \ tal/str \ tal/talloc \ talloc \ - talloc_link \ tally \ tap \ 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)))))