7be4e3d213181c8d20ce4dea59933c0e7f8c7bcf
[samba.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_getpwnam.o \
44                 wb_cmd_getpwuid.o \
45                 wb_cmd_userdomgroups.o \
46                 wb_cmd_usersids.o \
47                 wb_cmd_list_trustdom.o \
48                 wb_cmd_list_users.o \
49                 wb_cmd_setpwent.o \
50                 wb_cmd_getpwent.o \
51                 wb_pam_auth.o \
52                 wb_sam_logon.o)
53
54 $(eval $(call proto_header_template,$(winbindsrcdir)/wb_proto.h,$(WINBIND_OBJ_FILES:.o=.c)))
55
56 ################################################
57 # Start SUBYSTEM WB_HELPER
58 [SUBSYSTEM::WB_HELPER]
59 PUBLIC_DEPENDENCIES = RPC_NDR_LSA dcerpc_samr
60 # End SUBSYSTEM WB_HELPER
61 ################################################
62
63 WB_HELPER_OBJ_FILES = $(addprefix $(winbindsrcdir)/, wb_async_helpers.o wb_utils.o)
64
65 $(eval $(call proto_header_template,$(winbindsrcdir)/wb_helper.h,$(WB_HELPER_OBJ_FILES:.o=.c)))
66
67 ################################################
68 # Start SUBYSTEM IDMAP
69 [SUBSYSTEM::IDMAP]
70 PUBLIC_DEPENDENCIES = SAMDB_COMMON
71 # End SUBSYSTEM IDMAP
72 ################################################
73
74 IDMAP_OBJ_FILES = $(winbindsrcdir)/idmap.o
75
76 $(eval $(call proto_header_template,$(winbindsrcdir)/idmap_proto.h,$(IDMAP_OBJ_FILES:.o=.c)))