X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/7cf5c72a6d353ed5a7e340562c11e54c21c85e5e..ecfe3bffa6cc019ba7e358dbe359f10e5ce6a09d:/hash/Makefile.am diff --git a/hash/Makefile.am b/hash/Makefile.am index 4ab562c..877cd3a 100644 --- a/hash/Makefile.am +++ b/hash/Makefile.am @@ -28,6 +28,7 @@ include $(top_srcdir)/vars.am noinst_LTLIBRARIES = libhash.la libhash_la_SOURCES = +nodist_libhash_la_SOURCES = libhash_la_LIBADD = ###-------------------------------------------------------------------------- @@ -43,15 +44,14 @@ crc_mktab_SOURCES = crc-mktab.c crc_mktab_LDADD = $(UTIL_LIBS) PROGMANS += crc-mktab.1 -libhash_la_SOURCES += $(precomp)/crc32-tab.c +nodist_libhash_la_SOURCES += ../precomp/crc32-tab.c PRECOMPS += $(precomp)/crc32-tab.c if !CROSS_COMPILING $(precomp)/crc32-tab.c: @$(mkdir_p) $(precomp) - @$(build_util_libs) @$(MAKE) crc-mktab$(EXEEXT) - ./crc-mktab -o $@.new \ - -p0x04c11db7 -b32 -B8 -r -c \ + $(AM_V_GEN)./crc-mktab -o $@.new \ + -p0x04c11db7 -b32 -B8 -r -cC \ -scrc32_table -icrc32.h -tuint32 && \ mv $@.new $@ endif @@ -75,15 +75,14 @@ unihash_mkstatic_SOURCES = unihash-mkstatic.c unihash_mkstatic_LDADD = libunihash.la $(UTIL_LIBS) PROGMANS += unihash-mkstatic.1 -libhash_la_SOURCES += $(precomp)/unihash-global.c +nodist_libhash_la_SOURCES += ../precomp/unihash-global.c PRECOMPS += $(precomp)/unihash-global.c if !CROSS_COMPILING $(precomp)/unihash-global.c: @$(mkdir_p) $(precomp) - @$(build_util_libs) @$(MAKE) unihash-mkstatic$(EXEEXT) - ./unihash-mkstatic -c -sunihash_global -iunihash.h -o$@.new && \ - mv $@.new $@ + $(AM_V_GEN)./unihash-mkstatic -c -sunihash_global -iunihash.h \ + -o$@.new && mv $@.new $@ endif check_PROGRAMS += t/unihash.t