autotools: make cifs.upcall dependent on an enable option
[jlayton/cifs-utils.git] / Makefile.am
1 AM_CFLAGS = -Wall
2 root_sbindir = "/sbin"
3 root_sbin_PROGRAMS = mount.cifs
4 mount_cifs_SOURCES = mount.cifs.c mtab.c util.c
5
6 man_MANS = mount.cifs.8
7
8 if CONFIG_CIFSUPCALL
9 sbin_PROGRAMS = cifs.upcall
10 cifs_upcall_SOURCES = cifs.upcall.c data_blob.c asn1.c spnego.c util.c
11 cifs_upcall_LDADD = -ltalloc -lkrb5 -lkeyutils
12 man_MANS += cifs.upcall.8
13 endif
14