summaryrefslogtreecommitdiff
path: root/source4/lib/wmi
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-07 16:48:07 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-15 17:36:56 +0200
commit952be0f104a1ccf44b2115bad61304512f096721 (patch)
tree2c98621d0d212b69eb398304a744f4ae18a6eaad /source4/lib/wmi
parentf94df9056c82a21b33a8f47fa22a03b79f291b00 (diff)
downloadsamba-952be0f104a1ccf44b2115bad61304512f096721.tar.gz
samba-952be0f104a1ccf44b2115bad61304512f096721.tar.bz2
samba-952be0f104a1ccf44b2115bad61304512f096721.zip
Fix old style syntax in mk files .
Diffstat (limited to 'source4/lib/wmi')
-rw-r--r--source4/lib/wmi/config.mk62
1 files changed, 25 insertions, 37 deletions
diff --git a/source4/lib/wmi/config.mk b/source4/lib/wmi/config.mk
index 1899822ff0..84beb7161d 100644
--- a/source4/lib/wmi/config.mk
+++ b/source4/lib/wmi/config.mk
@@ -1,23 +1,25 @@
+[SUBSYSTEM::WMI]
+PUBLIC_DEPENDENCIES = RPC_NDR_OXIDRESOLVER \
+ NDR_DCOM \
+ RPC_NDR_REMACT \
+ NDR_TABLE \
+ DCOM_PROXY_DCOM \
+ DCOM
+
+WMI_OBJ_FILES = $(addprefix lib/wmi/, wmicore.o wbemdata.o ../librpc/gen_ndr/dcom_p.o)
+
#################################
# Start BINARY wmic
[BINARY::wmic]
PRIVATE_PROTO_HEADER = proto.h
INSTALLDIR = BINDIR
-OBJ_FILES = \
- wmic.o \
- wmicore.o \
- wbemdata.o \
- ../librpc/gen_ndr/dcom_p.o
PRIVATE_DEPENDENCIES = \
POPT_SAMBA \
POPT_CREDENTIALS \
LIBPOPT \
- RPC_NDR_OXIDRESOLVER \
- NDR_DCOM \
- RPC_NDR_REMACT \
- NDR_TABLE \
- DCOM_PROXY_DCOM \
- dcom
+ WMI
+
+wmic_OBJ_FILES = lib/wmi/tools/wmic.o
# End BINARY wmic
#################################
@@ -25,21 +27,18 @@ PRIVATE_DEPENDENCIES = \
# Start BINARY wmis
[BINARY::wmis]
INSTALLDIR = BINDIR
-OBJ_FILES = \
- wmis.o \
- wmicore.o \
- wbemdata.o \
- ../librpc/gen_ndr/dcom_p.o
PRIVATE_DEPENDENCIES = \
POPT_SAMBA \
POPT_CREDENTIALS \
LIBPOPT \
- RPC_NDR_OXIDRESOLVER \
- NDR_DCOM \
- RPC_NDR_REMACT \
- NDR_TABLE \
- DCOM_PROXY_DCOM \
- dcom
+ WMI
+
+wmis_OBJ_FILES = \
+ wmis.o \
+ wmicore.o \
+ wbemdata.o \
+ ../librpc/gen_ndr/dcom_p.o
+
# End BINARY wmis
#################################
@@ -47,20 +46,10 @@ librpc/gen_ndr/dcom_p.c: idl
#######################
# Start LIBRARY swig_dcerpc
-[LIBRARY::pywmi]
-LIBRARY_REALNAME = _pywmi.$(SHLIBEXT)
-PUBLIC_DEPENDENCIES = LIBCLI_SMB NDR_MISC LIBSAMBA-UTIL LIBSAMBA-CONFIG RPC_NDR_SAMR RPC_NDR_LSA DYNCONFIG \
- RPC_NDR_OXIDRESOLVER \
- NDR_DCOM \
- RPC_NDR_REMACT \
- NDR_TABLE \
- DCOM_PROXY_DCOM \
- dcom \
- RPC_NDR_WINREG
-OBJ_FILES = wbemdata.o \
- wmicore.o \
- ../librpc/gen_ndr/dcom_p.o \
- pywmi_wrap.o
+[PYTHON::pywmi]
+PUBLIC_DEPENDENCIES = LIBCLI_SMB NDR_MISC LIBSAMBA-UTIL LIBSAMBA-CONFIG WMI
+SWIG_FILE = pywmi.i
+
# End LIBRARY swig_dcerpc
#######################
@@ -78,4 +67,3 @@ OBJ_FILES = wbemdata.o \
# RPC_NDR_WINREG
# End BINARY pdhc
#################################
-