5488534f262ad760b5e6b6a1d5fc2156d5fd02dd
[kai/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                 substitute.o \
18                 util_strlist.o \
19                 util_file.o \
20                 data_blob.o \
21                 util.o \
22                 util_net.o \
23                 fsusage.o \
24                 ms_fnmatch.o \
25                 mutex.o \
26                 idtree.o \
27                 become_daemon.o \
28                 rbtree.o \
29                 params.o)
30
31 PUBLIC_HEADERS += $(addprefix $(libutilsrcdir)/, util.h \
32                                  attr.h \
33                                  byteorder.h \
34                                  data_blob.h \
35                                  debug.h \
36                                  mutex.h \
37                                  safe_string.h \
38                                  time.h \
39                                  util_ldb.h \
40                                  xfile.h)
41
42 [SUBSYSTEM::ASN1_UTIL]
43
44 ASN1_UTIL_OBJ_FILES = $(libutilsrcdir)/asn1.o
45
46 $(eval $(call proto_header_template,$(libutilsrcdir)/asn1_proto.h,$(ASN1_UTIL_OBJ_FILES:.o=.c)))
47
48 [SUBSYSTEM::UNIX_PRIVS]
49
50 UNIX_PRIVS_OBJ_FILES = $(libutilsrcdir)/unix_privs.o
51
52 $(eval $(call proto_header_template,$(libutilsrcdir)/unix_privs.h,$(UNIX_PRIVS_OBJ_FILES:.o=.c)))
53
54 ################################################
55 # Start SUBSYSTEM WRAP_XATTR
56 [SUBSYSTEM::WRAP_XATTR]
57 PUBLIC_DEPENDENCIES = XATTR
58 #
59 # End SUBSYSTEM WRAP_XATTR
60 ################################################
61
62 WRAP_XATTR_OBJ_FILES = $(libutilsrcdir)/wrap_xattr.o
63
64 [SUBSYSTEM::UTIL_TDB]
65 PUBLIC_DEPENDENCIES = LIBTDB
66
67 UTIL_TDB_OBJ_FILES = $(libutilsrcdir)/util_tdb.o
68
69 [SUBSYSTEM::UTIL_LDB]
70 PUBLIC_DEPENDENCIES = LIBLDB
71
72 UTIL_LDB_OBJ_FILES = $(libutilsrcdir)/util_ldb.o