blob: c148d5a4b9bb9135cb066faf26d1a3a0bf4cc4d6 (
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
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
59
60
61
62
63
64
65
66
67
|
mydir=plugins$(S)preauth$(S)pkinit
BUILDTOP=$(REL)..$(S)..$(S)..
KRB5_RUN_ENV = @KRB5_RUN_ENV@
KRB5_CONFIG_SETUP = KRB5_CONFIG=$(top_srcdir)/config-files/krb5.conf ; export KRB5_CONFIG ;
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
MODULE_INSTALL_DIR = $(KRB5_PA_MODULE_DIR)
DEFS=@DEFS@
LOCALINCLUDES = -I../../../include/krb5 -I.
RUN_SETUP = @KRB5_RUN_ENV@
LIBBASE=pkinit
LIBMAJOR=0
LIBMINOR=0
SO_EXT=.so
RELDIR=../plugins/preauth/pkinit
# Depends on libk5crypto and libkrb5
SHLIB_EXPDEPS = \
$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
$(TOPLIBD)/libkrb5$(SHLIBEXT)
LIBS+= -lcrypto
SHLIB_EXPLIBS= -lkrb5 -lcom_err -lk5crypto $(DL_LIB) $(SUPPORT_LIB) $(LIBS)
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
STOBJLISTS=OBJS.ST
STLIBOBJS= \
pkinit_accessor.o \
pkinit_srv.o \
pkinit_lib.o \
pkinit_clnt.o \
pkinit_kdf_constants.o \
pkinit_profile.o \
pkinit_identity.o \
pkinit_matching.o \
pkinit_crypto_openssl.o
SRCS= \
$(srcdir)/pkinit_accessor.c \
$(srcdir)/pkinit_srv.c \
$(srcdir)/pkinit_lib.c \
$(srcdir)/pkinit_kdf_test.c \
$(srcdir)/pkinit_kdf_constants.c \
$(srcdir)/pkinit_clnt.c \
$(srcdir)/pkinit_profile.c \
$(srcdir)/pkinit_identity.c \
$(srcdir)/pkinit_matching.c \
$(srcdir)/pkinit_crypto_openssl.c
all-unix:: all-liblinks
install-unix:: install-libs
clean-unix:: clean-libs clean-libobjs
clean::
$(RM) lib$(LIBBASE)$(SO_EXT)
$(RM) pkinit_test_kdf
check-unix:: pkinit_kdf_test
$(RUN_SETUP) $(VALGRIND) ./pkinit_kdf_test
pkinit_kdf_test: pkinit_kdf_test.o $(STLIBOBJS) $(SHLIB_EXPDEPS)
$(CC_LINK) -o $@ pkinit_kdf_test.o $(STLIBOBJS) $(SHLIB_EXPLIBS)
@libnover_frag@
@libobj_frag@
|