GSS_S_PROMPTING_NEEDED is a bit
[cyrus-sasl.git] / saslauthd / Makefile.am
1 AUTOMAKE_OPTIONS = 1.7
2 sbin_PROGRAMS   = saslauthd testsaslauthd
3 EXTRA_PROGRAMS  = saslcache
4
5 saslauthd_SOURCES = mechanisms.c globals.h \
6                     mechanisms.h auth_dce.c auth_dce.h auth_getpwent.c \
7                     auth_getpwent.h auth_krb5.c auth_krb5.h auth_krb4.c \
8                     auth_krb4.h auth_pam.c auth_pam.h auth_rimap.c auth_httpform.c \
9                     auth_rimap.h auth_shadow.c auth_shadow.h auth_sia.c auth_httpform.h \
10                     auth_sia.h auth_sasldb.c auth_sasldb.h lak.c lak.h \
11                     auth_ldap.c auth_ldap.h cache.c cache.h cfile.c cfile.h \
12                     krbtf.c krbtf.h utils.c utils.h \
13                     ipc_unix.c ipc_doors.c saslauthd-main.c saslauthd-main.h \
14                     md5.c saslauthd_md5.h md5global.h 
15 EXTRA_saslauthd_sources = getaddrinfo.c getnameinfo.c
16 saslauthd_DEPENDENCIES = saslauthd-main.o @LTLIBOBJS@
17 saslauthd_LDADD = @SASL_KRB_LIB@ \
18                   @GSSAPIBASE_LIBS@ @GSSAPI_LIBS@ @LIB_CRYPT@ @LIB_SIA@ \
19                   @LIB_SOCKET@ @SASL_DB_LIB@ @LIB_PAM@ @LDAP_LIBS@ @LTLIBOBJS@
20
21 testsaslauthd_SOURCES = testsaslauthd.c utils.c
22 testsaslauthd_LDADD = @LIB_SOCKET@
23
24 saslcache_SOURCES = saslcache.c
25
26 EXTRA_DIST      = saslauthd.8 saslauthd.mdoc config include \
27                   getnameinfo.c getaddrinfo.c LDAP_SASLAUTHD
28 INCLUDES        = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/../include
29 DEFS            = @DEFS@ -DSASLAUTHD_CONF_FILE_DEFAULT=\"@sysconfdir@/saslauthd.conf\" -I. -I$(srcdir) -I..
30
31
32 dist-hook: saslauthd.8
33
34 saslauthd.8: saslauthd.mdoc
35         nroff -mdoc $(srcdir)/saslauthd.mdoc > $(srcdir)/saslauthd.8
36
37 install-data-local: saslauthd.8
38         $(mkinstalldirs) $(DESTDIR)$(mandir)/man8
39         $(INSTALL_DATA) $(srcdir)/saslauthd.8 $(DESTDIR)$(mandir)/man8/saslauthd.8