1 mkinclude auth
/config.mk
2 mkinclude ldap
/config.mk
3 mkinclude security
/config.mk
4 mkinclude wbclient
/config.mk
6 [SUBSYSTEM
::LIBSAMBA-ERRORS
]
8 LIBSAMBA-ERRORS_OBJ_FILES
= $(addprefix $(libclisrcdir
)/util
/, doserr.o errormap.o nterr.o
)
10 PUBLIC_HEADERS
+= $(addprefix $(libclisrcdir
)/, util
/error.h util
/ntstatus.h util
/doserr.h util
/werror.h
)
12 [SUBSYSTEM
::LIBCLI_LSA
]
13 PUBLIC_DEPENDENCIES
= RPC_NDR_LSA
14 PRIVATE_DEPENDENCIES
= LIBSECURITY
16 LIBCLI_LSA_OBJ_FILES
= $(libclisrcdir
)/util
/clilsa.o
18 $(eval
$(call proto_header_template
,$(libclisrcdir
)/util
/clilsa.h
,$(LIBCLI_LSA_OBJ_FILES
:.o
=.c
)))
20 [SUBSYSTEM
::LIBCLI_COMPOSITE
]
21 PUBLIC_DEPENDENCIES
= LIBEVENTS
23 LIBCLI_COMPOSITE_OBJ_FILES
= $(libclisrcdir
)/composite
/composite.o
24 $(eval
$(call proto_header_template
,$(libclisrcdir
)/composite
/proto.h
,$(LIBCLI_COMPOSITE_OBJ_FILES
:.o
=.c
)))
26 [SUBSYSTEM
::LIBCLI_SMB_COMPOSITE
]
27 PUBLIC_DEPENDENCIES
= LIBCLI_COMPOSITE CREDENTIALS gensec LIBCLI_RESOLVE
29 LIBCLI_SMB_COMPOSITE_OBJ_FILES
= $(addprefix $(libclisrcdir
)/smb_composite
/, \
39 $(eval
$(call proto_header_template
,$(libclisrcdir
)/smb_composite
/proto.h
,$(LIBCLI_SMB_COMPOSITE_OBJ_FILES
:.o
=.c
)))
41 [SUBSYSTEM
::NDR_NBT_BUF
]
43 NDR_NBT_BUF_OBJ_FILES
= $(libclisrcdir
)/nbt
/nbtname.o
45 $(eval
$(call proto_header_template
,$(libclisrcdir
)/nbt
/nbtname.h
,$(NDR_NBT_BUF_OBJ_FILES
:.o
=.c
)))
47 [SUBSYSTEM
::LIBCLI_NBT
]
48 PUBLIC_DEPENDENCIES
= LIBNDR NDR_NBT LIBCLI_COMPOSITE LIBEVENTS \
49 NDR_SECURITY samba-socket LIBSAMBA-UTIL
51 LIBCLI_NBT_OBJ_FILES
= $(addprefix $(libclisrcdir
)/nbt
/, \
58 $(eval
$(call proto_header_template
,$(libclisrcdir
)/nbt
/nbt_proto.h
,$(LIBCLI_NBT_OBJ_FILES
:.o
=.c
)))
60 [SUBSYSTEM
::LIBCLI_NDR_NETLOGON
]
61 PUBLIC_DEPENDENCIES
= LIBNDR \
64 LIBCLI_NDR_NETLOGON_OBJ_FILES
= $(addprefix $(libclisrcdir
)/, ndr_netlogon.o
)
66 $(eval
$(call proto_header_template
,$(libclisrcdir
)/ndr_netlogon_proto.h
,$(LIBCLI_NDR_NETLOGON_OBJ_FILES
:.o
=.c
)))
68 [SUBSYSTEM
::LIBCLI_NETLOGON
]
69 PUBLIC_DEPENDENCIES
= LIBSAMBA-UTIL LIBCLI_NDR_NETLOGON
71 LIBCLI_NETLOGON_OBJ_FILES
= $(addprefix $(libclisrcdir
)/, \
74 $(eval
$(call proto_header_template
,$(libclisrcdir
)/netlogon_proto.h
,$(LIBCLI_NETLOGON_OBJ_FILES
:.o
=.c
)))
76 [PYTHON
::python_netbios
]
77 LIBRARY_REALNAME
= samba
/netbios.
$(SHLIBEXT
)
78 PUBLIC_DEPENDENCIES
= LIBCLI_NBT DYNCONFIG LIBSAMBA-HOSTCONFIG
80 python_netbios_OBJ_FILES
= $(libclisrcdir
)/nbt
/pynbt.o
82 $(python_libcli_nbt_OBJ_FILES
): CFLAGS
+=$(CFLAG_NO_UNUSED_MACROS
) $(CFLAG_NO_CAST_QUAL
)
84 [PYTHON
::python_libcli_smb
]
85 LIBRARY_REALNAME
= samba
/_libcli_smb.
$(SHLIBEXT
)
86 PUBLIC_DEPENDENCIES
= LIBCLI_SMB DYNCONFIG LIBSAMBA-HOSTCONFIG
88 python_libcli_smb_OBJ_FILES
= $(libclisrcdir
)/swig
/libcli_smb_wrap.o
90 $(eval
$(call python_py_module_template
,samba
/smb.py
,$(libclisrcdir
)/swig
/libcli_smb.py
))
92 $(python_libcli_smb_OBJ_FILES
): CFLAGS
+=$(CFLAG_NO_UNUSED_MACROS
) $(CFLAG_NO_CAST_QUAL
)
95 [SUBSYSTEM
::LIBCLI_DGRAM
]
96 PUBLIC_DEPENDENCIES
= LIBCLI_NBT LIBNDR LIBCLI_RESOLVE LIBCLI_NETLOGON
98 LIBCLI_DGRAM_OBJ_FILES
= $(addprefix $(libclisrcdir
)/dgram
/, \
104 [SUBSYSTEM
::LIBCLI_CLDAP
]
105 PUBLIC_DEPENDENCIES
= LIBCLI_LDAP
106 PRIVATE_DEPENDENCIES
= LIBSAMBA-UTIL LIBLDB LIBCLI_NETLOGON
108 LIBCLI_CLDAP_OBJ_FILES
= $(libclisrcdir
)/cldap
/cldap.o
109 # PUBLIC_HEADERS += $(libclisrcdir)/cldap/cldap.h
111 [SUBSYSTEM
::LIBCLI_WREPL
]
112 PUBLIC_DEPENDENCIES
= NDR_WINSREPL samba-socket LIBCLI_RESOLVE LIBEVENTS \
115 LIBCLI_WREPL_OBJ_FILES
= $(libclisrcdir
)/wrepl
/winsrepl.o
117 $(eval
$(call proto_header_template
,$(libclisrcdir
)/wrepl
/winsrepl_proto.h
,$(LIBCLI_WREPL_OBJ_FILES
:.o
=.c
)))
119 [SUBSYSTEM
::LIBCLI_RESOLVE
]
120 PUBLIC_DEPENDENCIES
= NDR_NBT
122 LIBCLI_RESOLVE_OBJ_FILES
= $(libclisrcdir
)/resolve
/resolve.o
124 $(eval
$(call proto_header_template
,$(libclisrcdir
)/resolve
/proto.h
,$(LIBCLI_RESOLVE_OBJ_FILES
:.o
=.c
)))
126 [SUBSYSTEM
::LP_RESOLVE
]
127 PRIVATE_DEPENDENCIES
= LIBCLI_NBT LIBSAMBA-HOSTCONFIG LIBNETIF
129 LP_RESOLVE_OBJ_FILES
= $(addprefix $(libclisrcdir
)/resolve
/, \
130 bcast.o nbtlist.o wins.o \
133 $(eval
$(call proto_header_template
,$(libclisrcdir
)/resolve
/lp_proto.h
,$(LP_RESOLVE_OBJ_FILES
:.o
=.c
)))
135 [SUBSYSTEM
::LIBCLI_FINDDCS
]
136 PUBLIC_DEPENDENCIES
= LIBCLI_NBT MESSAGING
138 LIBCLI_FINDDCS_OBJ_FILES
= $(libclisrcdir
)/finddcs.o
140 $(eval
$(call proto_header_template
,$(libclisrcdir
)/finddcs.h
,$(LIBCLI_FINDDCS_OBJ_FILES
:.o
=.c
)))
142 [SUBSYSTEM
::LIBCLI_SMB
]
143 PUBLIC_DEPENDENCIES
= LIBCLI_RAW LIBSAMBA-ERRORS LIBCLI_AUTH \
144 LIBCLI_SMB_COMPOSITE LIBCLI_NBT LIBSECURITY LIBCLI_RESOLVE \
145 LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba-socket
147 LIBCLI_SMB_OBJ_FILES
= $(addprefix $(libclisrcdir
)/, \
156 $(eval
$(call proto_header_template
,$(libclisrcdir
)/libcli_proto.h
,$(LIBCLI_SMB_OBJ_FILES
:.o
=.c
)))
158 # PUBLIC_HEADERS += $(libclisrcdir)/libcli.h
160 [SUBSYSTEM
::LIBCLI_RAW
]
161 PRIVATE_DEPENDENCIES
= LIBCLI_COMPOSITE LP_RESOLVE gensec LIBCLI_RESOLVE LIBSECURITY LIBNDR
162 #LDFLAGS = $(LIBCLI_SMB_COMPOSITE_OUTPUT)
163 PUBLIC_DEPENDENCIES
= samba-socket LIBPACKET gensec LIBCRYPTO CREDENTIALS
165 LIBCLI_RAW_OBJ_FILES
= $(addprefix $(libclisrcdir
)/raw
/, rawfile.o smb_signing.o clisocket.o \
166 clitransport.o clisession.o clitree.o clierror.o rawrequest.o \
167 rawreadwrite.o rawsearch.o rawsetfileinfo.o raweas.o rawtrans.o \
168 clioplock.o rawnegotiate.o rawfsinfo.o rawfileinfo.o rawnotify.o \
169 rawioctl.o rawacl.o rawdate.o rawlpq.o rawshadow.o
)
172 $(eval
$(call proto_header_template
,$(libclisrcdir
)/raw
/raw_proto.h
,$(LIBCLI_RAW_OBJ_FILES
:.o
=.c
)))
174 mkinclude smb2
/config.mk