summaryrefslogtreecommitdiff
path: root/source4/winbind/config.mk
blob: 865ff90567a22243eeb2c5491d29a947a601b1f9 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# server subsystem

#######################
# Start SUBSYSTEM WINBIND
[MODULE::WINBIND]
INIT_FUNCTION = server_service_winbind_init
SUBSYSTEM = samba
PRIVATE_DEPENDENCIES = \
		WB_HELPER \
		IDMAP \
		NDR_WINBIND \
		process_model \
		RPC_NDR_LSA \
		dcerpc_samr \
		PAM_ERRORS \
		LIBCLI_LDAP \
		LIBSAMBA-NET
# End SUBSYSTEM WINBIND
#######################

WINBIND_OBJ_FILES = $(addprefix $(winbindsrcdir)/, \
		wb_server.o \
		wb_setup_domains.o \
		wb_irpc.o \
		wb_samba3_protocol.o \
		wb_samba3_cmd.o \
		wb_init_domain.o \
		wb_dom_info.o \
		wb_dom_info_trusted.o \
		wb_sid2domain.o \
		wb_name2domain.o \
		wb_sids2xids.o \
		wb_xids2sids.o \
		wb_gid2sid.o \
		wb_sid2uid.o \
		wb_sid2gid.o \
		wb_uid2sid.o \
		wb_connect_lsa.o \
		wb_connect_sam.o \
		wb_cmd_lookupname.o \
		wb_cmd_lookupsid.o \
		wb_cmd_getdcname.o \
		wb_cmd_getpwnam.o \
		wb_cmd_getpwuid.o \
		wb_cmd_userdomgroups.o \
		wb_cmd_usersids.o \
		wb_cmd_list_trustdom.o \
		wb_cmd_list_users.o \
		wb_cmd_setpwent.o \
		wb_cmd_getpwent.o \
		wb_pam_auth.o \
		wb_sam_logon.o)

$(eval $(call proto_header_template,$(winbindsrcdir)/wb_proto.h,$(WINBIND_OBJ_FILES:.o=.c)))

################################################
# Start SUBYSTEM WB_HELPER
[SUBSYSTEM::WB_HELPER]
PUBLIC_DEPENDENCIES = RPC_NDR_LSA dcerpc_samr
# End SUBSYSTEM WB_HELPER
################################################

WB_HELPER_OBJ_FILES = $(addprefix $(winbindsrcdir)/, wb_async_helpers.o wb_utils.o)

$(eval $(call proto_header_template,$(winbindsrcdir)/wb_helper.h,$(WB_HELPER_OBJ_FILES:.o=.c)))

################################################
# Start SUBYSTEM IDMAP
[SUBSYSTEM::IDMAP]
PUBLIC_DEPENDENCIES = SAMDB_COMMON
# End SUBSYSTEM IDMAP
################################################

IDMAP_OBJ_FILES = $(winbindsrcdir)/idmap.o

$(eval $(call proto_header_template,$(winbindsrcdir)/idmap_proto.h,$(IDMAP_OBJ_FILES:.o=.c)))