Fix bug 6157
[Samba.git] / source4 / param / config.mk
blobd420a3883cc51efa22cfb3cf4263483be725a2f6
1 [LIBRARY::LIBSAMBA-HOSTCONFIG]
2 PUBLIC_DEPENDENCIES = LIBSAMBA-UTIL
3 PRIVATE_DEPENDENCIES = DYNCONFIG LIBREPLACE_EXT CHARSET
5 LIBSAMBA-HOSTCONFIG_VERSION = 0.0.1
6 LIBSAMBA-HOSTCONFIG_SOVERSION = 0
8 LIBSAMBA-HOSTCONFIG_OBJ_FILES = $(addprefix $(paramsrcdir)/, \
9 loadparm.o generic.o util.o)
11 PUBLIC_HEADERS += param/param.h
13 PC_FILES += $(paramsrcdir)/samba-hostconfig.pc
15 [SUBSYSTEM::PROVISION]
16 PRIVATE_DEPENDENCIES = LIBPYTHON pyldb
18 PROVISION_OBJ_FILES = $(paramsrcdir)/provision.o $(param_OBJ_FILES)
20 #################################
21 # Start SUBSYSTEM share
22 [SUBSYSTEM::share]
23 PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL
24 # End SUBSYSTEM share
25 #################################
27 share_OBJ_FILES = $(paramsrcdir)/share.o
29 $(eval $(call proto_header_template,$(paramsrcdir)/share_proto.h,$(share_OBJ_FILES:.o=.c)))
31 PUBLIC_HEADERS += param/share.h
33 ################################################
34 # Start MODULE share_classic
35 [MODULE::share_classic]
36 SUBSYSTEM = share
37 INIT_FUNCTION = share_classic_init
38 PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL
39 # End MODULE share_classic
40 ################################################
42 share_classic_OBJ_FILES = $(paramsrcdir)/share_classic.o
44 ################################################
45 # Start MODULE share_ldb
46 [MODULE::share_ldb]
47 SUBSYSTEM = share
48 INIT_FUNCTION = share_ldb_init
49 PRIVATE_DEPENDENCIES = LIBLDB LDB_WRAP
50 # End MODULE share_ldb
51 ################################################
53 share_ldb_OBJ_FILES = $(paramsrcdir)/share_ldb.o
55 [SUBSYSTEM::SECRETS]
56 PRIVATE_DEPENDENCIES = LIBLDB TDB_WRAP UTIL_TDB NDR_SECURITY
58 SECRETS_OBJ_FILES = $(paramsrcdir)/secrets.o
60 [PYTHON::param]
61 LIBRARY_REALNAME = samba/param.$(SHLIBEXT)
62 PRIVATE_DEPENDENCIES = LIBSAMBA-HOSTCONFIG PYTALLOC
64 param_OBJ_FILES = $(paramsrcdir)/pyparam.o