From 437012ece4738ad5cea694b2a6c2759927074ebe Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sun, 14 Dec 2014 20:49:28 +0100
Subject: wined3d: Add second dll with STAGING_CSMT definition set.

---
 configure.ac                  |  1 +
 dlls/wined3d-csmt/Makefile.in | 38 ++++++++++++++++++++++++++++++++++++++
 dlls/wined3d-csmt/version.rc  | 27 +++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)
 create mode 100644 dlls/wined3d-csmt/Makefile.in
 create mode 100644 dlls/wined3d-csmt/version.rc

diff --git a/configure.ac b/configure.ac
index e5fb209..7394424 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3318,6 +3318,7 @@ WINE_CONFIG_TEST(dlls/windowscodecsext/tests)
 WINE_CONFIG_DLL(winealsa.drv)
 WINE_CONFIG_DLL(winecoreaudio.drv)
 WINE_CONFIG_LIB(winecrt0)
+WINE_CONFIG_DLL(wined3d-csmt)
 WINE_CONFIG_DLL(wined3d,,[implib])
 WINE_CONFIG_DLL(winegstreamer)
 WINE_CONFIG_DLL(winejoystick.drv)
diff --git a/dlls/wined3d-csmt/Makefile.in b/dlls/wined3d-csmt/Makefile.in
new file mode 100644
index 0000000..3a401a0
--- /dev/null
+++ b/dlls/wined3d-csmt/Makefile.in
@@ -0,0 +1,38 @@
+EXTRADEFS = -DSTAGING_CSMT
+MODULE    = wined3d-csmt.dll
+IMPORTS   = uuid opengl32 user32 gdi32 advapi32
+PARENTSRC = ../wined3d
+PARENTSPEC = ../wined3d/wined3d.spec
+
+C_SRCS = \
+	arb_program_shader.c \
+	ati_fragment_shader.c \
+	buffer.c \
+	context.c \
+	cs.c \
+	device.c \
+	directx.c \
+	drawprim.c \
+	dxtn.c \
+	gl_compat.c \
+	glsl_shader.c \
+	nvidia_texture_shader.c \
+	palette.c \
+	query.c \
+	resource.c \
+	sampler.c \
+	shader.c \
+	shader_sm1.c \
+	shader_sm4.c \
+	state.c \
+	stateblock.c \
+	surface.c \
+	swapchain.c \
+	texture.c \
+	utils.c \
+	vertexdeclaration.c \
+	view.c \
+	volume.c \
+	wined3d_main.c
+
+RC_SRCS = version.rc
diff --git a/dlls/wined3d-csmt/version.rc b/dlls/wined3d-csmt/version.rc
new file mode 100644
index 0000000..0439375
--- /dev/null
+++ b/dlls/wined3d-csmt/version.rc
@@ -0,0 +1,27 @@
+/*
+ * 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
+ */
+
+#include "config.h" /* Needed to get PACKAGE_VERSION */
+
+#define WINE_FILEDESCRIPTION_STR "Wine D3D"
+#define WINE_FILENAME_STR "wined3d-csmt.dll"
+#define WINE_FILEVERSION_STR PACKAGE_VERSION
+#define WINE_PRODUCTVERSION_STR PACKAGE_VERSION
+#define WINE_PRODUCTNAME_STR "Wine D3D"
+
+#include "wine/wine_common_ver.rc"
-- 
2.1.3

