Commit 347272b3 authored by Andrey Turkin's avatar Andrey Turkin Committed by Alexandre Julliard

programs: Add lodctr and unlodctr tools.

parent a9c5793d
......@@ -236,6 +236,7 @@ programs/explorer/explorer
programs/hh/hh
programs/icinfo/icinfo
programs/iexplore/iexplore
programs/lodctr/lodctr
programs/msiexec/msiexec
programs/net/net
programs/notepad/notepad
......@@ -259,6 +260,7 @@ programs/start/start
programs/svchost/svchost
programs/taskmgr/taskmgr
programs/uninstaller/uninstaller
programs/unlodctr/unlodctr
programs/view/view
programs/wineapploader
programs/wineboot/wineboot
......
......@@ -27293,6 +27293,15 @@ programs/iexplore/Makefile: programs/iexplore/Makefile.in programs/Makeprog.rule
ac_config_files="$ac_config_files programs/iexplore/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
programs/lodctr/Makefile"
test "x$enable_lodctr" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
lodctr" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
lodctr"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
programs/lodctr/Makefile: programs/lodctr/Makefile.in programs/Makeprog.rules"
ac_config_files="$ac_config_files programs/lodctr/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
programs/msiexec/Makefile"
test "x$enable_msiexec" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
msiexec" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
......@@ -27452,6 +27461,15 @@ programs/uninstaller/Makefile: programs/uninstaller/Makefile.in programs/Makepro
ac_config_files="$ac_config_files programs/uninstaller/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
programs/unlodctr/Makefile"
test "x$enable_unlodctr" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
unlodctr" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
unlodctr"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
programs/unlodctr/Makefile: programs/unlodctr/Makefile.in programs/Makeprog.rules"
ac_config_files="$ac_config_files programs/unlodctr/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
programs/view/Makefile"
test "x$enable_view" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
view"
......@@ -28711,6 +28729,7 @@ do
"programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
"programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
"programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
"programs/lodctr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/lodctr/Makefile" ;;
"programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
"programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
"programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
......@@ -28728,6 +28747,7 @@ do
"programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
"programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
"programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
"programs/unlodctr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/unlodctr/Makefile" ;;
"programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
"programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
"programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
......
......@@ -2203,6 +2203,7 @@ WINE_CONFIG_MAKEFILE([programs/explorer/Makefile],[programs/Makeprog.rules],[pro
WINE_CONFIG_MAKEFILE([programs/hh/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/icinfo/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/iexplore/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/lodctr/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/msiexec/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS,ALL_PROGRAM_BIN_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/net/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/notepad/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS,ALL_PROGRAM_BIN_INSTALL_DIRS])
......@@ -2220,6 +2221,7 @@ WINE_CONFIG_MAKEFILE([programs/start/Makefile],[programs/Makeprog.rules],[progra
WINE_CONFIG_MAKEFILE([programs/svchost/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/taskmgr/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/uninstaller/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS,ALL_PROGRAM_BIN_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/unlodctr/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/view/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS])
WINE_CONFIG_MAKEFILE([programs/wineboot/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS,ALL_PROGRAM_BIN_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/winebrowser/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS,ALL_PROGRAM_BIN_INSTALL_DIRS])
......
......@@ -232,6 +232,7 @@ IMPORT_LIBS = \
inetcomm/libinetcomm.$(IMPLIBEXT) \
iphlpapi/libiphlpapi.$(IMPLIBEXT) \
kernel32/libkernel32.$(IMPLIBEXT) \
loadperf/libloadperf.$(IMPLIBEXT) \
lz32/liblz32.$(IMPLIBEXT) \
mapi32/libmapi32.$(IMPLIBEXT) \
mlang/libmlang.$(IMPLIBEXT) \
......@@ -375,6 +376,7 @@ CROSS_IMPLIBS = \
inetcomm/libinetcomm.a \
iphlpapi/libiphlpapi.a \
kernel32/libkernel32.a \
loadperf/libloadperf.a \
lz32/liblz32.a \
mapi32/libmapi32.a \
mlang/libmlang.a \
......@@ -634,6 +636,9 @@ iphlpapi/libiphlpapi.def iphlpapi/libiphlpapi.a: iphlpapi/iphlpapi.spec $(WINEBU
kernel32/libkernel32.def kernel32/libkernel32.a: kernel32/kernel32.spec $(WINEBUILD)
@cd kernel32 && $(MAKE) `basename $@`
loadperf/libloadperf.def loadperf/libloadperf.a: loadperf/loadperf.spec $(WINEBUILD)
@cd loadperf && $(MAKE) `basename $@`
lz32/liblz32.def lz32/liblz32.a: lz32/lz32.spec $(WINEBUILD)
@cd lz32 && $(MAKE) `basename $@`
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = loadperf.dll
IMPORTLIB = loadperf
IMPORTS = kernel32
C_SRCS = \
......
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = lodctr.exe
APPMODE = -mconsole -municode
IMPORTS = loadperf kernel32
C_SRCS = lodctr_main.c
@MAKE_PROG_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
/*
* Copyright (C) 2009 Andrey Turkin
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windows.h>
#include <loadperf.h>
int wmain(int argc, WCHAR *argv[])
{
return LoadPerfCounterTextStringsW(GetCommandLineW(), FALSE);
}
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = unlodctr.exe
APPMODE = -mconsole -municode
IMPORTS = loadperf kernel32
C_SRCS = unlodctr_main.c
@MAKE_PROG_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
/*
* Copyright (C) 2009 Andrey Turkin
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windows.h>
#include <loadperf.h>
int wmain(int argc, WCHAR *argv[])
{
return UnloadPerfCounterTextStringsW(GetCommandLineW(), FALSE);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment