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