18
18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21
TESTS = test_dict test_set test_tio test_cfg test_myldap.sh test_nsscmds.sh \
22
test_getpeercred test_common test_expr
24
check_PROGRAMS = test_dict test_set test_tio test_cfg test_myldap \
25
test_getpeercred test_common test_expr
27
EXTRA_PROGRAMS = test_aliases test_ethers test_group test_hosts \
28
test_netgroup test_networks test_passwd test_protocols \
29
test_rpc test_services test_shadow \
32
EXTRA_DIST = nslcd-test.conf test_myldap.sh test_nsscmds.sh usernames.txt
21
TESTS = test_dict test_set test_tio test_expr test_getpeercred test_cfg \
22
test_myldap.sh test_common test_nsscmds.sh test_pamcmds.sh
24
check_PROGRAMS = test_dict test_set test_tio test_expr test_getpeercred \
25
test_cfg test_myldap test_common
27
EXTRA_DIST = nslcd-test.conf test_myldap.sh test_nsscmds.sh test_pamcmds.sh \
28
in_testenv.sh test_pamcmds.expect usernames.txt
34
30
CLEANFILES = $(EXTRA_PROGRAMS)
48
44
test_set_SOURCES = test_set.c ../common/set.h
49
45
test_set_LDADD = ../common/libdict.a
51
test_tio_SOURCES = test_tio.c ../common/tio.h ../common/tio.c
47
test_tio_SOURCES = test_tio.c common.h ../common/tio.h ../common/tio.c
52
48
test_tio_LDFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
54
test_cfg_SOURCES = test_cfg.c
55
test_cfg_LDADD = ../nslcd/log.o ../nslcd/attmap.o \
56
../nslcd/common.o ../nslcd/myldap.o \
57
../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o \
58
../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o \
59
../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o \
60
../nslcd/service.o ../nslcd/shadow.o \
61
@nslcd_LIBS@ ../common/libtio.a ../common/libdict.a \
62
../common/libexpr.a ../compat/libcompat.a
64
test_expr_SOURCES = test_expr.c
50
test_expr_SOURCES = test_expr.c common.h
65
51
test_expr_LDADD = ../common/set.o ../common/dict.o
67
test_myldap_SOURCES = test_myldap.c
68
test_myldap_LDADD = ../nslcd/log.o ../nslcd/common.o ../nslcd/cfg.o \
69
../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o \
70
../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o \
71
../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o \
72
../nslcd/service.o ../nslcd/shadow.o \
73
../nslcd/myldap.o @nslcd_LIBS@ ../common/libtio.a \
74
../common/libdict.a ../compat/libcompat.a
76
test_getpeercred_SOURCES = test_getpeercred.c
53
test_getpeercred_SOURCES = test_getpeercred.c common.h
77
54
test_getpeercred_LDADD = ../compat/libcompat.a
79
test_common_SOURCES = test_common.c
80
test_common_LDADD = ../nslcd/log.o ../nslcd/common.o ../nslcd/cfg.o \
81
../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o \
82
../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o \
83
../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o \
84
../nslcd/service.o ../nslcd/shadow.o \
85
../nslcd/myldap.o @nslcd_LIBS@ ../common/libtio.a \
86
../common/libdict.a ../compat/libcompat.a
88
common_SOURCES = ../common/nslcd-prot.c ../nslcd.h ../nss/prototypes.h \
89
../common/tio.c ../common/tio.h ../nss/common.c
91
test_aliases_SOURCES = test_aliases.c ../nss/aliases.c $(common_SOURCES)
92
test_ethers_SOURCES = test_ethers.c ../nss/ethers.c $(common_SOURCES)
93
test_group_SOURCES = test_group.c ../nss/group.c $(common_SOURCES)
94
test_hosts_SOURCES = test_hosts.c ../nss/hosts.c $(common_SOURCES)
95
test_netgroup_SOURCES = test_netgroup.c ../nss/netgroup.c $(common_SOURCES)
96
test_networks_SOURCES = test_networks.c ../nss/networks.c $(common_SOURCES)
97
test_passwd_SOURCES = test_passwd.c ../nss/passwd.c $(common_SOURCES)
98
test_protocols_SOURCES = test_protocols.c ../nss/protocols.c $(common_SOURCES)
99
test_rpc_SOURCES = test_rpc.c ../nss/rpc.c $(common_SOURCES)
100
test_services_SOURCES = test_services.c ../nss/services.c $(common_SOURCES)
101
test_shadow_SOURCES = test_shadow.c ../nss/shadow.c $(common_SOURCES)
103
test_nslcd_group_SOURCES = test_nslcd_group.c
104
test_nslcd_group_LDADD = ../nslcd/log.o ../nslcd/attmap.o ../common/dict.o \
105
../nslcd/common.o ../nslcd/myldap.o \
106
../nslcd/alias.o ../nslcd/ether.o \
107
../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o \
108
../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o \
109
../nslcd/service.o ../nslcd/shadow.o \
110
@nslcd_LIBS@ ../common/libtio.a ../common/libdict.a \
111
../compat/libcompat.a ../nslcd/cfg.o
56
# common objects that are included for the tests of nslcd functionality
57
common_nslcd_LDADD = ../nslcd/log.o ../nslcd/common.o \
58
../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o \
59
../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o \
60
../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o \
61
../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o \
62
../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o \
63
../common/libtio.a ../common/libdict.a \
64
../common/libexpr.a ../compat/libcompat.a \
65
@nslcd_LIBS@ @PTHREAD_LIBS@
67
test_cfg_SOURCES = test_cfg.c common.h
68
test_cfg_LDADD = $(common_nslcd_LDADD)
70
test_myldap_SOURCES = test_myldap.c common.h
71
test_myldap_LDADD = ../nslcd/cfg.o $(common_nslcd_LDADD)
73
test_common_SOURCES = test_common.c ../nslcd/common.h
74
test_common_LDADD = ../nslcd/cfg.o $(common_nslcd_LDADD)