Merge branch 'master' of ssh://git.samba.org/data/git/samba
[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                 talloc_stack.o \
30                 params.o)
31
32 PUBLIC_HEADERS += $(addprefix $(libutilsrcdir)/, util.h \
33                                  attr.h \
34                                  byteorder.h \
35                                  data_blob.h \
36                                  debug.h \
37                                  mutex.h \
38                                  safe_string.h \
39                                  time.h \
40                                  util_ldb.h \
41                                  xfile.h)
42
43 [SUBSYSTEM::ASN1_UTIL]
44
45 ASN1_UTIL_OBJ_FILES = $(libutilsrcdir)/asn1.o
46
47 $(eval $(call proto_header_template,$(libutilsrcdir)/asn1_proto.h,$(ASN1_UTIL_OBJ_FILES:.o=.c)))
48
49 [SUBSYSTEM::UNIX_PRIVS]
50
51 UNIX_PRIVS_OBJ_FILES = $(libutilsrcdir)/unix_privs.o
52
53 $(eval $(call proto_header_template,$(libutilsrcdir)/unix_privs.h,$(UNIX_PRIVS_OBJ_FILES:.o=.c)))
54
55 ################################################
56 # Start SUBSYSTEM WRAP_XATTR
57 [SUBSYSTEM::WRAP_XATTR]
58 PUBLIC_DEPENDENCIES = XATTR
59 #
60 # End SUBSYSTEM WRAP_XATTR
61 ################################################
62
63 WRAP_XATTR_OBJ_FILES = $(libutilsrcdir)/wrap_xattr.o
64
65 [SUBSYSTEM::UTIL_TDB]
66 PUBLIC_DEPENDENCIES = LIBTDB
67
68 UTIL_TDB_OBJ_FILES = $(libutilsrcdir)/util_tdb.o
69
70 [SUBSYSTEM::UTIL_LDB]
71 PUBLIC_DEPENDENCIES = LIBLDB
72
73 UTIL_LDB_OBJ_FILES = $(libutilsrcdir)/util_ldb.o