rasapi32: Make rasapi16.dll into a stand-alone 16-bit module.
diff --git a/.gitignore b/.gitignore
index 8b5e888..76e57f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -78,7 +78,6 @@
dlls/qmgrprxy/qmgrprxy.h
dlls/qmgrprxy/qmgrprxy_i.c
dlls/qmgrprxy/qmgrprxy_p.c
-dlls/rasapi16.dll16
dlls/rpcrt4/epm.h
dlls/rpcrt4/epm_c.c
dlls/rpcrt4/tests/server.h
diff --git a/configure b/configure
index fe3756a..7cd8973 100755
--- a/configure
+++ b/configure
Binary files differ
diff --git a/configure.ac b/configure.ac
index 7616588..b1c7377 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2164,6 +2164,7 @@
WINE_CONFIG_MAKEFILE([dlls/quartz/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/quartz/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
WINE_CONFIG_MAKEFILE([dlls/query/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
+WINE_CONFIG_MAKEFILE([dlls/rasapi16.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
WINE_CONFIG_MAKEFILE([dlls/rasapi32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/rasapi32/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
WINE_CONFIG_MAKEFILE([dlls/rasdlg/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index ac1767a..928b6c3 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -25,7 +25,6 @@
krnl386.exe16 \
mmsystem.dll16 \
msvideo.dll16 \
- rasapi16.dll16 \
setupx.dll16 \
shell.dll16 \
sound.drv16 \
@@ -64,9 +63,6 @@
msvideo.dll16:
echo "msvfw32.dll" >$@
-rasapi16.dll16:
- echo "rasapi32.dll" >$@
-
setupx.dll16:
echo "setupapi.dll" >$@
diff --git a/dlls/rasapi16.dll16/Makefile.in b/dlls/rasapi16.dll16/Makefile.in
new file mode 100644
index 0000000..ae51282
--- /dev/null
+++ b/dlls/rasapi16.dll16/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = rasapi16.dll16
+IMPORTS = kernel32
+EXTRADLLFLAGS = -Wb,--subsystem,win16,--main-module,rasapi32.dll
+
+SPEC_SRCS = rasapi16.dll16.spec
+
+@MAKE_DLL_RULES@
+
+@DEPENDENCIES@ # everything below this line is overwritten by make depend
diff --git a/dlls/rasapi32/rasapi16.spec b/dlls/rasapi16.dll16/rasapi16.dll16.spec
similarity index 100%
rename from dlls/rasapi32/rasapi16.spec
rename to dlls/rasapi16.dll16/rasapi16.dll16.spec
diff --git a/dlls/rasapi32/Makefile.in b/dlls/rasapi32/Makefile.in
index 12bbd65..ce4f34d 100644
--- a/dlls/rasapi32/Makefile.in
+++ b/dlls/rasapi32/Makefile.in
@@ -8,8 +8,6 @@
C_SRCS = rasapi.c
-SPEC_SRCS16 = rasapi16.spec
-
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend