Distinguish between private and public dependencies in the dot file.
[gd/samba/.git] / source4 / scripting / ejs / config.mk
1 [SUBSYSTEM::EJSRPC]
2
3 EJSRPC_OBJ_FILES = scripting/ejs/ejsrpc.o
4
5 [MODULE::smbcalls_config]
6 OUTPUT_TYPE = MERGED_OBJ
7 SUBSYSTEM = smbcalls
8 INIT_FUNCTION = smb_setup_ejs_config
9
10 smbcalls_config_OBJ_FILES = scripting/ejs/smbcalls_config.o
11
12 [MODULE::smbcalls_ldb]
13 OUTPUT_TYPE = MERGED_OBJ
14 SUBSYSTEM = smbcalls
15 INIT_FUNCTION = smb_setup_ejs_ldb
16 PRIVATE_DEPENDENCIES = LIBLDB SAMDB LIBNDR
17
18 smbcalls_ldb_OBJ_FILES = scripting/ejs/smbcalls_ldb.o
19
20 [MODULE::smbcalls_reg]
21 SUBSYSTEM = smbcalls
22 OUTPUT_TYPE = MERGED_OBJ
23 INIT_FUNCTION = smb_setup_ejs_reg
24 PRIVATE_DEPENDENCIES = registry SAMDB LIBNDR
25
26 smbcalls_reg_OBJ_FILES = scripting/ejs/smbcalls_reg.o
27
28 [MODULE::smbcalls_nbt]
29 SUBSYSTEM = smbcalls
30 OUTPUT_TYPE = MERGED_OBJ
31 INIT_FUNCTION = smb_setup_ejs_nbt
32
33 smbcalls_nbt_OBJ_FILES = scripting/ejs/smbcalls_nbt.o
34
35 [MODULE::smbcalls_rand]
36 SUBSYSTEM = smbcalls
37 OUTPUT_TYPE = MERGED_OBJ
38 INIT_FUNCTION = smb_setup_ejs_random
39
40 smbcalls_rand_OBJ_FILES = scripting/ejs/smbcalls_rand.o
41
42 [MODULE::smbcalls_nss]
43 SUBSYSTEM = smbcalls
44 OUTPUT_TYPE = MERGED_OBJ
45 INIT_FUNCTION = smb_setup_ejs_nss
46 PRIVATE_DEPENDENCIES = NSS_WRAPPER
47
48 smbcalls_nss_OBJ_FILES = scripting/ejs/smbcalls_nss.o
49
50 [MODULE::smbcalls_data]
51 SUBSYSTEM = smbcalls
52 OUTPUT_TYPE = MERGED_OBJ
53 INIT_FUNCTION = smb_setup_ejs_datablob
54
55 smbcalls_data_OBJ_FILES = scripting/ejs/smbcalls_data.o
56
57 [MODULE::smbcalls_auth]
58 OUTPUT_TYPE = MERGED_OBJ
59 SUBSYSTEM = smbcalls
60 INIT_FUNCTION = smb_setup_ejs_auth
61 PRIVATE_DEPENDENCIES = service_auth
62
63 smbcalls_auth_OBJ_FILES = scripting/ejs/smbcalls_auth.o
64
65 [MODULE::smbcalls_string]
66 SUBSYSTEM = smbcalls
67 OUTPUT_TYPE = MERGED_OBJ
68 INIT_FUNCTION = smb_setup_ejs_string
69
70 smbcalls_string_OBJ_FILES = scripting/ejs/smbcalls_string.o
71
72 [MODULE::smbcalls_sys]
73 SUBSYSTEM = smbcalls
74 OUTPUT_TYPE = MERGED_OBJ
75 INIT_FUNCTION = smb_setup_ejs_system
76
77 smbcalls_sys_OBJ_FILES = scripting/ejs/smbcalls_sys.o
78
79 mkinclude ejsnet/config.mk
80
81 [SUBSYSTEM::smbcalls]
82 PRIVATE_PROTO_HEADER = proto.h
83 PRIVATE_DEPENDENCIES = \
84                 EJS LIBSAMBA-UTIL \
85                 EJSRPC MESSAGING \
86                 LIBSAMBA-NET LIBCLI_SMB LIBPOPT \
87                 CREDENTIALS POPT_CREDENTIALS POPT_SAMBA \
88                 dcerpc \
89                 NDR_TABLE
90
91 smbcalls_OBJ_FILES = $(addprefix scripting/ejs/, \
92                 smbcalls.o \
93                 smbcalls_cli.o \
94                 smbcalls_rpc.o \
95                 smbcalls_options.o \
96                 smbcalls_creds.o \
97                 smbcalls_param.o \
98                 mprutil.o \
99                 literal.o)
100
101 #######################
102 # Start BINARY SMBSCRIPT
103 [BINARY::smbscript]
104 INSTALLDIR = BINDIR
105 PRIVATE_DEPENDENCIES = EJS LIBSAMBA-UTIL smbcalls LIBSAMBA-HOSTCONFIG
106 # End BINARY SMBSCRIPT
107 #######################
108
109 smbscript_OBJ_FILES = scripting/ejs/smbscript.o