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

[SUBSYSTEM::service]
PRIVATE_DEPENDENCIES = \
		LIBTEVENT MESSAGING samba_socket NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM

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 = \
		LIBEVENTS \
		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