summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/config.mk
blob: c5199669d5cb4a361115df203ccb76a8cb623f48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[MODULE::smbcalls_config]
OUTPUT_TYPE = MERGED_OBJ
SUBSYSTEM = smbcalls
INIT_FUNCTION = smb_setup_ejs_config

smbcalls_config_OBJ_FILES = $(ejsscriptsrcdir)/smbcalls_config.o

[MODULE::smbcalls_ldb]
OUTPUT_TYPE = MERGED_OBJ
SUBSYSTEM = smbcalls
INIT_FUNCTION = smb_setup_ejs_ldb
PRIVATE_DEPENDENCIES = LIBLDB SAMDB LIBNDR

smbcalls_ldb_OBJ_FILES = $(ejsscriptsrcdir)/smbcalls_ldb.o

[MODULE::smbcalls_nbt]
SUBSYSTEM = smbcalls
OUTPUT_TYPE = MERGED_OBJ
INIT_FUNCTION = smb_setup_ejs_nbt

smbcalls_nbt_OBJ_FILES = $(ejsscriptsrcdir)/smbcalls_nbt.o

[MODULE::smbcalls_rand]
SUBSYSTEM = smbcalls
OUTPUT_TYPE = MERGED_OBJ
INIT_FUNCTION = smb_setup_ejs_random

smbcalls_rand_OBJ_FILES = $(ejsscriptsrcdir)/smbcalls_rand.o

[MODULE::smbcalls_data]
SUBSYSTEM = smbcalls
OUTPUT_TYPE = MERGED_OBJ
INIT_FUNCTION = smb_setup_ejs_datablob

smbcalls_data_OBJ_FILES = $(ejsscriptsrcdir)/smbcalls_data.o

[MODULE::smbcalls_auth]
OUTPUT_TYPE = MERGED_OBJ
SUBSYSTEM = smbcalls
INIT_FUNCTION = smb_setup_ejs_auth
PRIVATE_DEPENDENCIES = service_auth

smbcalls_auth_OBJ_FILES = $(ejsscriptsrcdir)/smbcalls_auth.o

smbcalls_auth_OBJ_FILES = $(ejsscriptsrcdir)/smbcalls_auth.o

[MODULE::smbcalls_string]
SUBSYSTEM = smbcalls
OUTPUT_TYPE = MERGED_OBJ
INIT_FUNCTION = smb_setup_ejs_string

smbcalls_string_OBJ_FILES = $(ejsscriptsrcdir)/smbcalls_string.o

[MODULE::smbcalls_sys]
SUBSYSTEM = smbcalls
OUTPUT_TYPE = MERGED_OBJ
INIT_FUNCTION = smb_setup_ejs_system

smbcalls_sys_OBJ_FILES = $(ejsscriptsrcdir)/smbcalls_sys.o

mkinclude ejsnet/config.mk

[SUBSYSTEM::smbcalls]
PRIVATE_DEPENDENCIES = \
		EJS LIBSAMBA-UTIL \
		MESSAGING \
		LIBSAMBA-NET LIBCLI_SMB LIBPOPT \
		CREDENTIALS POPT_CREDENTIALS POPT_SAMBA \
		NDR_TABLE

smbcalls_OBJ_FILES = $(addprefix $(ejsscriptsrcdir)/, \
		smbcalls.o \
		smbcalls_options.o \
		smbcalls_creds.o \
		smbcalls_param.o \
		mprutil.o \
		literal.o)

$(eval $(call proto_header_template,$(ejsscriptsrcdir)/proto.h,$(smbcalls_OBJ_FILES:.o=.c)))

#######################
# Start BINARY SMBSCRIPT
[BINARY::smbscript]
PRIVATE_DEPENDENCIES = EJS LIBSAMBA-UTIL smbcalls LIBSAMBA-HOSTCONFIG
# End BINARY SMBSCRIPT
#######################

smbscript_OBJ_FILES = $(ejsscriptsrcdir)/smbscript.o