replace/waf: add rt to deps at this place
[Samba/gebeck_regimport.git] / source4 / libcli / config.mk
blobe8741d165a2d99c903e3d30d2e3b5e580e922711
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::LIBSAMBA_TSOCKET]
12 PUBLIC_DEPENDENCIES = LIBTSOCKET UTIL_TEVENT
14 LIBSAMBA_TSOCKET_OBJ_FILES = $(addprefix ../libcli/util/, tstream.o)
16 [SUBSYSTEM::LIBCLI_LSA]
17 PUBLIC_DEPENDENCIES = RPC_NDR_LSA
18 PRIVATE_DEPENDENCIES = LIBSECURITY
20 LIBCLI_LSA_OBJ_FILES = $(libclisrcdir)/util/clilsa.o
22 $(eval $(call proto_header_template,$(libclisrcdir)/util/clilsa.h,$(LIBCLI_LSA_OBJ_FILES:.o=.c)))
24 [SUBSYSTEM::LIBCLI_COMPOSITE]
25 PUBLIC_DEPENDENCIES = LIBEVENTS
27 LIBCLI_COMPOSITE_OBJ_FILES = $(libclisrcdir)/composite/composite.o
28 $(eval $(call proto_header_template,$(libclisrcdir)/composite/proto.h,$(LIBCLI_COMPOSITE_OBJ_FILES:.o=.c)))
30 [SUBSYSTEM::LIBCLI_SMB_COMPOSITE]
31 PUBLIC_DEPENDENCIES = LIBCLI_COMPOSITE CREDENTIALS gensec LIBCLI_RESOLVE
33 LIBCLI_SMB_COMPOSITE_OBJ_FILES = $(addprefix $(libclisrcdir)/smb_composite/, \
34 loadfile.o \
35 savefile.o \
36 connect.o \
37 sesssetup.o \
38 fetchfile.o \
39 appendacl.o \
40 fsinfo.o \
41 smb2.o)
43 $(eval $(call proto_header_template,$(libclisrcdir)/smb_composite/proto.h,$(LIBCLI_SMB_COMPOSITE_OBJ_FILES:.o=.c)))
45 [PYTHON::python_netbios]
46 LIBRARY_REALNAME = samba/netbios.$(SHLIBEXT)
47 PUBLIC_DEPENDENCIES = LIBCLI_NBT DYNCONFIG LIBSAMBA-HOSTCONFIG
49 python_netbios_OBJ_FILES = $(libclinbtsrcdir)/pynbt.o
51 [SUBSYSTEM::LIBCLI_DGRAM]
52 PUBLIC_DEPENDENCIES = LIBCLI_NBT LIBNDR LIBCLI_RESOLVE LIBCLI_NETLOGON
54 LIBCLI_DGRAM_OBJ_FILES = $(addprefix $(libclisrcdir)/dgram/, \
55 dgramsocket.o \
56 mailslot.o \
57 netlogon.o \
58 browse.o)
60 [SUBSYSTEM::LIBCLI_WREPL]
61 PUBLIC_DEPENDENCIES = NDR_WINSREPL LIBEVENTS UTIL_TEVENT LIBTSOCKET LIBSAMBA_TSOCKET
63 LIBCLI_WREPL_OBJ_FILES = $(libclisrcdir)/wrepl/winsrepl.o
65 $(eval $(call proto_header_template,$(libclisrcdir)/wrepl/winsrepl_proto.h,$(LIBCLI_WREPL_OBJ_FILES:.o=.c)))
67 [SUBSYSTEM::LIBCLI_RESOLVE]
68 PUBLIC_DEPENDENCIES = NDR_NBT LIBTSOCKET
70 LIBCLI_RESOLVE_OBJ_FILES = $(libclisrcdir)/resolve/resolve.o
72 $(eval $(call proto_header_template,$(libclisrcdir)/resolve/proto.h,$(LIBCLI_RESOLVE_OBJ_FILES:.o=.c)))
74 [SUBSYSTEM::LP_RESOLVE]
75 PRIVATE_DEPENDENCIES = LIBCLI_NBT LIBSAMBA-HOSTCONFIG LIBNETIF
77 LP_RESOLVE_OBJ_FILES = $(addprefix $(libclisrcdir)/resolve/, \
78 bcast.o nbtlist.o wins.o \
79 dns_ex.o file.o \
80 host.o resolve_lp.o)
82 $(eval $(call proto_header_template,$(libclisrcdir)/resolve/lp_proto.h,$(LP_RESOLVE_OBJ_FILES:.o=.c)))
84 [SUBSYSTEM::LIBCLI_FINDDCS]
85 PUBLIC_DEPENDENCIES = LIBCLI_NBT MESSAGING
87 LIBCLI_FINDDCS_OBJ_FILES = $(libclisrcdir)/finddcs.o
89 $(eval $(call proto_header_template,$(libclisrcdir)/finddcs.h,$(LIBCLI_FINDDCS_OBJ_FILES:.o=.c)))
91 [SUBSYSTEM::LIBCLI_SMB]
92 PUBLIC_DEPENDENCIES = LIBCLI_RAW LIBSAMBA-ERRORS LIBCLI_AUTH \
93 LIBCLI_SMB_COMPOSITE LIBCLI_NBT LIBSECURITY LIBCLI_RESOLVE \
94 LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket
96 LIBCLI_SMB_OBJ_FILES = $(addprefix $(libclisrcdir)/, \
97 clireadwrite.o \
98 cliconnect.o \
99 clifile.o \
100 clilist.o \
101 clitrans2.o \
102 climessage.o \
103 clideltree.o)
105 $(eval $(call proto_header_template,$(libclisrcdir)/libcli_proto.h,$(LIBCLI_SMB_OBJ_FILES:.o=.c)))
107 # PUBLIC_HEADERS += $(libclisrcdir)/libcli.h
109 [SUBSYSTEM::LIBCLI_RAW]
110 PRIVATE_DEPENDENCIES = LIBCLI_COMPOSITE LP_RESOLVE gensec LIBCLI_RESOLVE LIBSECURITY LIBNDR
111 #LDFLAGS = $(LIBCLI_SMB_COMPOSITE_OUTPUT)
112 PUBLIC_DEPENDENCIES = samba_socket LIBPACKET gensec LIBCRYPTO CREDENTIALS LIBCLI_SMB_COMMON
114 LIBCLI_RAW_OBJ_FILES = $(addprefix $(libclisrcdir)/raw/, rawfile.o smb_signing.o clisocket.o \
115 clitransport.o clisession.o clitree.o clierror.o rawrequest.o \
116 rawreadwrite.o rawsearch.o rawsetfileinfo.o raweas.o rawtrans.o \
117 clioplock.o rawnegotiate.o rawfsinfo.o rawfileinfo.o rawnotify.o \
118 rawioctl.o rawacl.o rawdate.o rawlpq.o rawshadow.o)
121 $(eval $(call proto_header_template,$(libclisrcdir)/raw/raw_proto.h,$(LIBCLI_RAW_OBJ_FILES:.o=.c)))
123 mkinclude smb2/config.mk