-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
58 lines (52 loc) · 1.23 KB
/
Makefile.am
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
ACLOCAL_AMFLAGS = -Im4
AM_LDFLAGS = @OPENSSL_LIBS@ @KRB5_LIBS@ @KDB_LIBS@
AM_CFLAGS = @OPENSSL_CFLAGS@ @KRB5_CFLAGS@ @KDB_CFLAGS@ \
-Wall \
-Wextra \
-Werror \
-Wno-missing-field-initializers \
-Wno-unused-parameter
TESTS = src/pake/test
src_pake_test_LDADD = libpake.la
noinst_PROGRAMS = $(TESTS) src/pake/spake_constants
BUILT_SOURCES = spake_constants.h
CLEANFILES = spake_constants.h
spake_constants.h: src/pake/spake_constants
$(builddir)/$< $@
##
### The internal PAKE library (uses only OpenSSL types)
##
noinst_LTLIBRARIES = libpake.la
libpake_la_SOURCES = \
src/pake/asn1.c \
src/pake/asn1.h \
src/pake/conv.c \
src/pake/conv.h \
src/pake/hash.c \
src/pake/hash.h \
src/pake/spake.c \
src/pake/spake.h \
src/pake/jpake.c \
src/pake/jpake.h \
src/pake/pake_ctx.h \
src/pake/pake.c \
src/pake/pake.h
##
### The kerberos plugin (uses krb5 types)
##
preauth_LTLIBRARIES = pake.la
pake_la_LIBADD = libpake.la
pake_la_LDFLAGS = -module -avoid-version -shared -export-symbols $(srcdir)/src/pake.sym
pake_la_SOURCES = \
src/kconv.c \
src/kconv.h \
src/cookie.c \
src/cookie.h \
src/common.c \
src/common.h \
src/global.c \
src/global.h \
src/server.c \
src/client.c
install-data-hook:
rm -f $(DESTDIR)$(preauthdir)/pake.la