summaryrefslogtreecommitdiff
path: root/source4/lib/wmi/config.mk
blob: 28f6c73dcd65d6d1fe4709251854edc5203fdb95 (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
[SUBSYSTEM::WMI]
PUBLIC_DEPENDENCIES = RPC_NDR_OXIDRESOLVER \
		NDR_DCOM \
		RPC_NDR_REMACT \
		NDR_TABLE \
		DCOM_PROXY_DCOM \
		DCOM

WMI_OBJ_FILES = $(addprefix $(wmisrcdir)/, wmicore.o wbemdata.o ../../librpc/gen_ndr/dcom_p.o)

#################################
# Start BINARY wmic
[BINARY::wmic]
INSTALLDIR = BINDIR
PRIVATE_DEPENDENCIES = \
                POPT_SAMBA \
                POPT_CREDENTIALS \
                LIBPOPT \
				WMI

wmic_OBJ_FILES = $(wmisrcdir)/tools/wmic.o
# End BINARY wmic
#################################

#################################
# Start BINARY wmis
[BINARY::wmis]
INSTALLDIR = BINDIR
PRIVATE_DEPENDENCIES = \
                POPT_SAMBA \
                POPT_CREDENTIALS \
                LIBPOPT \
				WMI

wmis_OBJ_FILES = \
                $(wmisrcdir)/tools/wmis.o

# End BINARY wmis
#################################

librpc/gen_ndr/dcom_p.c: idl

#######################
# Start LIBRARY swig_dcerpc
[PYTHON::pywmi]
PUBLIC_DEPENDENCIES = LIBCLI_SMB NDR_MISC LIBSAMBA-UTIL LIBSAMBA-CONFIG WMI

$(eval $(call python_py_module_template,wmi.py,$(wmisrcdir)/wmi.py))

pywmi_OBJ_FILES = $(wmisrcdir)/wmi_wrap.o
$(pywmi_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)

# End LIBRARY swig_dcerpc
#######################

#################################
# Start BINARY pdhc
#[BINARY::pdhc]
#INSTALLDIR = BINDIR
#OBJ_FILES = \
#                pdhc.o
#PRIVATE_DEPENDENCIES = \
#                POPT_SAMBA \
#                POPT_CREDENTIALS \
#                LIBPOPT \
#		NDR_TABLE \
#		RPC_NDR_WINREG
# End BINARY pdhc
#################################