kernel32: Make stress.dll into a stand-alone 16-bit module.
diff --git a/.gitignore b/.gitignore
index 868b785..908f8ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -110,7 +110,6 @@
 dlls/stdole2.tlb/std_ole_v2.tlb
 dlls/stdole32.tlb/std_ole_v1.tlb
 dlls/storage.dll16
-dlls/stress.dll16
 dlls/system.drv16
 dlls/toolhelp.dll16
 dlls/twain.dll16
diff --git a/configure b/configure
index dd91eb8..362d19a 100755
--- a/configure
+++ b/configure
Binary files differ
diff --git a/configure.ac b/configure.ac
index 0f7927e..f738f8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,6 +141,7 @@
     enable_ifsmgr_vxd=${enable_ifsmgr_vxd:-no}
     enable_mmdevldr_vxd=${enable_mmdevldr_vxd:-no}
     enable_monodebg_vxd=${enable_monodebg_vxd:-no}
+    enable_stress_dll16=${enable_stress_dll16:-no}
     enable_vdhcp_vxd=${enable_vdhcp_vxd:-no}
     enable_vmm_vxd=${enable_vmm_vxd:-no}
     enable_vnbt_vxd=${enable_vnbt_vxd:-no}
@@ -2184,6 +2185,7 @@
 WINE_CONFIG_MAKEFILE([dlls/stdole2.tlb/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/stdole32.tlb/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/sti/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
+WINE_CONFIG_MAKEFILE([dlls/stress.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/strmiids/Makefile],[dlls/Makeimplib.rules],[dlls],[ALL_IMPLIB_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/svrapi/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/sxs/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index b35daf0..eeef5ff 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -49,7 +49,6 @@
 	shell.dll16 \
 	sound.drv16 \
 	storage.dll16 \
-	stress.dll16 \
 	system.drv16 \
 	toolhelp.dll16 \
 	twain.dll16 \
@@ -91,7 +90,7 @@
 imm.dll16:
 	echo "imm32.dll" >$@
 
-comm.drv16 krnl386.exe16 stress.dll16 system.drv16 toolhelp.dll16 win87em.dll16 windebug.dll16:
+comm.drv16 krnl386.exe16 system.drv16 toolhelp.dll16 win87em.dll16 windebug.dll16:
 	echo "kernel32.dll" >$@
 
 lzexpand.dll16:
diff --git a/dlls/kernel32/Makefile.in b/dlls/kernel32/Makefile.in
index 49e6caf..467a576 100644
--- a/dlls/kernel32/Makefile.in
+++ b/dlls/kernel32/Makefile.in
@@ -12,7 +12,6 @@
 SPEC_SRCS16 = \
 	comm.drv.spec \
 	krnl386.exe.spec \
-	stress.spec \
 	system.drv.spec \
 	toolhelp.spec \
 	win87em.spec \
@@ -56,7 +55,6 @@
 	resource16.c \
 	selector.c \
 	snoop16.c \
-	stress.c \
 	string.c \
 	sync.c \
 	syslevel.c \
diff --git a/dlls/stress.dll16/Makefile.in b/dlls/stress.dll16/Makefile.in
new file mode 100644
index 0000000..1d45fc0
--- /dev/null
+++ b/dlls/stress.dll16/Makefile.in
@@ -0,0 +1,15 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = stress.dll16
+IMPORTS   = kernel32
+EXTRADLLFLAGS = -Wb,--subsystem,win16
+
+SPEC_SRCS = stress.dll16.spec
+
+C_SRCS = stress.c
+
+@MAKE_DLL_RULES@
+
+@DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/kernel32/stress.c b/dlls/stress.dll16/stress.c
similarity index 100%
rename from dlls/kernel32/stress.c
rename to dlls/stress.dll16/stress.c
diff --git a/dlls/kernel32/stress.spec b/dlls/stress.dll16/stress.dll16.spec
similarity index 100%
rename from dlls/kernel32/stress.spec
rename to dlls/stress.dll16/stress.dll16.spec