Add header files for secace and secacl.
[amitay/samba.git] / source4 / libcli / config.mk
1 mkinclude auth/config.mk
2 mkinclude ldap/config.mk
3 mkinclude security/config.mk
4 mkinclude wbclient/config.mk
5
6 [SUBSYSTEM::LIBSAMBA-ERRORS]
7
8 LIBSAMBA-ERRORS_OBJ_FILES = $(addprefix ../libcli/util/, doserr.o ) $(libclisrcdir)/util/errormap.o $(libclisrcdir)/util/nterr.o
9
10 PUBLIC_HEADERS += $(addprefix ../libcli/util/, error.h ntstatus.h doserr.h werror.h)
11
12 [SUBSYSTEM::LIBCLI_LSA]
13 PUBLIC_DEPENDENCIES = RPC_NDR_LSA
14 PRIVATE_DEPENDENCIES = LIBSECURITY
15
16 LIBCLI_LSA_OBJ_FILES = $(libclisrcdir)/util/clilsa.o
17
18 $(eval $(call proto_header_template,$(libclisrcdir)/util/clilsa.h,$(LIBCLI_LSA_OBJ_FILES:.o=.c)))
19
20 [SUBSYSTEM::LIBCLI_COMPOSITE]
21 PUBLIC_DEPENDENCIES = LIBEVENTS
22
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)))
25
26 [SUBSYSTEM::LIBCLI_SMB_COMPOSITE]
27 PUBLIC_DEPENDENCIES = LIBCLI_COMPOSITE CREDENTIALS gensec LIBCLI_RESOLVE
28
29 LIBCLI_SMB_COMPOSITE_OBJ_FILES = $(addprefix $(libclisrcdir)/smb_composite/, \
30         loadfile.o \
31         savefile.o \
32         connect.o \
33         sesssetup.o \
34         fetchfile.o \
35         appendacl.o \
36         fsinfo.o \
37         smb2.o)
38
39 $(eval $(call proto_header_template,$(libclisrcdir)/smb_composite/proto.h,$(LIBCLI_SMB_COMPOSITE_OBJ_FILES:.o=.c)))
40
41 [SUBSYSTEM::NDR_NBT_BUF]
42
43 NDR_NBT_BUF_OBJ_FILES = $(libclinbtsrcdir)/nbtname.o
44
45 $(eval $(call proto_header_template,$(libclinbtsrcdir)/nbtname.h,$(NDR_NBT_BUF_OBJ_FILES:.o=.c)))
46
47 [SUBSYSTEM::LIBCLI_NBT]
48 PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT LIBCLI_COMPOSITE LIBEVENTS \
49         NDR_SECURITY samba_socket LIBSAMBA-UTIL
50
51 LIBCLI_NBT_OBJ_FILES = $(addprefix $(libclinbtsrcdir)/, \
52         nbtsocket.o \
53         namequery.o \
54         nameregister.o \
55         namerefresh.o \
56         namerelease.o)
57
58 [BINARY::nmblookup]
59 INSTALLDIR = BINDIR
60 PRIVATE_DEPENDENCIES = \
61                 LIBSAMBA-HOSTCONFIG \
62                 LIBSAMBA-UTIL \
63                 LIBCLI_NBT \
64                 LIBPOPT \
65                 POPT_SAMBA \
66                 LIBNETIF \
67                 LIBCLI_RESOLVE
68
69 nmblookup_OBJ_FILES = $(libclinbtsrcdir)/tools/nmblookup.o
70 MANPAGES += $(libclinbtsrcdir)/man/nmblookup.1
71
72 [SUBSYSTEM::LIBCLI_NDR_NETLOGON]
73 PUBLIC_DEPENDENCIES = LIBNDR  \
74         NDR_SECURITY    
75
76 LIBCLI_NDR_NETLOGON_OBJ_FILES = $(addprefix $(libclinbtsrcdir)/../, ndr_netlogon.o)
77
78 [SUBSYSTEM::LIBCLI_NETLOGON]
79 PUBLIC_DEPENDENCIES = LIBSAMBA-UTIL LIBCLI_NDR_NETLOGON
80
81 LIBCLI_NETLOGON_OBJ_FILES = $(addprefix $(libclinbtsrcdir)/, \
82         ../netlogon.o)
83
84 [PYTHON::python_netbios]
85 LIBRARY_REALNAME = samba/netbios.$(SHLIBEXT)
86 PUBLIC_DEPENDENCIES = LIBCLI_NBT DYNCONFIG LIBSAMBA-HOSTCONFIG
87
88 python_netbios_OBJ_FILES = $(libclinbtsrcdir)/pynbt.o
89
90 [SUBSYSTEM::LIBCLI_DGRAM]
91 PUBLIC_DEPENDENCIES = LIBCLI_NBT LIBNDR LIBCLI_RESOLVE LIBCLI_NETLOGON
92
93 LIBCLI_DGRAM_OBJ_FILES = $(addprefix $(libclisrcdir)/dgram/, \
94         dgramsocket.o \
95         mailslot.o \
96         netlogon.o \
97         browse.o)
98
99 [SUBSYSTEM::LIBCLI_CLDAP]
100 PUBLIC_DEPENDENCIES = LIBCLI_LDAP
101 PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBLDB LIBCLI_NETLOGON
102
103 LIBCLI_CLDAP_OBJ_FILES = $(libclisrcdir)/cldap/cldap.o
104 # PUBLIC_HEADERS += $(libclisrcdir)/cldap/cldap.h
105
106 [SUBSYSTEM::LIBCLI_WREPL]
107 PUBLIC_DEPENDENCIES = NDR_WINSREPL samba_socket LIBEVENTS LIBPACKET
108
109 LIBCLI_WREPL_OBJ_FILES = $(libclisrcdir)/wrepl/winsrepl.o
110
111 $(eval $(call proto_header_template,$(libclisrcdir)/wrepl/winsrepl_proto.h,$(LIBCLI_WREPL_OBJ_FILES:.o=.c)))
112
113 [SUBSYSTEM::LIBCLI_RESOLVE]
114 PUBLIC_DEPENDENCIES = NDR_NBT
115
116 LIBCLI_RESOLVE_OBJ_FILES = $(libclisrcdir)/resolve/resolve.o
117
118 $(eval $(call proto_header_template,$(libclisrcdir)/resolve/proto.h,$(LIBCLI_RESOLVE_OBJ_FILES:.o=.c)))
119
120 [SUBSYSTEM::LP_RESOLVE]
121 PRIVATE_DEPENDENCIES = LIBCLI_NBT LIBSAMBA-HOSTCONFIG LIBNETIF 
122
123 LP_RESOLVE_OBJ_FILES = $(addprefix $(libclisrcdir)/resolve/, \
124                                           bcast.o nbtlist.o wins.o \
125                                           dns_ex.o \
126                                           host.o resolve_lp.o)
127
128 $(eval $(call proto_header_template,$(libclisrcdir)/resolve/lp_proto.h,$(LP_RESOLVE_OBJ_FILES:.o=.c)))
129
130 [SUBSYSTEM::LIBCLI_FINDDCS]
131 PUBLIC_DEPENDENCIES = LIBCLI_NBT MESSAGING
132
133 LIBCLI_FINDDCS_OBJ_FILES = $(libclisrcdir)/finddcs.o
134
135 $(eval $(call proto_header_template,$(libclisrcdir)/finddcs.h,$(LIBCLI_FINDDCS_OBJ_FILES:.o=.c)))
136
137 [SUBSYSTEM::LIBCLI_SMB]
138 PUBLIC_DEPENDENCIES = LIBCLI_RAW LIBSAMBA-ERRORS LIBCLI_AUTH \
139         LIBCLI_SMB_COMPOSITE LIBCLI_NBT LIBSECURITY LIBCLI_RESOLVE \
140         LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba_socket
141
142 LIBCLI_SMB_OBJ_FILES = $(addprefix $(libclisrcdir)/, \
143                 clireadwrite.o \
144                 cliconnect.o \
145                 clifile.o \
146                 clilist.o \
147                 clitrans2.o \
148                 climessage.o \
149                 clideltree.o)
150
151 $(eval $(call proto_header_template,$(libclisrcdir)/libcli_proto.h,$(LIBCLI_SMB_OBJ_FILES:.o=.c)))
152
153 # PUBLIC_HEADERS += $(libclisrcdir)/libcli.h
154
155 [SUBSYSTEM::LIBCLI_RAW]
156 PRIVATE_DEPENDENCIES = LIBCLI_COMPOSITE LP_RESOLVE gensec LIBCLI_RESOLVE LIBSECURITY LIBNDR
157 #LDFLAGS = $(LIBCLI_SMB_COMPOSITE_OUTPUT)
158 PUBLIC_DEPENDENCIES = samba_socket LIBPACKET gensec LIBCRYPTO CREDENTIALS 
159
160 LIBCLI_RAW_OBJ_FILES = $(addprefix $(libclisrcdir)/raw/, rawfile.o smb_signing.o clisocket.o \
161                                           clitransport.o clisession.o clitree.o clierror.o rawrequest.o \
162                                           rawreadwrite.o rawsearch.o rawsetfileinfo.o raweas.o rawtrans.o \
163                                           clioplock.o rawnegotiate.o rawfsinfo.o rawfileinfo.o rawnotify.o \
164                                           rawioctl.o rawacl.o rawdate.o rawlpq.o rawshadow.o)
165
166
167 $(eval $(call proto_header_template,$(libclisrcdir)/raw/raw_proto.h,$(LIBCLI_RAW_OBJ_FILES:.o=.c)))
168
169 mkinclude smb2/config.mk