summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 930d44c6c4828acd05bb7f87451715dd76e8dae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
EXTRA_DIST = port.h prime.gaa crypt.gaa crypt-gaa.h README.crypt prime-gaa.h \
		README tpasswd tpasswd.conf pkcs1.asn pkix.asn cert.pem \
		key.pem ca.pem

INCLUDES = -I../lib

noinst_PROGRAMS = serv cli crypt prime CertificateExample
serv_SOURCES = serv.c
serv_LDADD = ../lib/libgnutls.la $(LIBGCRYPT_LIBS)
crypt_SOURCES = crypt-gaa.c crypt.c
crypt_LDADD = ../lib/libgnutls.la $(LIBGCRYPT_LIBS)
prime_SOURCES = prime-gaa.c prime.c
prime_LDADD = ../lib/libgnutls.la $(LIBGCRYPT_LIBS)
cli_SOURCES = cli.c
cli_LDADD = ../lib/libgnutls.la $(LIBGCRYPT_LIBS)

CertificateExample_SOURCES = CertificateExample.c
CertificateExample_LDADD = ../lib/libgnutls.la $(LIBGCRYPT_LIBS)


crypt-gaa.c: crypt.gaa
	gaa crypt.gaa -o crypt-gaa.c -i crypt-gaa.h
prime-gaa.c: prime.gaa
	gaa prime.gaa -o prime-gaa.c -i prime-gaa.h