Check for xattr support in configure script.
[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                         auth.c \
15                         auth.h \
16                         auth-pam.c \
17                         auth-krb5.c \
18                         auth-unix.c \
19                         client.c \
20                         client.h \
21                         net.c \
22                         net.h \
23                         log.c \
24                         ui.c \
25                         conf.c \
26                         conf.h \
27                         reqstat.c
28
29 if ADC
30 doldacond_SOURCES +=    fnet-adc.c
31 endif
32
33 EXTRA_DIST=emacs-local
34 doldacond_LDADD=$(top_srcdir)/common/libcommon.a \
35                 @KRB5_LIBS@ -lbz2 -lz -lgdbm @PAM_LIBS@ @KEYUTILS_LIBS@ @XATTR_LIBS@
36 doldacond_CPPFLAGS=-I$(top_srcdir)/include -DDAEMON @KRB5_CFLAGS@ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64