2020-09-11 07:49:16 -05:00
|
|
|
AM_CPPFLAGS := -I$(top_srcdir)/util
|
2020-06-08 08:59:24 -05:00
|
|
|
AM_CFLAGS := @LDAP_CFLAGS@ @LIBVERTO_CFLAGS@ @KRB5_CFLAGS@ @NSPR_CFLAGS@
|
2016-10-12 03:52:43 -05:00
|
|
|
AM_LDFLAGS := @LDAP_LIBS@ @LIBVERTO_LIBS@ @KRAD_LIBS@ @KRB5_LIBS@
|
2013-04-11 13:03:25 -05:00
|
|
|
|
|
|
|
noinst_HEADERS = internal.h
|
2016-09-29 17:00:02 -05:00
|
|
|
appdir = $(libexecdir)/ipa/
|
|
|
|
app_PROGRAMS = ipa-otpd
|
2020-09-11 07:49:16 -05:00
|
|
|
ipa_otpd_LDADD = $(top_builddir)/util/libutil.la
|
2013-04-11 13:03:25 -05:00
|
|
|
dist_noinst_DATA = ipa-otpd.socket.in ipa-otpd@.service.in test.py
|
|
|
|
systemdsystemunit_DATA = ipa-otpd.socket ipa-otpd@.service
|
|
|
|
|
2022-05-03 03:47:43 -05:00
|
|
|
ipa_otpd_SOURCES = bind.c forward.c main.c parse.c query.c queue.c stdio.c \
|
|
|
|
oauth2.c
|
2013-04-11 13:03:25 -05:00
|
|
|
|
|
|
|
%.socket: %.socket.in
|
2014-02-07 10:56:33 -06:00
|
|
|
@sed -e 's|@krb5rundir[@]|$(krb5rundir)|g' \
|
2017-03-31 18:18:15 -05:00
|
|
|
-e 's|@KRB5KDC_SERVICE[@]|$(KRB5KDC_SERVICE)|g' \
|
2013-04-11 13:03:25 -05:00
|
|
|
-e 's|@UNLINK[@]|@UNLINK@|g' \
|
|
|
|
$< > $@
|
|
|
|
|
|
|
|
%.service: %.service.in
|
|
|
|
@sed -e 's|@libexecdir[@]|$(libexecdir)|g' \
|
|
|
|
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
|
|
|
$< > $@
|
|
|
|
|
|
|
|
CLEANFILES = $(systemdsystemunit_DATA)
|
2018-08-30 14:34:31 -05:00
|
|
|
|
|
|
|
TESTS =
|
|
|
|
check_PROGRAMS =
|
|
|
|
|
|
|
|
if HAVE_CMOCKA
|
|
|
|
TESTS += queue_tests
|
|
|
|
check_PROGRAMS += queue_tests
|
|
|
|
endif
|
|
|
|
|
|
|
|
queue_tests_SOURCES = ipa_otpd_queue_cmocka_tests.c queue.c
|
|
|
|
queue_tests_CFLAGS = $(CMOCKA_CFLAGS)
|
|
|
|
queue_tests_LDADD = $(CMOCKA_LIBS)
|