Removed the need to define {v,}wprintf in utils.h.
[doldaconnect.git] / daemon / Makefile.am
index 3ff8bef..1ff686c 100644 (file)
@@ -1,4 +1,6 @@
+if DAEMON
 bin_PROGRAMS=doldacond
+endif
 doldacond_SOURCES=     main.c \
                        search.c \
                        search.h \
@@ -22,9 +24,10 @@ doldacond_SOURCES=   main.c \
                        log.c \
                        ui.c \
                        conf.c \
-                       conf.h
+                       conf.h \
+                       reqstat.c
 
 EXTRA_DIST=emacs-local
 doldacond_LDADD=$(top_srcdir)/common/libcommon.a \
-               @KRB5_LIBS@ -lbz2 -lz -lgdbm @PAM_LIBS@
-doldacond_CPPFLAGS=-I$(top_srcdir)/include -DDAEMON @KRB5_CFLAGS@
+               @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