Module: wine
Branch: master
Commit: b3fb793b527c0518ce854ba59c2faf41a2b043b8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b3fb793b527c0518ce854ba59…
Author: Austin English <austinenglish(a)gmail.com>
Date: Mon Aug 24 11:18:26 2009 -0500
dxdiag: Add stub implementation.
---
configure | 10 ++++++++++
configure.ac | 1 +
programs/dxdiag/Makefile.in | 15 +++++++++++++++
programs/dxdiag/main.c | 27 +++++++++++++++++++++++++++
4 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 9a01fce..14a5d93 100755
--- a/configure
+++ b/configure
@@ -17154,6 +17154,15 @@ programs/control/Makefile: programs/control/Makefile.in programs/Makeprog.rules"
ac_config_files="$ac_config_files programs/control/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
+ programs/dxdiag/Makefile"
+test "x$enable_dxdiag" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
+ dxdiag" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
+ dxdiag"
+ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
+programs/dxdiag/Makefile: programs/dxdiag/Makefile.in programs/Makeprog.rules"
+ac_config_files="$ac_config_files programs/dxdiag/Makefile"
+
+ALL_MAKEFILES="$ALL_MAKEFILES \\
programs/eject/Makefile"
test "x$enable_eject" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
eject" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
@@ -18804,6 +18813,7 @@ do
"programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
"programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
"programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
+ "programs/dxdiag/Makefile") CONFIG_FILES="$CONFIG_FILES programs/dxdiag/Makefile" ;;
"programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
"programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
"programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 4b37e5f..015f6ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2517,6 +2517,7 @@ WINE_CONFIG_MAKEFILE([programs/clock/Makefile],[programs/Makeprog.rules],[progra
WINE_CONFIG_MAKEFILE([programs/cmd/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/cmdlgtst/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS])
WINE_CONFIG_MAKEFILE([programs/control/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
+WINE_CONFIG_MAKEFILE([programs/dxdiag/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/eject/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/expand/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
WINE_CONFIG_MAKEFILE([programs/explorer/Makefile],[programs/Makeprog.rules],[programs],[ALL_PROGRAM_DIRS,ALL_PROGRAM_INSTALL_DIRS])
diff --git a/programs/dxdiag/Makefile.in b/programs/dxdiag/Makefile.in
new file mode 100644
index 0000000..2e7e7b0
--- /dev/null
+++ b/programs/dxdiag/Makefile.in
@@ -0,0 +1,15 @@
+EXTRADEFS = -DWINE_NO_UNICODE_MACROS
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = dxdiag.exe
+APPMODE = -mwindows
+IMPORTS = kernel32
+
+C_SRCS = \
+ main.c
+
+@MAKE_PROG_RULES@
+
+@DEPENDENCIES@ # everything below this line is overwritten by make depend
diff --git a/programs/dxdiag/main.c b/programs/dxdiag/main.c
new file mode 100644
index 0000000..d24945c
--- /dev/null
+++ b/programs/dxdiag/main.c
@@ -0,0 +1,27 @@
+/*
+ * DxDiag Implementation
+ *
+ * Copyright 2009 Austin English
+ *
+ * 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
+ */
+
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
+int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
+{
+ return 0;
+}