]> mj.ucw.cz Git - libucw.git/blobdiff - lib/Makefile
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
[libucw.git] / lib / Makefile
index 2ee53e141c8b180106d115045182b4c38f6aee3c..52751e11e95035c8e88d4631824df3b12f09e7c7 100644 (file)
@@ -59,7 +59,7 @@ LIBUCW_INCLUDES= \
        md5.h \
        base64.h base224.h \
        qache.h \
-       kmp.h kmp-search.h \
+       kmp.h kmp-search.h binsearch.h \
        partmap.h
 
 ifdef CONFIG_UCW_THREADS
@@ -122,10 +122,8 @@ endif
 
 API_LIBS+=libucw
 API_INCLUDES+=$(o)/lib/.include-stamp
-# XXX: We do not have a dependency on autoconf.h, but it is generated by configure
-# before make ever starts, so this is safe.
-$(o)/lib/.include-stamp: $(addprefix $(s)/lib/,$(LIBUCW_INCLUDES))
-       $(Q)$(s)/build/install-includes $(<D) run/include/lib $(?F)
+$(o)/lib/.include-stamp: $(addprefix $(s)/lib/,$(LIBUCW_INCLUDES)) obj/autoconf.h
+       $(Q)$(s)/build/install-includes $(<D) run/include/lib $(LIBUCW_INCLUDES)
        $(Q)$(s)/build/install-includes obj run/include/lib autoconf.h
        $(Q)touch $@
 run/lib/pkgconfig/libucw.pc: $(o)/lib/libucw.pc