Newer
Older
noinst_PROGRAMS = desdata shadata
libnettleincludedir = $(includedir)/nettle
libnettleinclude_HEADERS = aes.h arcfour.h blowfish.h cast128.h des.h des-compat.h \
md5.h md5-compat.h sha.h \
libnettle_a_SOURCES = aes.c aes.h arcfour.c arcfour.h \
cast128.c cast128.h cast128_sboxes.h \
blowfish.h blowfish.c \
des.c des.h desinfo.h desCode.h \
des3.c des-compat.c des-compat.h \
md5.c md5.h md5-compat.c md5-compat.h \
sha.h sha1.c sha256.c \
serpent.c serpent.h serpent_sboxes.h \
twofish.c twofish.h yarrow256.c yarrow.h
shadata_LDADD = -lm
info_TEXINFOS = nettle.texinfo
all-local: nettle.html
EXTRA_DIST = macros.h memxor.h $(des_headers) descore.README nettle.html .bootstrap
%.html : %.texinfo
(cd $(srcdir) \
&& $(MAKEINFO) --html --no-split --output $@T $(<F) \
; test -s $@T && mv -f $@T $@)
# It seems using $(srcdir)/ doesn't work with GNU make 3.79.1
# des_headers = $(srcdir)/parity.h $(srcdir)/rotors.h $(srcdir)/keymap.h
des_headers = parity.h rotors.h keymap.h
# Generate DES headers.
$(des_headers): desdata
./desdata $(@F) > $@T
test -s $@T && mv -f $@T $@
des.o: des.c des.h $(des_headers)