summaryrefslogtreecommitdiff
path: root/daemon/Makefile.am
blob: b4b9f0c922d223c63fa55b4a5671356a694787a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

sbin_PROGRAMS = httpauthd

LDAP_SOURCES = ldap.c

PGSQL_SOURCES = pgsql.c

MYSQL_SOURCES = mysql.c

NTLM_SOURCES = ntlm.c ntlmssp.h ntlmssp.c

EXTRA_SRC =

if WITH_LDAP
EXTRA_SRC += $(LDAP_SOURCES)
endif

if WITH_NTLM
EXTRA_SRC += $(NTLM_SOURCES)
endif

if WITH_PGSQL
EXTRA_SRC += $(PGSQL_SOURCES)
endif

if WITH_MYSQL
EXTRA_SRC += $(MYSQL_SOURCES)
endif

httpauthd_SOURCES = httpauthd.c httpauthd.h usuals.h bd.h bd.c misc.c basic.h basic.c \
    digest.h digest.c defaults.h simple.c dummy.c request.c \
    ../common/compat.h ../common/compat.c ../common/buffer.h ../common/buffer.c \
    ../common/hash.h ../common/hash.c ../common/md5.h ../common/md5.c \
    ../common/sha1.h ../common/sha1.c ../common/sock-any.c ../common/sock-any.h \
    ../common/tpool.c ../common/tpool.h ../common/server-mainloop.c ../common/server-mainloop.h \
    ../common/stringx.c ../common/stringx.h $(EXTRA_SRC)

httpauthd_CFLAGS = -D_THREAD_SAFE -pthread -DLinux \
                   -I${top_srcdir}/common/ -I${top_srcdir}
httpauthd_LDFLAGS = -pthread

EXTRA_DIST = $(LDAP_SOURCES) $(NTLM_SOURCES) $(PGSQL_SOURCES) \
             $(MYSQL_SOURCES) smbval