+if DAEMON
bin_PROGRAMS=doldacond
+endif
doldacond_SOURCES= main.c \
search.c \
search.h \
auth.h \
auth-pam.c \
auth-krb5.c \
+ auth-unix.c \
client.c \
client.h \
net.c \
log.c \
ui.c \
conf.c \
- conf.h
-
-AM_CPPFLAGS=-I$(top_srcdir)/include -DDAEMON
+ conf.h \
+ reqstat.c
EXTRA_DIST=emacs-local
doldacond_LDADD=$(top_srcdir)/common/libcommon.a \
- @KRB5_LDADD@ -lbz2 -lz
+ @KRB5_LIBS@ -lbz2 -lz -lgdbm @PAM_LIBS@ @KEYUTILS_LIBS@
+doldacond_CPPFLAGS=-I$(top_srcdir)/include -DDAEMON @KRB5_CFLAGS@ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE