Codebase list cyrus-sasl2 / lintian-fixes/main saslauthd / Makefile.am
lintian-fixes/main

Tree @lintian-fixes/main (Download .tar.gz)

Makefile.am @lintian-fixes/mainraw · history · blame

AUTOMAKE_OPTIONS = 1.7
sbin_PROGRAMS	= saslauthd testsaslauthd
EXTRA_PROGRAMS  = saslcache

LTLIBOBJS = @LTLIBOBJS@
LTLIBOBJS_FULL = $(addprefix ${top_srcdir}/lib/,${LTLIBOBJS})
CRYPTO_COMPAT_OBJS = $(top_builddir)/common/libcrypto_compat.la
if AUTH_SASLDB
LIBSASLDB_OBJS = $(top_builddir)/sasldb/libsasldb.la
else
LIBSASLDB_OBJS =
endif

saslauthd_SOURCES = mechanisms.c globals.h \
		    mechanisms.h auth_dce.c auth_dce.h auth_getpwent.c \
		    auth_getpwent.h auth_krb5.c auth_krb5.h auth_krb4.c \
		    auth_krb4.h auth_pam.c auth_pam.h auth_rimap.c auth_httpform.c \
		    auth_rimap.h auth_shadow.c auth_shadow.h auth_sia.c auth_httpform.h \
		    auth_sia.h auth_sasldb.c auth_sasldb.h lak.c lak.h \
		    auth_ldap.c auth_ldap.h cache.c cache.h cfile.c cfile.h \
		    krbtf.c krbtf.h utils.c utils.h \
                    ipc_unix.c ipc_doors.c saslauthd-main.c saslauthd-main.h \
		    md5.c saslauthd_md5.h
EXTRA_saslauthd_sources = getaddrinfo.c getnameinfo.c
saslauthd_DEPENDENCIES = saslauthd-main.o $(LTLIBOBJS_FULL)
saslauthd_LDADD	= @SASL_KRB_LIB@ \
		  @GSSAPIBASE_LIBS@ @LIB_CRYPT@ @LIB_SIA@ \
		  @LIB_SOCKET@ @SASL_DB_LIB@ @LIB_PAM@ @LDAP_LIBS@ $(LTLIBOBJS_FULL) $(CRYPTO_COMPAT_OBJS) $(LIBSASLDB_OBJS)

testsaslauthd_SOURCES = testsaslauthd.c utils.c
testsaslauthd_LDADD = @LIB_SOCKET@

saslcache_SOURCES = saslcache.c

EXTRA_DIST	= saslauthd.8 saslauthd.mdoc include \
		  getnameinfo.c getaddrinfo.c LDAP_SASLAUTHD
AM_CPPFLAGS	= -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir)/common -I$(top_srcdir)/common
DEFS            = @DEFS@ -DSASLAUTHD_CONF_FILE_DEFAULT=\"@sysconfdir@/saslauthd.conf\" -I. -I$(srcdir) -I..


dist-hook: saslauthd.8

saslauthd.8: saslauthd.mdoc
	nroff -mdoc $(srcdir)/saslauthd.mdoc > $(srcdir)/saslauthd.8

install-data-local: saslauthd.8
	$(mkinstalldirs) $(DESTDIR)$(mandir)/man8
	$(INSTALL_DATA) $(srcdir)/saslauthd.8 $(DESTDIR)$(mandir)/man8/saslauthd.8

uninstall-local:
	-rm -rf $(DESTDIR)$(mandir)/man8/saslauthd.8