r11377: Add support for building LIBRARY elements as shared libraries:
[bbaumbach/samba-autobuild/.git] / source4 / libcli / config.mk
1 include auth/config.mk
2 include ldap/config.mk
3 include security/config.mk
4
5 [SUBSYSTEM::LIBCLI_UTILS]
6 ADD_OBJ_FILES = util/asn1.o \
7                 util/doserr.o \
8                 util/errormap.o \
9                 util/clierror.o \
10                 util/nterr.o \
11                 util/smbdes.o
12
13 [SUBSYSTEM::LIBCLI_LSA]
14 ADD_OBJ_FILES = util/clilsa.o
15 REQUIRED_SUBSYSTEMS = RPC_NDR_LSA
16
17 [SUBSYSTEM::LIBCLI_COMPOSITE]
18 ADD_OBJ_FILES = \
19         composite/composite.o
20 REQUIRED_SUBSYSTEMS = LIBEVENTS
21
22 [SUBSYSTEM::LIBCLI_SMB_COMPOSITE]
23 ADD_OBJ_FILES = \
24         smb_composite/loadfile.o \
25         smb_composite/savefile.o \
26         smb_composite/connect.o \
27         smb_composite/sesssetup.o \
28         smb_composite/fetchfile.o \
29         smb_composite/appendacl.o \
30         smb_composite/fsinfo.o 
31 REQUIRED_SUBSYSTEMS = LIBCLI_COMPOSITE
32
33 [LIBRARY::LIBCLI_NBT]
34 MAJOR_VERSION = 0
35 MINOR_VERSION = 0
36 RELEASE_VERSION = 1
37 ADD_OBJ_FILES = \
38         nbt/nbtname.o \
39         nbt/nbtsocket.o \
40         nbt/namequery.o \
41         nbt/nameregister.o \
42         nbt/namerefresh.o \
43         nbt/namerelease.o
44 REQUIRED_SUBSYSTEMS = LIBNDR NDR_NBT SOCKET LIBCLI_COMPOSITE LIBEVENTS \
45         LIB_SECURITY_NDR
46
47 [SUBSYSTEM::LIBCLI_DGRAM]
48 ADD_OBJ_FILES = \
49         dgram/dgramsocket.o \
50         dgram/mailslot.o \
51         dgram/netlogon.o \
52         dgram/ntlogon.o \
53         dgram/browse.o
54 NOPROTO=YES
55 REQUIRED_SUBSYSTEMS = LIBCLI_NBT
56
57 [LIBRARY::LIBCLI_CLDAP]
58 MAJOR_VERSION = 0
59 MINOR_VERSION = 0
60 RELEASE_VERSION = 1
61 ADD_OBJ_FILES = \
62         cldap/cldap.o
63 NOPROTO=YES
64 REQUIRED_SUBSYSTEMS = LIBCLI_LDAP
65
66 [LIBRARY::LIBCLI_WREPL]
67 MAJOR_VERSION = 0
68 MINOR_VERSION = 0
69 RELEASE_VERSION = 1
70 ADD_OBJ_FILES = \
71         wrepl/winsrepl.o
72 REQUIRED_SUBSYSTEMS = NDR_WINSREPL SOCKET LIBEVENTS
73
74 [SUBSYSTEM::LIBCLI_RESOLVE]
75 ADD_OBJ_FILES = \
76         resolve/resolve.o \
77         resolve/nbtlist.o \
78         resolve/bcast.o \
79         resolve/wins.o \
80         resolve/host.o
81 REQUIRED_SUBSYSTEMS = LIBCLI_NBT
82
83 [LIBRARY::LIBCLI]
84 MAJOR_VERSION = 0
85 MINOR_VERSION = 0
86 RELEASE_VERSION = 1
87 REQUIRED_SUBSYSTEMS = LIBCLI_RAW LIBCLI_UTILS LIBCLI_AUTH \
88         LIBCLI_SMB_COMPOSITE LIBCLI_NBT LIB_SECURITY LIBCLI_RESOLVE \
89         LIBCLI_DGRAM
90
91 [SUBSYSTEM::LIBSMB]
92 REQUIRED_SUBSYSTEMS = LIBCLI SOCKET
93 ADD_OBJ_FILES = clireadwrite.o \
94                 cliconnect.o \
95                 clifile.o \
96                 clilist.o \
97                 clitrans2.o \
98                 climessage.o \
99                 clideltree.o
100
101 [SUBSYSTEM::LIBCLI_RAW]
102 REQUIRED_SUBSYSTEMS = LIBCLI_RAW_KRB5
103 OBJ_FILES = raw/rawfile.o \
104                 raw/smb_signing.o \
105                 raw/clisocket.o \
106                 raw/clitransport.o \
107                 raw/clisession.o \
108                 raw/clitree.o \
109                 raw/rawrequest.o \
110                 raw/rawreadwrite.o \
111                 raw/rawsearch.o \
112                 raw/rawsetfileinfo.o \
113                 raw/raweas.o \
114                 raw/rawtrans.o \
115                 raw/clioplock.o \
116                 raw/rawnegotiate.o \
117                 raw/rawfsinfo.o \
118                 raw/rawfileinfo.o \
119                 raw/rawnotify.o \
120                 raw/rawioctl.o \
121                 raw/rawacl.o \
122                 raw/rawdate.o \
123                 raw/rawlpq.o