use py_talloc_reference instead of py_talloc_import
[Samba/aatanasov.git] / source4 / libcli / config.mk
blobad7bc311c296307356aca10e95ccf39395c1a48e
1 mkinclude ldap/config.mk
2 mkinclude security/config.mk
3 mkinclude wbclient/config.mk
5 [SUBSYSTEM::LIBSAMBA-ERRORS]
7 LIBSAMBA-ERRORS_OBJ_FILES = $(addprefix ../libcli/util/, doserr.o ) $(libclisrcdir)/util/errormap.o $(libclisrcdir)/util/nterr.o
9 PUBLIC_HEADERS += $(addprefix ../libcli/util/, error.h ntstatus.h doserr.h werror.h)
11 [SUBSYSTEM::LIBCLI_LSA]
12 PUBLIC_DEPENDENCIES = RPC_NDR_LSA
13 PRIVATE_DEPENDENCIES = LIBSECURITY
15 LIBCLI_LSA_OBJ_FILES = $(libclisrcdir)/util/clilsa.o
17 $(eval $(call proto_header_template,$(libclisrcdir)/util/clilsa.h,$(LIBCLI_LSA_OBJ_FILES:.o=.c)))
19 [SUBSYSTEM::LIBCLI_COMPOSITE]
20 PUBLIC_DEPENDENCIES = LIBEVENTS
22 LIBCLI_COMPOSITE_OBJ_FILES = $(libclisrcdir)/composite/composite.o
23 $(eval $(call proto_header_template,$(libclisrcdir)/composite/proto.h,$(LIBCLI_COMPOSITE_OBJ_FILES:.o=.c)))
25 [SUBSYSTEM::LIBCLI_SMB_COMPOSITE]
26 PUBLIC_DEPENDENCIES = LIBCLI_COMPOSITE CREDENTIALS gensec LIBCLI_RESOLVE
28 LIBCLI_SMB_COMPOSITE_OBJ_FILES = $(addprefix $(libclisrcdir)/smb_composite/, \
29 loadfile.o \
30 savefile.o \
31 connect.o \
32 sesssetup.o \
33 fetchfile.o \
34 appendacl.o \
35 fsinfo.o \
36 smb2.o)
38 $(eval $(call proto_header_template,$(libclisrcdir)/smb_composite/proto.h,$(LIBCLI_SMB_COMPOSITE_OBJ_FILES:.o=.c)))
40 [SUBSYSTEM::NDR_NBT_BUF]
42 NDR_NBT_BUF_OBJ_FILES = $(libclinbtsrcdir)/nbtname.o
44 $(eval $(call proto_header_template,$(libclinbtsrcdir)/nbtname.h,$(NDR_NBT_BUF_OBJ_FILES:.o=.c)))
46 [SUBSYSTEM::LIBCLI_NBT]
47 PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT LIBCLI_COMPOSITE LIBEVENTS \
48 NDR_SECURITY samba_socket LIBSAMBA-UTIL
50 LIBCLI_NBT_OBJ_FILES = $(addprefix $(libclinbtsrcdir)/, \
51 nbtsocket.o \
52 namequery.o \
53 nameregister.o \
54 namerefresh.o \
55 namerelease.o)
57 [BINARY::nmblookup]
58 INSTALLDIR = BINDIR
59 PRIVATE_DEPENDENCIES = \
60 LIBSAMBA-HOSTCONFIG \
61 LIBSAMBA-UTIL \
62 LIBCLI_NBT \
63 LIBPOPT \
64 POPT_SAMBA \
65 LIBNETIF \
66 LIBCLI_RESOLVE
68 nmblookup_OBJ_FILES = $(libclinbtsrcdir)/tools/nmblookup.o
69 MANPAGES += $(libclinbtsrcdir)/man/nmblookup.1
71 [SUBSYSTEM::LIBCLI_NDR_NETLOGON]
72 PUBLIC_DEPENDENCIES = LIBNDR \
73 NDR_SECURITY
75 LIBCLI_NDR_NETLOGON_OBJ_FILES = $(addprefix $(libclinbtsrcdir)/../, ndr_netlogon.o)
77 [SUBSYSTEM::LIBCLI_NETLOGON]
78 PUBLIC_DEPENDENCIES = LIBSAMBA-UTIL LIBCLI_NDR_NETLOGON
80 LIBCLI_NETLOGON_OBJ_FILES = $(addprefix $(libclinbtsrcdir)/, \
81 ../netlogon.o)
83 [PYTHON::python_netbios]
84 LIBRARY_REALNAME = samba/netbios.$(SHLIBEXT)
85 PUBLIC_DEPENDENCIES = LIBCLI_NBT DYNCONFIG LIBSAMBA-HOSTCONFIG
87 python_netbios_OBJ_FILES = $(libclinbtsrcdir)/pynbt.o
89 [SUBSYSTEM::LIBCLI_DGRAM]
90 PUBLIC_DEPENDENCIES = LIBCLI_NBT LIBNDR LIBCLI_RESOLVE LIBCLI_NETLOGON
92 LIBCLI_DGRAM_OBJ_FILES = $(addprefix $(libclisrcdir)/dgram/, \
93 dgramsocket.o \
94 mailslot.o \
95 netlogon.o \
96 browse.o)
98 [SUBSYSTEM::LIBCLI_WREPL]
99 PUBLIC_DEPENDENCIES = NDR_WINSREPL samba_socket LIBEVENTS LIBPACKET
101 LIBCLI_WREPL_OBJ_FILES = $(libclisrcdir)/wrepl/winsrepl.o
103 $(eval $(call proto_header_template,$(libclisrcdir)/wrepl/winsrepl_proto.h,$(LIBCLI_WREPL_OBJ_FILES:.o=.c)))
105 [SUBSYSTEM::LIBCLI_RESOLVE]
106 PUBLIC_DEPENDENCIES = NDR_NBT
108 LIBCLI_RESOLVE_OBJ_FILES = $(libclisrcdir)/resolve/resolve.o
110 $(eval $(call proto_header_template,$(libclisrcdir)/resolve/proto.h,$(LIBCLI_RESOLVE_OBJ_FILES:.o=.c)))
112 [SUBSYSTEM::LP_RESOLVE]
113 PRIVATE_DEPENDENCIES = LIBCLI_NBT LIBSAMBA-HOSTCONFIG LIBNETIF
115 LP_RESOLVE_OBJ_FILES = $(addprefix $(libclisrcdir)/resolve/, \
116 bcast.o nbtlist.o wins.o \
117 dns_ex.o \
118 host.o resolve_lp.o)
120 $(eval $(call proto_header_template,$(libclisrcdir)/resolve/lp_proto.h,$(LP_RESOLVE_OBJ_FILES:.o=.c)))
122 [SUBSYSTEM::LIBCLI_FINDDCS]
123 PUBLIC_DEPENDENCIES = LIBCLI_NBT MESSAGING
125 LIBCLI_FINDDCS_OBJ_FILES = $(libclisrcdir)/finddcs.o
127 $(eval $(call proto_header_template,$(libclisrcdir)/finddcs.h,$(LIBCLI_FINDDCS_OBJ_FILES:.o=.c)))
129 [SUBSYSTEM::LIBCLI_SMB]
130 PUBLIC_DEPENDENCIES = LIBCLI_RAW LIBSAMBA-ERRORS LIBCLI_AUTH \
131 LIBCLI_SMB_COMPOSITE LIBCLI_NBT LIBSECURITY LIBCLI_RESOLVE \
132 LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket
134 LIBCLI_SMB_OBJ_FILES = $(addprefix $(libclisrcdir)/, \
135 clireadwrite.o \
136 cliconnect.o \
137 clifile.o \
138 clilist.o \
139 clitrans2.o \
140 climessage.o \
141 clideltree.o)
143 $(eval $(call proto_header_template,$(libclisrcdir)/libcli_proto.h,$(LIBCLI_SMB_OBJ_FILES:.o=.c)))
145 # PUBLIC_HEADERS += $(libclisrcdir)/libcli.h
147 [SUBSYSTEM::LIBCLI_RAW]
148 PRIVATE_DEPENDENCIES = LIBCLI_COMPOSITE LP_RESOLVE gensec LIBCLI_RESOLVE LIBSECURITY LIBNDR
149 #LDFLAGS = $(LIBCLI_SMB_COMPOSITE_OUTPUT)
150 PUBLIC_DEPENDENCIES = samba_socket LIBPACKET gensec LIBCRYPTO CREDENTIALS
152 LIBCLI_RAW_OBJ_FILES = $(addprefix $(libclisrcdir)/raw/, rawfile.o smb_signing.o clisocket.o \
153 clitransport.o clisession.o clitree.o clierror.o rawrequest.o \
154 rawreadwrite.o rawsearch.o rawsetfileinfo.o raweas.o rawtrans.o \
155 clioplock.o rawnegotiate.o rawfsinfo.o rawfileinfo.o rawnotify.o \
156 rawioctl.o rawacl.o rawdate.o rawlpq.o rawshadow.o)
159 $(eval $(call proto_header_template,$(libclisrcdir)/raw/raw_proto.h,$(LIBCLI_RAW_OBJ_FILES:.o=.c)))
161 mkinclude smb2/config.mk