47e026865e7d57d6b5505f5feb34767a1e5050e0
[sfrench/samba-autobuild/.git] / lib / util / config.mk
1 [LIBRARY::LIBSAMBA-UTIL]
2 PUBLIC_DEPENDENCIES = \
3                 LIBTALLOC LIBCRYPTO \
4                 SOCKET_WRAPPER LIBREPLACE_NETWORK \
5                 CHARSET EXECINFO
6
7 LIBSAMBA-UTIL_VERSION = 0.0.1
8 LIBSAMBA-UTIL_SOVERSION = 0
9
10 LIBSAMBA-UTIL_OBJ_FILES = $(addprefix $(libutilsrcdir)/, \
11                 xfile.o \
12                 debug.o \
13                 fault.o \
14                 signal.o \
15                 system.o \
16                 time.o \
17                 genrand.o \
18                 dprintf.o \
19                 util_str.o \
20                 substitute.o \
21                 util_strlist.o \
22                 util_file.o \
23                 data_blob.o \
24                 util.o \
25                 blocking.o \
26                 util_net.o \
27                 fsusage.o \
28                 ms_fnmatch.o \
29                 mutex.o \
30                 idtree.o \
31                 become_daemon.o \
32                 rbtree.o \
33                 talloc_stack.o \
34                 smb_threads.o \
35                 params.o \
36                 util_id.o)
37
38 PUBLIC_HEADERS += $(addprefix $(libutilsrcdir)/, util.h \
39                                  dlinklist.h \
40                                  attr.h \
41                                  byteorder.h \
42                                  data_blob.h \
43                                  debug.h \
44                                  memory.h \
45                                  mutex.h \
46                                  safe_string.h \
47                                  time.h \
48                                  util_ldb.h \
49                                  talloc_stack.h \
50                                  xfile.h)
51
52 [SUBSYSTEM::ASN1_UTIL]
53
54 ASN1_UTIL_OBJ_FILES = $(libutilsrcdir)/asn1.o
55
56 [SUBSYSTEM::UNIX_PRIVS]
57 PRIVATE_DEPENDENCIES = UID_WRAPPER
58
59 UNIX_PRIVS_OBJ_FILES = $(libutilsrcdir)/unix_privs.o
60
61 $(eval $(call proto_header_template,$(libutilsrcdir)/unix_privs.h,$(UNIX_PRIVS_OBJ_FILES:.o=.c)))
62
63 ################################################
64 # Start SUBSYSTEM WRAP_XATTR
65 [SUBSYSTEM::WRAP_XATTR]
66 PUBLIC_DEPENDENCIES = XATTR
67 #
68 # End SUBSYSTEM WRAP_XATTR
69 ################################################
70
71 WRAP_XATTR_OBJ_FILES = $(libutilsrcdir)/wrap_xattr.o
72
73 [SUBSYSTEM::UTIL_TDB]
74 PUBLIC_DEPENDENCIES = LIBTDB
75
76 UTIL_TDB_OBJ_FILES = $(libutilsrcdir)/util_tdb.o
77
78 [SUBSYSTEM::UTIL_TEVENT]
79 PUBLIC_DEPENDENCIES = LIBTEVENT
80
81 UTIL_TEVENT_OBJ_FILES = $(addprefix $(libutilsrcdir)/, \
82                         tevent_unix.o \
83                         tevent_ntstatus.o)
84
85 [SUBSYSTEM::UTIL_LDB]
86 PUBLIC_DEPENDENCIES = LIBLDB
87
88 UTIL_LDB_OBJ_FILES = $(libutilsrcdir)/util_ldb.o