1# No need to explicitly add $(EXEEXT) anymore. 2# 3# See http://www.gnu.org/s/hello/manual/automake/EXEEXT.html 4 5# The algorithms: 6 7ALGS=md5.c md5.h sha1.c sha1.h sha256.c sha256.h whirlpool.c whirlpool.h tiger.c tiger.h 8all_sources = $(ALGS) main.cpp hashlist.cpp multihash.cpp display.cpp \ 9 hash.cpp dig.cpp helpers.cpp xml.cpp xml.h files.cpp common.h main.h \ 10 utf8.h utf8/checked.h utf8/core.h utf8/unchecked.h \ 11 threadpool.h threadpool.cpp winpe.cpp winpe.h 12 13hashdeep_SOURCES = $(all_sources) 14md5deep_SOURCES = $(all_sources) 15sha1deep_SOURCES = $(all_sources) 16sha256deep_SOURCES = $(all_sources) 17whirlpooldeep_SOURCES = $(all_sources) 18tigerdeep_SOURCES = $(all_sources) 19 20bin_PROGRAMS = hashdeep md5deep sha1deep sha256deep whirlpooldeep tigerdeep 21 22# Yes, this is gross; it would be better to make them all with hard links. 23# But this works. That didn't. 24# A better approach is to define install-exec-hook and uninstall-exec-hook. See extending in the automake manual 25# http://www.gnu.org/s/hello/manual/automake/Extending.html 26