Makefile.am 682 Bytes
Newer Older
Niels Möller's avatar
Niels Möller committed
1
SUBDIRS = . testsuite
Niels Möller's avatar
Niels Möller committed
2

3 4
noinst_PROGRAMS = desdata

5 6
libnettleincludedir = $(includedir)/nettle

Niels Möller's avatar
Niels Möller committed
7
lib_LIBRARIES = libnettle.a
8
libnettleinclude_HEADERS = aes.h arcfour.h des.h md5.h sha1.h
Niels Möller's avatar
Niels Möller committed
9

10
libnettle_a_SOURCES = aes.c aes.h arcfour.c arcfour.h des.c des.h \
11 12
		      md5.c md5.h sha1.c sha1.h \
		      serpent.c serpent.h serpent_sboxes.h
Niels Möller's avatar
Niels Möller committed
13

Niels Möller's avatar
Niels Möller committed
14
libnettle_a_LIBADD = @LIBOBJS@
Niels Möller's avatar
Niels Möller committed
15

16 17 18 19 20 21 22 23 24 25 26 27
EXTRA_DIST = macros.h memxor.h $(des_headers) descore.README
# BUILT_SOURCE = $(des_headers)

# desCore rules
des_headers = $(srcdir)/parity.h $(srcdir)/rotors.h $(srcdir)/keymap.h 

# Generate DES headers.
$(des_headers): desdata
	./desdata $@ > $@T
	test -s $@T && mv -f $@T $@

des.o: des.c des.h $(des_headers)