s4-winbind: Add support for the WINBINDD_LIST_GROUPS command.
[gd/samba-autobuild/.git] / source4 / winbind / config.mk
1 # server subsystem
2
3 #######################
4 # Start SUBSYSTEM WINBIND
5 [MODULE::WINBIND]
6 INIT_FUNCTION = server_service_winbind_init
7 SUBSYSTEM = service
8 PRIVATE_DEPENDENCIES = \
9                 WB_HELPER \
10                 IDMAP \
11                 NDR_WINBIND \
12                 process_model \
13                 RPC_NDR_LSA \
14                 dcerpc_samr \
15                 PAM_ERRORS \
16                 LIBCLI_LDAP \
17                 LIBSAMBA-NET
18 # End SUBSYSTEM WINBIND
19 #######################
20
21 WINBIND_OBJ_FILES = $(addprefix $(winbindsrcdir)/, \
22                 wb_server.o \
23                 wb_setup_domains.o \
24                 wb_irpc.o \
25                 wb_samba3_protocol.o \
26                 wb_samba3_cmd.o \
27                 wb_init_domain.o \
28                 wb_dom_info.o \
29                 wb_dom_info_trusted.o \
30                 wb_sid2domain.o \
31                 wb_name2domain.o \
32                 wb_sids2xids.o \
33                 wb_xids2sids.o \
34                 wb_gid2sid.o \
35                 wb_sid2uid.o \
36                 wb_sid2gid.o \
37                 wb_uid2sid.o \
38                 wb_connect_lsa.o \
39                 wb_connect_sam.o \
40                 wb_cmd_lookupname.o \
41                 wb_cmd_lookupsid.o \
42                 wb_cmd_getdcname.o \
43                 wb_cmd_getgrnam.o \
44                 wb_cmd_getgrgid.o \
45                 wb_cmd_getpwnam.o \
46                 wb_cmd_getpwuid.o \
47                 wb_cmd_userdomgroups.o \
48                 wb_cmd_usersids.o \
49                 wb_cmd_list_groups.o \
50                 wb_cmd_list_trustdom.o \
51                 wb_cmd_list_users.o \
52                 wb_cmd_setpwent.o \
53                 wb_cmd_getpwent.o \
54                 wb_pam_auth.o \
55                 wb_sam_logon.o)
56
57 $(eval $(call proto_header_template,$(winbindsrcdir)/wb_proto.h,$(WINBIND_OBJ_FILES:.o=.c)))
58
59 ################################################
60 # Start SUBYSTEM WB_HELPER
61 [SUBSYSTEM::WB_HELPER]
62 PUBLIC_DEPENDENCIES = RPC_NDR_LSA dcerpc_samr
63 # End SUBSYSTEM WB_HELPER
64 ################################################
65
66 WB_HELPER_OBJ_FILES = $(addprefix $(winbindsrcdir)/, wb_async_helpers.o wb_utils.o)
67
68 $(eval $(call proto_header_template,$(winbindsrcdir)/wb_helper.h,$(WB_HELPER_OBJ_FILES:.o=.c)))
69
70 ################################################
71 # Start SUBYSTEM IDMAP
72 [SUBSYSTEM::IDMAP]
73 PUBLIC_DEPENDENCIES = SAMDB_COMMON
74 # End SUBSYSTEM IDMAP
75 ################################################
76
77 IDMAP_OBJ_FILES = $(winbindsrcdir)/idmap.o
78
79 $(eval $(call proto_header_template,$(winbindsrcdir)/idmap_proto.h,$(IDMAP_OBJ_FILES:.o=.c)))