s4: fix various warnings (not "const" related ones)
[sfrench/samba-autobuild/.git] / source4 / libcli / config.mk
1 mkinclude ldap/config.mk
2 mkinclude security/config.mk
3 mkinclude wbclient/config.mk
4
5 [SUBSYSTEM::LIBSAMBA-ERRORS]
6
7 LIBSAMBA-ERRORS_OBJ_FILES = $(addprefix ../libcli/util/, doserr.o ) $(libclisrcdir)/util/errormap.o $(libclisrcdir)/util/nterr.o
8
9 PUBLIC_HEADERS += $(addprefix ../libcli/util/, error.h ntstatus.h doserr.h werror.h)
10
11 [SUBSYSTEM::LIBCLI_LSA]
12 PUBLIC_DEPENDENCIES = RPC_NDR_LSA
13 PRIVATE_DEPENDENCIES = LIBSECURITY
14
15 LIBCLI_LSA_OBJ_FILES = $(libclisrcdir)/util/clilsa.o
16
17 $(eval $(call proto_header_template,$(libclisrcdir)/util/clilsa.h,$(LIBCLI_LSA_OBJ_FILES:.o=.c)))
18
19 [SUBSYSTEM::LIBCLI_COMPOSITE]
20 PUBLIC_DEPENDENCIES = LIBEVENTS
21
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)))
24
25 [SUBSYSTEM::LIBCLI_SMB_COMPOSITE]
26 PUBLIC_DEPENDENCIES = LIBCLI_COMPOSITE CREDENTIALS gensec LIBCLI_RESOLVE
27
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)
37
38 $(eval $(call proto_header_template,$(libclisrcdir)/smb_composite/proto.h,$(LIBCLI_SMB_COMPOSITE_OBJ_FILES:.o=.c)))
39
40 [PYTHON::python_netbios]
41 LIBRARY_REALNAME = samba/netbios.$(SHLIBEXT)
42 PUBLIC_DEPENDENCIES = LIBCLI_NBT DYNCONFIG LIBSAMBA-HOSTCONFIG
43
44 python_netbios_OBJ_FILES = $(libclinbtsrcdir)/pynbt.o
45
46 [SUBSYSTEM::LIBCLI_DGRAM]
47 PUBLIC_DEPENDENCIES = LIBCLI_NBT LIBNDR LIBCLI_RESOLVE LIBCLI_NETLOGON
48
49 LIBCLI_DGRAM_OBJ_FILES = $(addprefix $(libclisrcdir)/dgram/, \
50         dgramsocket.o \
51         mailslot.o \
52         netlogon.o \
53         browse.o)
54
55 [SUBSYSTEM::LIBCLI_WREPL]
56 PUBLIC_DEPENDENCIES = NDR_WINSREPL samba_socket LIBEVENTS LIBPACKET
57
58 LIBCLI_WREPL_OBJ_FILES = $(libclisrcdir)/wrepl/winsrepl.o
59
60 $(eval $(call proto_header_template,$(libclisrcdir)/wrepl/winsrepl_proto.h,$(LIBCLI_WREPL_OBJ_FILES:.o=.c)))
61
62 [SUBSYSTEM::LIBCLI_RESOLVE]
63 PUBLIC_DEPENDENCIES = NDR_NBT
64
65 LIBCLI_RESOLVE_OBJ_FILES = $(libclisrcdir)/resolve/resolve.o
66
67 $(eval $(call proto_header_template,$(libclisrcdir)/resolve/proto.h,$(LIBCLI_RESOLVE_OBJ_FILES:.o=.c)))
68
69 [SUBSYSTEM::LP_RESOLVE]
70 PRIVATE_DEPENDENCIES = LIBCLI_NBT LIBSAMBA-HOSTCONFIG LIBNETIF 
71
72 LP_RESOLVE_OBJ_FILES = $(addprefix $(libclisrcdir)/resolve/, \
73                                           bcast.o nbtlist.o wins.o \
74                                           dns_ex.o \
75                                           host.o resolve_lp.o)
76
77 $(eval $(call proto_header_template,$(libclisrcdir)/resolve/lp_proto.h,$(LP_RESOLVE_OBJ_FILES:.o=.c)))
78
79 [SUBSYSTEM::LIBCLI_FINDDCS]
80 PUBLIC_DEPENDENCIES = LIBCLI_NBT MESSAGING
81
82 LIBCLI_FINDDCS_OBJ_FILES = $(libclisrcdir)/finddcs.o
83
84 $(eval $(call proto_header_template,$(libclisrcdir)/finddcs.h,$(LIBCLI_FINDDCS_OBJ_FILES:.o=.c)))
85
86 [SUBSYSTEM::LIBCLI_SMB]
87 PUBLIC_DEPENDENCIES = LIBCLI_RAW LIBSAMBA-ERRORS LIBCLI_AUTH \
88         LIBCLI_SMB_COMPOSITE LIBCLI_NBT LIBSECURITY LIBCLI_RESOLVE \
89         LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket
90
91 LIBCLI_SMB_OBJ_FILES = $(addprefix $(libclisrcdir)/, \
92                 clireadwrite.o \
93                 cliconnect.o \
94                 clifile.o \
95                 clilist.o \
96                 clitrans2.o \
97                 climessage.o \
98                 clideltree.o)
99
100 $(eval $(call proto_header_template,$(libclisrcdir)/libcli_proto.h,$(LIBCLI_SMB_OBJ_FILES:.o=.c)))
101
102 # PUBLIC_HEADERS += $(libclisrcdir)/libcli.h
103
104 [SUBSYSTEM::LIBCLI_RAW]
105 PRIVATE_DEPENDENCIES = LIBCLI_COMPOSITE LP_RESOLVE gensec LIBCLI_RESOLVE LIBSECURITY LIBNDR
106 #LDFLAGS = $(LIBCLI_SMB_COMPOSITE_OUTPUT)
107 PUBLIC_DEPENDENCIES = samba_socket LIBPACKET gensec LIBCRYPTO CREDENTIALS LIBCLI_SMB_COMMON
108
109 LIBCLI_RAW_OBJ_FILES = $(addprefix $(libclisrcdir)/raw/, rawfile.o smb_signing.o clisocket.o \
110                                           clitransport.o clisession.o clitree.o clierror.o rawrequest.o \
111                                           rawreadwrite.o rawsearch.o rawsetfileinfo.o raweas.o rawtrans.o \
112                                           clioplock.o rawnegotiate.o rawfsinfo.o rawfileinfo.o rawnotify.o \
113                                           rawioctl.o rawacl.o rawdate.o rawlpq.o rawshadow.o)
114
115
116 $(eval $(call proto_header_template,$(libclisrcdir)/raw/raw_proto.h,$(LIBCLI_RAW_OBJ_FILES:.o=.c)))
117
118 mkinclude smb2/config.mk