]> git.ozlabs.org Git - ccan/blobdiff - Makefile-ccan
ccanlint: fix missing file.
[ccan] / Makefile-ccan
index 40d03891e47c6e619c78b31466c1ea6538ee1ba4..31ad2e425237b405678127b9ff09a27cb7f530f1 100644 (file)
@@ -13,13 +13,15 @@ MODS_NO_SRC := alignof \
        asearch \
        bitmap \
        build_assert \
-       bytestring \
        cast \
        check_type \
        compiler \
        container_of \
+       cppmagic \
        darray \
        endian \
+       lqueue \
+       lstack \
        minmax \
        objset \
        short_types \
@@ -30,34 +32,48 @@ MODS_NO_SRC := alignof \
        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 \
@@ -68,22 +84,34 @@ MODS_WITH_SRC := antithread \
        lbalance \
        likely \
        list \
+       lpq \
        md4 \
-       memmem \
+       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 \
        take \
@@ -91,6 +119,7 @@ MODS_WITH_SRC := antithread \
        tal/grab_file \
        tal/link \
        tal/path \
+       tal/stack \
        tal/str \
        tal/talloc \
        talloc \
@@ -99,15 +128,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)))))