Build ntdll as a real dll, including everything that was previously in
libwine.so. Created a new (mostly empty) libwine.so in library/ subdir.

diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index ae8a212..f1b7c8e 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -33,6 +33,7 @@
 	msacm/libmsacm32.@LIBEXT@ \
 	msnet32/libmsnet32.@LIBEXT@ \
 	msvideo/libmsvfw32.@LIBEXT@ \
+	ntdll/libntdll.@LIBEXT@ \
 	odbc32/libodbc32.@LIBEXT@ \
 	ole32/libole32.@LIBEXT@ \
 	oleaut32/liboleaut32.@LIBEXT@ \
@@ -141,6 +142,7 @@
 	msacm \
 	msnet32 \
 	msvideo \
+	ntdll \
 	odbc32 \
 	ole32 \
 	oleaut32 \
@@ -269,6 +271,9 @@
 libmsvfw32.@LIBEXT@ libmsvideo.@LIBEXT@: msvideo/libmsvfw32.@LIBEXT@
 	$(RM) $@ && $(LN_S) msvideo/libmsvfw32.@LIBEXT@ $@
 
+libntdll.@LIBEXT@: ntdll/libntdll.@LIBEXT@
+	$(RM) $@ && $(LN_S) ntdll/libntdll.@LIBEXT@ $@
+
 libodbc32.@LIBEXT@: odbc32/libodbc32.@LIBEXT@
 	$(RM) $@ && $(LN_S) odbc32/libodbc32.@LIBEXT@ $@
 
@@ -372,11 +377,12 @@
 
 # Inter-dll dependencies (only necessary for .so)
 
-advapi32/libadvapi32.so: libkernel32.so
+advapi32/libadvapi32.so: libkernel32.so libntdll.so
 avifil32/libavifil32.so: libmsvfw32.so libkernel32.so
 comctl32/libcomctl32.so: libuser32.so libgdi32.so libadvapi32.so libkernel32.so
-commdlg/libcomdlg32.so: libshell32.so libshlwapi.so libcomctl32.so libuser32.so libwinspool.drv.so libgdi32.so libkernel32.so
-crtdll/libcrtdll.so: libkernel32.so
+commdlg/libcomdlg32.so: libshell32.so libshlwapi.so libcomctl32.so libuser32.so libwinspool.drv.so libgdi32.so libkernel32.so libntdll.so
+crtdll/libcrtdll.so: libkernel32.so libntdll.so
+dciman32/libdciman32.so: libntdll.so
 ddraw/libddraw.so: libole32.so libuser32.so libx11drv.so libgdi32.so libkernel32.so
 dinput/libdinput.so: libuser32.so libkernel32.so
 dplay/libdplay.so: libdplayx.so
@@ -386,17 +392,24 @@
 icmp/libicmp.so: libkernel32.so
 imagehlp/libimagehlp.so: libkernel32.so
 imm32/libimm32.so: libkernel32.so
+kernel/libkernel32.so: libntdll.so
 lzexpand/liblz32.so: libkernel32.so
 mpr/libmpr.so: libkernel32.so
 msacm/libmsacm32.so: libwinmm.so libuser32.so libkernel32.so
+msnet32/libmsnet32.so: libntdll.so
 msvideo/libmsvfw32.so: libwinmm.so libuser32.so libgdi32.so libkernel32.so
-ole32/libole32.so: libadvapi32.so libuser32.so libgdi32.so librpcrt4.so libkernel32.so
+odbc32/libodbc32.so: libntdll.so
+ole32/libole32.so: libadvapi32.so libuser32.so libgdi32.so librpcrt4.so libkernel32.so libntdll.so
 oleaut32/liboleaut32.so: libole32.so libuser32.so libgdi32.so libkernel32.so
 olecli/libolecli32.so: libole32.so libolesvr32.so libgdi32.so
+oledlg/liboledlg.so: libntdll.so
 olepro32/libolepro32.so: liboleaut32.so
+olesvr/libolesvr32.so: libntdll.so
 opengl32/libopengl32.so: libx11drv.so libkernel32.so
 psapi/libpsapi.so: libkernel32.so
+rasapi32/librasapi32.so: libntdll.so
 richedit/libriched32.so: libuser32.so libkernel32.so
+rpcrt4/librpcrt4.so: libntdll.so
 serialui/libserialui.so: libuser32.so libadvapi32.so libkernel32.so
 setupapi/libsetupapi.so: libadvapi32.so libkernel32.so
 shell32/libshell32.so: libole32.so libshlwapi.so libcomctl32.so libadvapi32.so libuser32.so libgdi32.so libkernel32.so
@@ -405,7 +418,7 @@
 tapi32/libtapi32.so: libkernel32.so
 ttydrv/libttydrv.so: libuser32.so libgdi32.so libkernel32.so
 urlmon/liburlmon.so: libole32.so
-user/libuser32.so: libgdi32.so libadvapi32.so libkernel32.so
+user/libuser32.so: libgdi32.so libadvapi32.so libkernel32.so libntdll.so
 version/libversion.so: liblz32.so libkernel32.so
 win32s/libw32skrnl.so: libkernel32.so
 winaspi/libwnaspi32.so: libadvapi32.so libkernel32.so
@@ -421,7 +434,7 @@
 winmm/midimap/libmidimap.drv.so: libwinmm.so libuser32.so libkernel32.so
 winmm/wavemap/libmsacm.drv.so: libwinmm.so libuser32.so libkernel32.so
 winmm/wineoss/libwineoss.drv.so: libwinmm.so libuser32.so libkernel32.so
-winsock/libws2_32.so: libuser32.so libkernel32.so
+winsock/libws2_32.so: libuser32.so libkernel32.so libntdll.so
 winspool/libwinspool.drv.so: libgdi32.so libadvapi32.so libkernel32.so
 wow32/libwow32.so: libkernel32.so
 wsock32/libwsock32.so: libws2_32.so