diff options
Diffstat (limited to 'source4/lib/wmi')
-rw-r--r-- | source4/lib/wmi/config.mk | 62 |
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 ################################# - |