6873c1bcc3056be86539d89c816de545aaabc708
[samba.git] / lib / util / config.mk
1 [SUBSYSTEM::LIBSAMBA-UTIL]
2 PUBLIC_DEPENDENCIES = \
3                 LIBTALLOC LIBCRYPTO \
4                 SOCKET_WRAPPER LIBREPLACE_NETWORK \
5                 CHARSET EXECINFO
6
7 LIBSAMBA-UTIL_OBJ_FILES = $(addprefix $(libutilsrcdir)/, \
8         xfile.o \
9                 debug.o \
10                 fault.o \
11                 signal.o \
12                 system.o \
13                 time.o \
14                 genrand.o \
15                 dprintf.o \
16                 util_str.o \
17                 util_strlist.o \
18                 util_file.o \
19                 data_blob.o \
20                 util.o \
21                 fsusage.o \
22                 ms_fnmatch.o \
23                 mutex.o \
24                 idtree.o \
25                 become_daemon.o \
26                 rbtree.o \
27                 params.o)
28
29 PUBLIC_HEADERS += $(addprefix $(libutilsrcdir)/, util.h \
30                                  attr.h \
31                                  byteorder.h \
32                                  data_blob.h \
33                                  debug.h \
34                                  mutex.h \
35                                  safe_string.h \
36                                  time.h \
37                                  util_ldb.h \
38                                  xfile.h)
39
40 [SUBSYSTEM::ASN1_UTIL]
41
42 ASN1_UTIL_OBJ_FILES = $(libutilsrcdir)/asn1.o
43
44 $(eval $(call proto_header_template,$(libutilsrcdir)/asn1_proto.h,$(ASN1_UTIL_OBJ_FILES:.o=.c)))
45
46 [SUBSYSTEM::UNIX_PRIVS]
47
48 UNIX_PRIVS_OBJ_FILES = $(libutilsrcdir)/unix_privs.o
49
50 $(eval $(call proto_header_template,$(libutilsrcdir)/unix_privs.h,$(UNIX_PRIVS_OBJ_FILES:.o=.c)))
51
52 ################################################
53 # Start SUBSYSTEM WRAP_XATTR
54 [SUBSYSTEM::WRAP_XATTR]
55 PUBLIC_DEPENDENCIES = XATTR
56 #
57 # End SUBSYSTEM WRAP_XATTR
58 ################################################
59
60 WRAP_XATTR_OBJ_FILES = $(libutilsrcdir)/wrap_xattr.o
61
62 [SUBSYSTEM::UTIL_TDB]
63 PUBLIC_DEPENDENCIES = LIBTDB
64
65 UTIL_TDB_OBJ_FILES = $(libutilsrcdir)/util_tdb.o
66
67 [SUBSYSTEM::UTIL_LDB]
68 PUBLIC_DEPENDENCIES = LIBLDB
69
70 UTIL_LDB_OBJ_FILES = $(libutilsrcdir)/util_ldb.o