Second part of fix for bug #7777 - When requesting lookups for BUILTIN sids, winbindd...
[Samba.git] / source4 / nbt_server / config.mk
blobba5531da7e2c972fc7f08d684bb0c7c1df5dc1a0
1 # NBTD server subsystem
3 #######################
4 # Start SUBSYSTEM WINSDB
5 [SUBSYSTEM::WINSDB]
6 PUBLIC_DEPENDENCIES = \
7 LIBLDB
8 # End SUBSYSTEM WINSDB
9 #######################
11 WINSDB_OBJ_FILES = $(addprefix $(nbt_serversrcdir)/wins/, winsdb.o wins_hook.o)
13 $(eval $(call proto_header_template,$(nbt_serversrcdir)/wins/winsdb_proto.h,$(WINSDB_OBJ_FILES:.o=.c)))
15 #######################
16 # Start MODULE ldb_wins_ldb
17 [MODULE::ldb_wins_ldb]
18 SUBSYSTEM = LIBLDB
19 INIT_FUNCTION = LDB_MODULE(wins_ldb)
20 PRIVATE_DEPENDENCIES = \
21 LIBLDB LIBNETIF LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL
22 # End MODULE ldb_wins_ldb
23 #######################
25 ldb_wins_ldb_OBJ_FILES = $(nbt_serversrcdir)/wins/wins_ldb.o
27 #######################
28 # Start SUBSYSTEM NBTD_WINS
29 [SUBSYSTEM::NBTD_WINS]
30 PRIVATE_DEPENDENCIES = \
31 LIBCLI_NBT WINSDB
32 # End SUBSYSTEM NBTD_WINS
33 #######################
36 NBTD_WINS_OBJ_FILES = $(addprefix $(nbt_serversrcdir)/wins/, winsserver.o winsclient.o winswack.o wins_dns_proxy.o)
38 $(eval $(call proto_header_template,$(nbt_serversrcdir)/wins/winsserver_proto.h,$(NBTD_WINS_OBJ_FILES:.o=.c)))
40 #######################
41 # Start SUBSYSTEM NBTD_DGRAM
42 [SUBSYSTEM::NBTD_DGRAM]
43 PRIVATE_DEPENDENCIES = \
44 LIBCLI_DGRAM CLDAPD
45 # End SUBSYSTEM NBTD_DGRAM
46 #######################
48 NBTD_DGRAM_OBJ_FILES = $(addprefix $(nbt_serversrcdir)/dgram/, request.o netlogon.o browse.o)
50 $(eval $(call proto_header_template,$(nbt_serversrcdir)/dgram/proto.h,$(NBTD_DGRAM_OBJ_FILES:.o=.c)))
52 #######################
53 # Start SUBSYSTEM NBTD
54 [SUBSYSTEM::NBT_SERVER]
55 PRIVATE_DEPENDENCIES = \
56 LIBCLI_NBT NBTD_WINS NBTD_DGRAM
57 # End SUBSYSTEM NBTD
58 #######################
60 NBT_SERVER_OBJ_FILES = $(addprefix $(nbt_serversrcdir)/, \
61 interfaces.o \
62 register.o \
63 query.o \
64 nodestatus.o \
65 defense.o \
66 packet.o \
67 irpc.o)
69 $(eval $(call proto_header_template,$(nbt_serversrcdir)/nbt_server_proto.h,$(NBT_SERVER_OBJ_FILES:.o=.c)))
71 [MODULE::service_nbtd]
72 INIT_FUNCTION = server_service_nbtd_init
73 SUBSYSTEM = service
74 PRIVATE_DEPENDENCIES = NBT_SERVER process_model
76 service_nbtd_OBJ_FILES = \
77 $(nbt_serversrcdir)/nbt_server.o