util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.
[ira/wip.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                 smb_threads.o \
31                 params.o \
32                 util_id.o)
33
34 PUBLIC_HEADERS += $(addprefix $(libutilsrcdir)/, util.h \
35                                  dlinklist.h \
36                                  attr.h \
37                                  byteorder.h \
38                                  data_blob.h \
39                                  debug.h \
40                                  memory.h \
41                                  mutex.h \
42                                  safe_string.h \
43                                  time.h \
44                                  util_ldb.h \
45                                  talloc_stack.h \
46                                  xfile.h)
47
48 [SUBSYSTEM::ASN1_UTIL]
49
50 ASN1_UTIL_OBJ_FILES = $(libutilsrcdir)/asn1.o
51
52 [SUBSYSTEM::UNIX_PRIVS]
53
54 UNIX_PRIVS_OBJ_FILES = $(libutilsrcdir)/unix_privs.o
55
56 $(eval $(call proto_header_template,$(libutilsrcdir)/unix_privs.h,$(UNIX_PRIVS_OBJ_FILES:.o=.c)))
57
58 ################################################
59 # Start SUBSYSTEM WRAP_XATTR
60 [SUBSYSTEM::WRAP_XATTR]
61 PUBLIC_DEPENDENCIES = XATTR
62 #
63 # End SUBSYSTEM WRAP_XATTR
64 ################################################
65
66 WRAP_XATTR_OBJ_FILES = $(libutilsrcdir)/wrap_xattr.o
67
68 [SUBSYSTEM::UTIL_TDB]
69 PUBLIC_DEPENDENCIES = LIBTDB
70
71 UTIL_TDB_OBJ_FILES = $(libutilsrcdir)/util_tdb.o
72
73 [SUBSYSTEM::UTIL_TEVENT]
74 PUBLIC_DEPENDENCIES = LIBTEVENT
75
76 UTIL_TEVENT_OBJ_FILES = $(addprefix $(libutilsrcdir)/, \
77                         tevent_unix.o \
78                         tevent_ntstatus.o)
79
80 [SUBSYSTEM::UTIL_LDB]
81 PUBLIC_DEPENDENCIES = LIBLDB
82
83 UTIL_LDB_OBJ_FILES = $(libutilsrcdir)/util_ldb.o