waf: Remove lib prefix from libraries manually.
[kai/samba.git] / source4 / smbd / config.mk
1 # server subsystem
2
3 [SUBSYSTEM::service]
4 PRIVATE_DEPENDENCIES = \
5                 LIBTEVENT MESSAGING samba_socket \
6                 NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM \
7                 HEIMDAL_GSSAPI CREDENTIALS LIBTSOCKET
8
9 service_OBJ_FILES = $(addprefix $(smbdsrcdir)/, \
10                 service.o \
11                 service_stream.o \
12                 service_named_pipe.o \
13                 service_task.o)
14
15 $(eval $(call proto_header_template,$(smbdsrcdir)/service_proto.h,$(service_OBJ_FILES:.o=.c)))
16
17 [SUBSYSTEM::PIDFILE]
18
19 PIDFILE_OBJ_FILES = $(smbdsrcdir)/pidfile.o
20
21 $(eval $(call proto_header_template,$(smbdsrcdir)/pidfile.h,$(PIDFILE_OBJ_FILES:.o=.c)))
22
23 [BINARY::samba]
24 INSTALLDIR = SBINDIR
25 PRIVATE_DEPENDENCIES = \
26                 LIBEVENTS \
27                 process_model \
28                 service \
29                 LIBSAMBA-HOSTCONFIG \
30                 LIBSAMBA-UTIL \
31                 POPT_SAMBA \
32                 PIDFILE \
33                 LIBPOPT \
34                 gensec \
35                 registry \
36                 ntptr \
37                 ntvfs \
38                 share \
39                 CLUSTER
40
41 samba_OBJ_FILES = $(smbdsrcdir)/server.o
42 $(samba_OBJ_FILES): CFLAGS+=-DSTATIC_service_MODULES="$(service_INIT_FUNCTIONS)NULL"
43
44 MANPAGES += $(smbdsrcdir)/samba.8