Files
heimdal/kadmin/Makefile.am
Nicolas Williams 490337f4f9 Make OpenSSL an hcrypto backend proper
This adds a new backend for libhcrypto: the OpenSSL backend.

Now libhcrypto has these backends:

 - hcrypto itself (i.e., the algorithms coded in lib/hcrypto)
 - Common Crypto (OS X)
 - PKCS#11 (specifically for Solaris, but not Solaris-specific)
 - Windows CNG (Windows)
 - OpenSSL (generic)

The ./configure --with-openssl=... option no longer disables the use of
hcrypto.  Instead it enables the use of OpenSSL as a (and the default)
backend in libhcrypto.  The libhcrypto framework is now always used.

OpenSSL should no longer be used directly within Heimdal, except in the
OpenSSL hcrypto backend itself, and files where elliptic curve (EC)
crypto is needed.

Because libhcrypto's EC support is incomplete, we can only use OpenSSL
for EC.  Currently that means separating all EC-using code so that it
does not use hcrypto, thus the libhx509/hxtool and PKINIT EC code has
been moved out of the files it used to be in.
2016-04-15 00:16:17 -05:00

98 lines
1.9 KiB
Makefile

# $Id$
include $(top_srcdir)/Makefile.am.common
AM_CPPFLAGS += $(INCLUDE_libintl) $(INCLUDE_readline) -I$(srcdir)/../lib/krb5 -I$(top_builddir)/include/gssapi
bin_PROGRAMS = kadmin
libexec_PROGRAMS = kadmind
man_MANS = kadmin.1 kadmind.8
noinst_PROGRAMS = add_random_users
dist_kadmin_SOURCES = \
ank.c \
add_enctype.c \
check.c \
cpw.c \
del.c \
del_enctype.c \
dump.c \
ext.c \
get.c \
init.c \
kadmin.c \
load.c \
mod.c \
rename.c \
stash.c \
util.c \
pw_quality.c \
random_password.c \
kadmin_locl.h
nodist_kadmin_SOURCES = \
kadmin-commands.c \
kadmin-commands.h
$(kadmin_OBJECTS): kadmin-commands.h
CLEANFILES = kadmin-commands.h kadmin-commands.c
kadmin-commands.c kadmin-commands.h: kadmin-commands.in
$(SLC) $(srcdir)/kadmin-commands.in
kadmind_SOURCES = \
rpc.c \
server.c \
kadmind.c \
kadmin_locl.h \
kadm_conn.c
add_random_users_SOURCES = add-random-users.c
test_util_SOURCES = test_util.c util.c
TESTS = test_util
check_PROGRAMS = $(TESTS)
LDADD_common = \
$(top_builddir)/lib/hdb/libhdb.la \
$(top_builddir)/lib/krb5/libkrb5.la \
$(LIB_hcrypto) \
$(top_builddir)/lib/asn1/libasn1.la \
$(LIB_roken) \
$(DB3LIB) $(DB1LIB) $(LMDBLIB) $(NDBMLIB)
kadmind_LDADD = $(top_builddir)/lib/kadm5/libkadm5srv.la \
../lib/gssapi/libgssapi.la \
$(LDADD_common) \
$(LIB_pidfile) \
$(LIB_dlopen)
kadmin_LDADD = \
$(top_builddir)/lib/kadm5/libkadm5clnt.la \
$(top_builddir)/lib/kadm5/libkadm5srv.la \
$(top_builddir)/lib/sl/libsl.la \
$(LIB_readline) \
$(LDADD_common) \
$(LIB_dlopen)
add_random_users_LDADD = \
$(top_builddir)/lib/kadm5/libkadm5clnt.la \
$(top_builddir)/lib/kadm5/libkadm5srv.la \
$(LDADD_common) \
$(LIB_dlopen)
test_util_LDADD = $(kadmin_LDADD)
EXTRA_DIST = \
NTMakefile \
kadmin-version.rc \
kadmind-version.rc \
$(man_MANS) \
kadmin-commands.in