Make libkeyutils optional.
[doldaconnect.git] / daemon / Makefile.am
1 if DAEMON
2 bin_PROGRAMS=doldacond
3 endif
4 doldacond_SOURCES=      main.c \
5                         search.c \
6                         search.h \
7                         transfer.c \
8                         transfer.h \
9                         sysevents.h \
10                         module.h \
11                         filenet.c \
12                         filenet.h \
13                         fnet-dc.c \
14                         fnet-adc.c \
15                         auth.c \
16                         auth.h \
17                         auth-pam.c \
18                         auth-krb5.c \
19                         auth-unix.c \
20                         client.c \
21                         client.h \
22                         net.c \
23                         net.h \
24                         log.c \
25                         ui.c \
26                         conf.c \
27                         conf.h
28
29 EXTRA_DIST=emacs-local
30 doldacond_LDADD=$(top_srcdir)/common/libcommon.a \
31                 @KRB5_LIBS@ -lbz2 -lz -lgdbm @PAM_LIBS@ @KEYUTILS_LIBS@
32 doldacond_CPPFLAGS=-I$(top_srcdir)/include -DDAEMON @KRB5_CFLAGS@