summaryrefslogtreecommitdiff
path: root/source4/smbd/config.mk
blob: 26b2c447d5583e462fa88d8d9317299ab8c090f2 (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
# server subsystem

[SUBSYSTEM::service]
PRIVATE_DEPENDENCIES = \
		LIBEVENTS MESSAGING samba-socket NDR_NAMED_PIPE_AUTH

service_OBJ_FILES = $(addprefix $(smbdsrcdir)/, \
		service.o \
		service_stream.o \
		service_named_pipe.o \
		service_task.o)

$(eval $(call proto_header_template,$(smbdsrcdir)/service_proto.h,$(service_OBJ_FILES:.o=.c)))

[SUBSYSTEM::PIDFILE]

PIDFILE_OBJ_FILES = $(smbdsrcdir)/pidfile.o

$(eval $(call proto_header_template,$(smbdsrcdir)/pidfile.h,$(PIDFILE_OBJ_FILES:.o=.c)))

[BINARY::samba]
INSTALLDIR = SBINDIR
PRIVATE_DEPENDENCIES = \
		process_model \
		service \
		LIBSAMBA-HOSTCONFIG \
		LIBSAMBA-UTIL \
		POPT_SAMBA \
		PIDFILE \
		LIBPOPT \
		gensec \
		registry \
		ntptr \
		ntvfs \
		share \
		CLUSTER

samba_OBJ_FILES = $(smbdsrcdir)/server.o
$(samba_OBJ_FILES): CFLAGS+=-DSTATIC_service_MODULES="$(service_INIT_FUNCTIONS)NULL"

MANPAGES += $(smbdsrcdir)/samba.8