1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/third_party/heimdal/tests/plugin/Makefile.am
Joseph Sutton 51569b3152 third_party/heimdal: import lorikeet-heimdal-202203010107 (commit 0e7a12404c388e831fe6933fcc3c86e7eb334825)
NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-03-01 22:34:34 +00:00

49 lines
1.0 KiB
Makefile

# $Id$
include $(top_srcdir)/Makefile.am.common
# for krb5_locl.h
AM_CPPFLAGS += -I$(srcdir)/../../lib/krb5
noinst_DATA = krb5.conf
SCRIPT_TESTS = check-pac
TESTS = $(SCRIPT_TESTS)
port = 49188
do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
-e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
-e 's,[@]port[@],$(port),g' \
-e 's,[@]objdir[@],$(top_builddir)/tests/plugin,g' \
-e 's,[@]EGREP[@],$(EGREP),g'
LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
check-pac: check-pac.in Makefile
$(do_subst) < $(srcdir)/check-pac.in > check-pac.tmp
chmod +x check-pac.tmp
mv check-pac.tmp check-pac
krb5.conf: krb5.conf.in Makefile
$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
mv krb5.conf.tmp krb5.conf
lib_LTLIBRARIES = kdc_test_plugin.la
kdc_test_plugin_la_SOURCES = kdc_test_plugin.c
kdc_test_plugin_la_LDFLAGS = -module
CLEANFILES= \
$(TESTS) \
server.keytab \
current-db* \
foopassword \
krb5.conf krb5.conf.tmp \
messages.log
EXTRA_DIST = \
NTMakefile \
check-pac.in \
krb5.conf.in