Add MSVFW32 and MSWSOCK to the build.
authorFilip Navara <filip.navara@gmail.com>
Mon, 30 May 2005 12:52:38 +0000 (12:52 +0000)
committerFilip Navara <filip.navara@gmail.com>
Mon, 30 May 2005 12:52:38 +0000 (12:52 +0000)
svn path=/trunk/; revision=15680

reactos/baseaddress.xml
reactos/bootdata/packages/reactos.dff
reactos/lib/directory.xml
reactos/lib/msvideo/Makefile [deleted file]
reactos/lib/msvideo/Makefile.ros-template [deleted file]
reactos/lib/msvideo/msvfw32.xml [new file with mode: 0644]
reactos/lib/mswsock/Makefile [deleted file]
reactos/lib/mswsock/mswsock.xml [new file with mode: 0644]

index ce4bddc..b24e3c3 100644 (file)
@@ -75,6 +75,8 @@
 <property name="BASEADDRESS_DNSAPI" value="0x77f00000" />\r
 <property name="BASEADDRESS_MSVCRT" value="0x78000000" />\r
 <property name="BASEADDRESS_MSVCRT20" value="0x78500000" />\r
+<property name="BASEADDRESS_MSVFW32" value="0x77400000" />\r
+<property name="BASEADDRESS_MSWSOCK" value="0x71a30000" />\r
 <property name="BASEADDRESS_KERNEL32" value="0x7c800000" />\r
 <property name="BASEADDRESS_NTDLL" value="0x7C900000" />\r
 <property name="BASEADDRESS_FREETYPE" value="0x7F000000" />\r
@@ -84,9 +86,7 @@
 <property name="BASEADDRESS_HID" value="0x688F0000" />\r
 <property name="BASEADDRESS_PSXDLL" value="0x68eb0000" />\r
 <property name="BASEADDRESS_NETPLWIZ" value="0x6a240000" />\r
-<property name="BASEADDRESS_DISPLAY" value="DISPLAY" />\r
 <property name="BASEADDRESS_ACLUI" value="0x71550000" />\r
-<property name="BASEADDRESS_MSWSOCK" value="0x71a30000" />\r
 <property name="BASEADDRESS_WINFAX" value="0x722C0000" />\r
 <property name="BASEADDRESS_DEVMGR" value="0x72a90000" />\r
 <property name="BASEADDRESS_WINSCARD" value="0x723D0000" />\r
index 86c1e62..cea620e 100755 (executable)
@@ -107,6 +107,8 @@ lib\msi\msi.dll                         1
 lib\msimg32\msimg32.dll                 1
 lib\msvcrt\msvcrt.dll                   1
 lib\msvcrt20\msvcrt20.dll               1
+lib\msvideo\msvfw32.dll                 1
+lib\mswsock\mswsock.dll                 1
 lib\netapi32\netapi32.dll               1
 lib\ntdll\ntdll.dll                     1
 lib\ole32\ole32.dll                     1
index a8ce08f..b19a369 100644 (file)
 <directory name="msvcrt20">\r
        <xi:include href="msvcrt20/msvcrt20.xml" />\r
 </directory>\r
+<directory name="msvideo">\r
+       <xi:include href="msvideo/msvfw32.xml" />\r
+</directory>\r
+<directory name="mswsock">\r
+       <xi:include href="mswsock/mswsock.xml" />\r
+</directory>\r
 <directory name="netapi32">\r
        <xi:include href="netapi32/netapi32.xml" />\r
 </directory>\r
diff --git a/reactos/lib/msvideo/Makefile b/reactos/lib/msvideo/Makefile
deleted file mode 100644 (file)
index fa2e9d9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# $Id$
-
-PATH_TO_TOP = ../..
-
-TARGET_TYPE = winedll
-
-include $(PATH_TO_TOP)/rules.mak
-
-include $(TOOLS_PATH)/helper.mk
diff --git a/reactos/lib/msvideo/Makefile.ros-template b/reactos/lib/msvideo/Makefile.ros-template
deleted file mode 100644 (file)
index 2ece54d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-# $Id$
-
-TARGET_NAME = msvfw32
-
-TARGET_OBJECTS = @C_SRCS@
-
-TARGET_CFLAGS = @EXTRADEFS@ -D__REACTOS__
-
-TARGET_SDKLIBS = @IMPORTS@ wine.a wine_uuid.a ntdll.a
-
-TARGET_BASE = $(TARGET_BASE_LIB_WINMM)
-
-TARGET_RC_SRCS = @RC_SRCS@
-TARGET_RC_BINSRC = @RC_BINSRC@
-TARGET_RC_BINARIES = @RC_BINARIES@
-
-default: all
-
-DEP_OBJECTS = $(TARGET_OBJECTS)
-
-include $(TOOLS_PATH)/depend.mk
diff --git a/reactos/lib/msvideo/msvfw32.xml b/reactos/lib/msvideo/msvfw32.xml
new file mode 100644 (file)
index 0000000..741d2f8
--- /dev/null
@@ -0,0 +1,21 @@
+<module name="msvfw32" type="win32dll" baseaddress="${BASEADDRESS_MSVFW32}" installbase="system32" installname="msvfw32.dll">\r
+       <importlibrary definition="msvfw32.spec.def" />\r
+       <include base="ReactOS">include/wine</include>\r
+       <define name="UNICODE" />\r
+       <define name="_UNICODE" />\r
+       <define name="__REACTOS__" />\r
+       <define name="__USE_W32API" />\r
+       <define name="_WIN32_IE">0x600</define>\r
+       <define name="_WIN32_WINNT">0x501</define>\r
+       <define name="WINVER">0x501</define>\r
+       <library>winmm</library>\r
+       <library>gdi32</library>\r
+       <library>comctl32</library>\r
+       <library>kernel32</library>\r
+       <library>ntdll</library>\r
+       <file>drawdib.c</file>\r
+       <file>mciwnd.c</file>\r
+       <file>msvfw32.rc</file>\r
+       <file>msvideo_main.c</file>\r
+       <file>msvfw32.spec</file>\r
+</module>\r
diff --git a/reactos/lib/mswsock/Makefile b/reactos/lib/mswsock/Makefile
deleted file mode 100644 (file)
index 2a06f80..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id$
-
-PATH_TO_TOP = ../..
-
-TARGET_TYPE = dynlink
-
-TARGET_NAME = mswsock
-
-TARGET_BASE = $(TARGET_BASE_LIB_MSWSOCK)
-
-TARGET_CFLAGS = \
- -I./include \
- -Wall \
- -Werror \
- -fno-builtin \
- -DUNICODE \
- -DLE \
- -DDBG \
- -D__USE_W32API
-
-TARGET_LFLAGS = -nostartfiles -nostdlib
-
-TARGET_SDKLIBS = kernel32.a ws2_32.a
-
-TARGET_OBJECTS = stubs.o extensions.o
-
-TARGET_CLEAN = $(DEP_FILES)
-
-include $(PATH_TO_TOP)/rules.mak
-
-include $(TOOLS_PATH)/helper.mk
-
-# Automatic dependency tracking
-DEP_OBJECTS := $(TARGET_OBJECTS)
-include $(PATH_TO_TOP)/tools/depend.mk
-
-# EOF
diff --git a/reactos/lib/mswsock/mswsock.xml b/reactos/lib/mswsock/mswsock.xml
new file mode 100644 (file)
index 0000000..5a92f06
--- /dev/null
@@ -0,0 +1,11 @@
+<module name="mswsock" type="win32dll" baseaddress="${BASEADDRESS_MSWSOCK}" installbase="system32" installname="mswsock.dll">\r
+       <importlibrary definition="mswsock.def" />\r
+       <define name="UNICODE" />\r
+       <define name="LE" />\r
+       <define name="__USE_W32API" />\r
+       <library>kernel32</library>\r
+       <library>ws2_32</library>\r
+       <file>extensions.c</file>\r
+       <file>stubs.c</file>\r
+       <file>mswsock.rc</file>\r
+</module>\r