Avoid redetermining paths; use already stored values.
[jelmer/samba4-debian.git] / source / libcli / config.mk
1 include auth/config.mk
2 include ldap/config.mk
3 include security/config.mk
4
5 [SUBSYSTEM::LIBSAMBA-ERRORS]
6 PUBLIC_HEADERS = util/error.h util/ntstatus.h util/doserr.h util/werror.h
7 OBJ_FILES = util/doserr.o \
8                     util/errormap.o \
9                     util/nterr.o \
10
11 [SUBSYSTEM::LIBCLI_LSA]
12 PRIVATE_PROTO_HEADER = util/clilsa.h
13 OBJ_FILES = util/clilsa.o
14 PUBLIC_DEPENDENCIES = RPC_NDR_LSA
15 PRIVATE_DEPENDENCIES = LIBSECURITY
16
17 [SUBSYSTEM::LIBCLI_COMPOSITE]
18 PRIVATE_PROTO_HEADER = composite/proto.h
19 OBJ_FILES = \
20         composite/composite.o
21 PUBLIC_DEPENDENCIES = LIBEVENTS
22
23 [SUBSYSTEM::LIBCLI_SMB_COMPOSITE]
24 PRIVATE_PROTO_HEADER = smb_composite/proto.h
25 OBJ_FILES = \
26         smb_composite/loadfile.o \
27         smb_composite/savefile.o \
28         smb_composite/connect.o \
29         smb_composite/sesssetup.o \
30         smb_composite/fetchfile.o \
31         smb_composite/appendacl.o \
32         smb_composite/fsinfo.o 
33 PUBLIC_DEPENDENCIES = LIBCLI_COMPOSITE CREDENTIALS gensec LIBCLI_RESOLVE
34
35 [SUBSYSTEM::NDR_NBT_BUF]
36 PRIVATE_PROTO_HEADER = nbt/nbtname.h
37 OBJ_FILES = nbt/nbtname.o
38
39 [SUBSYSTEM::LIBCLI_NBT]
40 #VERSION = 0.0.1
41 #SO_VERSION = 0
42 PRIVATE_PROTO_HEADER = nbt/nbt_proto.h
43 OBJ_FILES = \
44         nbt/nbtsocket.o \
45         nbt/namequery.o \
46         nbt/nameregister.o \
47         nbt/namerefresh.o \
48         nbt/namerelease.o
49 PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT LIBCLI_COMPOSITE LIBEVENTS \
50         NDR_SECURITY samba-socket LIBSAMBA-UTIL
51
52 [PYTHON::python_libcli_nbt]
53 SWIG_FILE = swig/libcli_nbt.i
54 PUBLIC_DEPENDENCIES = LIBCLI_NBT DYNCONFIG LIBSAMBA-CONFIG
55
56 [PYTHON::python_libcli_smb]
57 SWIG_FILE = swig/libcli_smb.i
58 PUBLIC_DEPENDENCIES = LIBCLI_SMB DYNCONFIG LIBSAMBA-CONFIG
59
60 [SUBSYSTEM::LIBCLI_DGRAM]
61 OBJ_FILES = \
62         dgram/dgramsocket.o \
63         dgram/mailslot.o \
64         dgram/netlogon.o \
65         dgram/ntlogon.o \
66         dgram/browse.o
67 PUBLIC_DEPENDENCIES = LIBCLI_NBT LIBNDR LIBCLI_RESOLVE
68
69 [SUBSYSTEM::LIBCLI_CLDAP]
70 OBJ_FILES = cldap/cldap.o
71 PUBLIC_HEADERS = cldap/cldap.h
72 PUBLIC_DEPENDENCIES = LIBCLI_LDAP
73 PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBLDB
74
75 [SUBSYSTEM::LIBCLI_WREPL]
76 PRIVATE_PROTO_HEADER = wrepl/winsrepl_proto.h
77 OBJ_FILES = \
78         wrepl/winsrepl.o
79 PUBLIC_DEPENDENCIES = NDR_WINSREPL samba-socket LIBCLI_RESOLVE LIBEVENTS \
80                                           LIBPACKET LIBNDR
81
82 [SUBSYSTEM::LIBCLI_RESOLVE]
83 PRIVATE_PROTO_HEADER = resolve/proto.h
84 OBJ_FILES = \
85         resolve/resolve.o
86 PUBLIC_DEPENDENCIES = NDR_NBT
87
88 [SUBSYSTEM::LP_RESOLVE]
89 PRIVATE_PROTO_HEADER = resolve/lp_proto.h
90 OBJ_FILES = \
91         resolve/bcast.o \
92         resolve/nbtlist.o \
93         resolve/wins.o \
94         resolve/host.o \
95         resolve/resolve_lp.o
96 PRIVATE_DEPENDENCIES = LIBCLI_NBT LIBSAMBA-CONFIG LIBNETIF 
97
98 [SUBSYSTEM::LIBCLI_FINDDCS]
99 PRIVATE_PROTO_HEADER = finddcs.h
100 OBJ_FILES = \
101         finddcs.o
102 PUBLIC_DEPENDENCIES = LIBCLI_NBT MESSAGING
103
104 [SUBSYSTEM::LIBCLI_SMB]
105 PUBLIC_HEADERS = libcli.h
106 PUBLIC_PROTO_HEADER = libcli_proto.h
107 OBJ_FILES = clireadwrite.o \
108                 cliconnect.o \
109                 clifile.o \
110                 clilist.o \
111                 clitrans2.o \
112                 climessage.o \
113                 clideltree.o
114 PUBLIC_DEPENDENCIES = LIBCLI_RAW LIBSAMBA-ERRORS LIBCLI_AUTH \
115         LIBCLI_SMB_COMPOSITE LIBCLI_NBT LIBSECURITY LIBCLI_RESOLVE \
116         LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba-socket
117
118 [SUBSYSTEM::LIBCLI_RAW]
119 PRIVATE_PROTO_HEADER = raw/raw_proto.h
120 PRIVATE_DEPENDENCIES = LIBCLI_COMPOSITE LP_RESOLVE gensec LIBCLI_RESOLVE LIBSECURITY LIBNDR
121 LDFLAGS = $(LIBCLI_SMB_COMPOSITE_OUTPUT)
122 PUBLIC_DEPENDENCIES = samba-socket LIBPACKET gensec LIBCRYPTO CREDENTIALS 
123 OBJ_FILES = raw/rawfile.o \
124                 raw/smb_signing.o \
125                 raw/clisocket.o \
126                 raw/clitransport.o \
127                 raw/clisession.o \
128                 raw/clitree.o \
129                 raw/clierror.o \
130                 raw/rawrequest.o \
131                 raw/rawreadwrite.o \
132                 raw/rawsearch.o \
133                 raw/rawsetfileinfo.o \
134                 raw/raweas.o \
135                 raw/rawtrans.o \
136                 raw/clioplock.o \
137                 raw/rawnegotiate.o \
138                 raw/rawfsinfo.o \
139                 raw/rawfileinfo.o \
140                 raw/rawnotify.o \
141                 raw/rawioctl.o \
142                 raw/rawacl.o \
143                 raw/rawdate.o \
144                 raw/rawlpq.o \
145                 raw/rawshadow.o
146
147 include smb2/config.mk