makefiles: Add some msvcrt imports needed under Cygwin

cerebro.alexiel at gmail.com cerebro.alexiel at gmail.com
Sat Feb 20 11:20:32 CST 2010


From: Alex <cerebro.alexiel at gmail.com>

---
 programs/cmd/Makefile.in         |    3 ++-
 programs/dxdiag/Makefile.in      |    3 ++-
 programs/explorer/Makefile.in    |    3 ++-
 programs/extrac32/Makefile.in    |    3 ++-
 programs/mshta/Makefile.in       |    3 ++-
 programs/reg/Makefile.in         |    3 ++-
 programs/start/Makefile.in       |    3 ++-
 programs/svchost/Makefile.in     |    3 ++-
 programs/termsv/Makefile.in      |    3 ++-
 programs/uninstaller/Makefile.in |    3 ++-
 programs/winebrowser/Makefile.in |    3 ++-
 programs/winedevice/Makefile.in  |    3 ++-
 programs/winepath/Makefile.in    |    3 ++-
 programs/xcopy/Makefile.in       |    2 +-
 14 files changed, 27 insertions(+), 14 deletions(-)

diff --git a/programs/cmd/Makefile.in b/programs/cmd/Makefile.in
index 7f13b52..c92d297 100644
--- a/programs/cmd/Makefile.in
+++ b/programs/cmd/Makefile.in
@@ -5,7 +5,8 @@ VPATH     = @srcdir@
 MODULE    = cmd.exe
 APPMODE   = -mconsole -municode
 EXTRADEFS = -DWINE_NO_UNICODE_MACROS
-IMPORTS   = shell32 user32 advapi32 kernel32
+IMPORTS   = shell32 user32 advapi32 kernel32 msvcrt
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = \
 	batch.c \
diff --git a/programs/dxdiag/Makefile.in b/programs/dxdiag/Makefile.in
index a8dd0d9..c1ef325 100644
--- a/programs/dxdiag/Makefile.in
+++ b/programs/dxdiag/Makefile.in
@@ -5,7 +5,8 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = dxdiag.exe
 APPMODE   = -mwindows -municode
-IMPORTS   = kernel32
+IMPORTS   = kernel32 msvcrt
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = \
 	main.c
diff --git a/programs/explorer/Makefile.in b/programs/explorer/Makefile.in
index ceb80a9..11685d4 100644
--- a/programs/explorer/Makefile.in
+++ b/programs/explorer/Makefile.in
@@ -5,8 +5,9 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = explorer.exe
 APPMODE   = -mwindows -municode
-IMPORTS   = rpcrt4 user32 gdi32 advapi32 kernel32 ntdll
+IMPORTS   = rpcrt4 user32 gdi32 advapi32 kernel32 ntdll msvcrt
 DELAYIMPORTS = comctl32
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = \
 	appbar.c \
diff --git a/programs/extrac32/Makefile.in b/programs/extrac32/Makefile.in
index 78e4fef..a1e2da7 100644
--- a/programs/extrac32/Makefile.in
+++ b/programs/extrac32/Makefile.in
@@ -5,7 +5,8 @@ VPATH     = @srcdir@
 MODULE    = extrac32.exe
 APPMODE   = -mwindows -municode
 EXTRADEFS = -DWINE_NO_UNICODE
-IMPORTS   = shell32 setupapi user32 kernel32
+IMPORTS   = shell32 setupapi user32 kernel32 msvcrt
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = \
 	extrac32.c
diff --git a/programs/mshta/Makefile.in b/programs/mshta/Makefile.in
index 2e5ee54..15aa2a8 100644
--- a/programs/mshta/Makefile.in
+++ b/programs/mshta/Makefile.in
@@ -5,7 +5,8 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = mshta.exe
 APPMODE   = -mwindows -municode
-IMPORTS   = kernel32
+IMPORTS   = kernel32 msvcrt
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = \
 	main.c
diff --git a/programs/reg/Makefile.in b/programs/reg/Makefile.in
index 485f2e3..dbd8761 100644
--- a/programs/reg/Makefile.in
+++ b/programs/reg/Makefile.in
@@ -5,8 +5,9 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = reg.exe
 APPMODE   = -mconsole -municode
-IMPORTS   = advapi32 kernel32
+IMPORTS   = advapi32 kernel32 msvcrt
 DELAYIMPORTS = user32
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = reg.c
 
diff --git a/programs/start/Makefile.in b/programs/start/Makefile.in
index 66a05e8..5c357f7 100644
--- a/programs/start/Makefile.in
+++ b/programs/start/Makefile.in
@@ -5,7 +5,8 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = start.exe
 APPMODE   = -mconsole -municode
-IMPORTS   = shell32 user32 kernel32
+IMPORTS   = shell32 user32 kernel32 msvcrt
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = start.c
 
diff --git a/programs/svchost/Makefile.in b/programs/svchost/Makefile.in
index 5cf6174..fffd324 100644
--- a/programs/svchost/Makefile.in
+++ b/programs/svchost/Makefile.in
@@ -5,7 +5,8 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = svchost.exe
 APPMODE   = -municode
-IMPORTS   = advapi32 kernel32
+IMPORTS   = advapi32 kernel32 msvcrt
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = \
 	svchost.c
diff --git a/programs/termsv/Makefile.in b/programs/termsv/Makefile.in
index 559a72e..a6bd6ff 100644
--- a/programs/termsv/Makefile.in
+++ b/programs/termsv/Makefile.in
@@ -5,7 +5,8 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = termsv.exe
 APPMODE   = -mconsole -municode
-IMPORTS   = advapi32 kernel32
+IMPORTS   = advapi32 kernel32 msvcrt
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = \
 	main.c
diff --git a/programs/uninstaller/Makefile.in b/programs/uninstaller/Makefile.in
index adba2cc..2145fad 100644
--- a/programs/uninstaller/Makefile.in
+++ b/programs/uninstaller/Makefile.in
@@ -5,8 +5,9 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = uninstaller.exe
 APPMODE   = -mconsole -municode
-IMPORTS   = advapi32 kernel32
+IMPORTS   = advapi32 kernel32 msvcrt
 DELAYIMPORTS = shlwapi shell32 user32 gdi32
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = \
 	main.c
diff --git a/programs/winebrowser/Makefile.in b/programs/winebrowser/Makefile.in
index 4b2b69e..0aa1f9d 100644
--- a/programs/winebrowser/Makefile.in
+++ b/programs/winebrowser/Makefile.in
@@ -5,7 +5,8 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = winebrowser.exe
 APPMODE   = -mwindows -municode
-IMPORTS   = shlwapi user32 advapi32 kernel32
+IMPORTS   = shlwapi user32 advapi32 kernel32 msvcrt
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = \
 	main.c
diff --git a/programs/winedevice/Makefile.in b/programs/winedevice/Makefile.in
index c644b7a..4bcc6ef 100644
--- a/programs/winedevice/Makefile.in
+++ b/programs/winedevice/Makefile.in
@@ -5,7 +5,8 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = winedevice.exe
 APPMODE   = -mwindows -municode
-IMPORTS   = advapi32 ntoskrnl.exe kernel32 ntdll
+IMPORTS   = advapi32 ntoskrnl.exe kernel32 ntdll msvcrt
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = \
 	device.c
diff --git a/programs/winepath/Makefile.in b/programs/winepath/Makefile.in
index 1ced54e..cc7c6cb 100644
--- a/programs/winepath/Makefile.in
+++ b/programs/winepath/Makefile.in
@@ -5,7 +5,8 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = winepath.exe
 APPMODE   = -mconsole -municode
-IMPORTS   = kernel32
+IMPORTS   = kernel32 msvcrt
+EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 
 C_SRCS = winepath.c
 
diff --git a/programs/xcopy/Makefile.in b/programs/xcopy/Makefile.in
index dce8259..1a36216 100644
--- a/programs/xcopy/Makefile.in
+++ b/programs/xcopy/Makefile.in
@@ -5,7 +5,7 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = xcopy.exe
 APPMODE   = -mconsole -municode -mno-cygwin
-IMPORTS   = shell32 user32 kernel32
+IMPORTS   = shell32 user32 kernel32 msvcrt
 EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
 MODCFLAGS = @BUILTINFLAG@
 
-- 
1.6.6.1




More information about the wine-patches mailing list