Alexandre Julliard : makefiles: Don' t allow import libraries to have an extension.

Alexandre Julliard julliard at winehq.org
Tue Jun 14 12:04:33 CDT 2016


Module: wine
Branch: master
Commit: f21cb01aa4f61660d5bc9f8843e25ed957c5eaec
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f21cb01aa4f61660d5bc9f8843e25ed957c5eaec

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jun 14 14:04:20 2016 +0900

makefiles: Don't allow import libraries to have an extension.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 configure                       | 4 ++--
 configure.ac                    | 4 ++--
 dlls/hidclass.sys/Makefile.in   | 2 +-
 dlls/mountmgr.sys/Makefile.in   | 2 +-
 dlls/ntoskrnl.exe/Makefile.in   | 2 +-
 dlls/scsiport.sys/Makefile.in   | 2 +-
 dlls/usbd.sys/Makefile.in       | 4 ++--
 programs/winedevice/Makefile.in | 2 +-
 tools/make_makefiles            | 1 +
 9 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/configure b/configure
index 5901f60..6151ef8 100755
--- a/configure
+++ b/configure
@@ -17901,7 +17901,7 @@ wine_fn_config_dll ntdll enable_ntdll implib
 wine_fn_config_test dlls/ntdll/tests ntdll_test
 wine_fn_config_dll ntdsapi enable_ntdsapi implib
 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
-wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
+wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
 wine_fn_config_dll ntprint enable_ntprint
 wine_fn_config_test dlls/ntprint/tests ntprint_test
 wine_fn_config_dll objsel enable_objsel clean
@@ -18047,7 +18047,7 @@ wine_fn_config_dll updspapi enable_updspapi
 wine_fn_config_dll url enable_url implib
 wine_fn_config_dll urlmon enable_urlmon clean,implib
 wine_fn_config_test dlls/urlmon/tests urlmon_test
-wine_fn_config_dll usbd.sys enable_usbd_sys implib
+wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
 wine_fn_config_dll user.exe16 enable_win16
 wine_fn_config_dll user32 enable_user32 clean,implib
 wine_fn_config_test dlls/user32/tests user32_test
diff --git a/configure.ac b/configure.ac
index 6f0cd70..a2b1705 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3147,7 +3147,7 @@ WINE_CONFIG_DLL(ntdll,,[implib])
 WINE_CONFIG_TEST(dlls/ntdll/tests)
 WINE_CONFIG_DLL(ntdsapi,,[implib])
 WINE_CONFIG_TEST(dlls/ntdsapi/tests)
-WINE_CONFIG_DLL(ntoskrnl.exe,,[implib])
+WINE_CONFIG_DLL(ntoskrnl.exe,,[implib],[ntoskrnl])
 WINE_CONFIG_DLL(ntprint)
 WINE_CONFIG_TEST(dlls/ntprint/tests)
 WINE_CONFIG_DLL(objsel,,[clean])
@@ -3293,7 +3293,7 @@ WINE_CONFIG_DLL(updspapi)
 WINE_CONFIG_DLL(url,,[implib])
 WINE_CONFIG_DLL(urlmon,,[clean,implib])
 WINE_CONFIG_TEST(dlls/urlmon/tests)
-WINE_CONFIG_DLL(usbd.sys,,[implib])
+WINE_CONFIG_DLL(usbd.sys,,[implib],[usbd])
 WINE_CONFIG_DLL(user.exe16,enable_win16)
 WINE_CONFIG_DLL(user32,,[clean,implib])
 WINE_CONFIG_TEST(dlls/user32/tests)
diff --git a/dlls/hidclass.sys/Makefile.in b/dlls/hidclass.sys/Makefile.in
index 6e79486..e942217 100644
--- a/dlls/hidclass.sys/Makefile.in
+++ b/dlls/hidclass.sys/Makefile.in
@@ -1,6 +1,6 @@
 MODULE    = hidclass.sys
 IMPORTLIB = hidclass
-IMPORTS   = ntoskrnl.exe
+IMPORTS   = ntoskrnl
 DELAYIMPORTS = setupapi hid
 
 C_SRCS = \
diff --git a/dlls/mountmgr.sys/Makefile.in b/dlls/mountmgr.sys/Makefile.in
index 1195b5e..bd1c2ee 100644
--- a/dlls/mountmgr.sys/Makefile.in
+++ b/dlls/mountmgr.sys/Makefile.in
@@ -1,5 +1,5 @@
 MODULE    = mountmgr.sys
-IMPORTS   = uuid advapi32 ntoskrnl.exe
+IMPORTS   = uuid advapi32 ntoskrnl
 DELAYIMPORTS = user32
 EXTRADLLFLAGS = -Wb,--subsystem,native
 EXTRAINCL = $(DBUS_CFLAGS) $(HAL_CFLAGS)
diff --git a/dlls/ntoskrnl.exe/Makefile.in b/dlls/ntoskrnl.exe/Makefile.in
index adb1327..875be8e 100644
--- a/dlls/ntoskrnl.exe/Makefile.in
+++ b/dlls/ntoskrnl.exe/Makefile.in
@@ -1,5 +1,5 @@
 MODULE    = ntoskrnl.exe
-IMPORTLIB = ntoskrnl.exe
+IMPORTLIB = ntoskrnl
 
 C_SRCS = \
 	instr.c \
diff --git a/dlls/scsiport.sys/Makefile.in b/dlls/scsiport.sys/Makefile.in
index c5bc401..5219c3e 100644
--- a/dlls/scsiport.sys/Makefile.in
+++ b/dlls/scsiport.sys/Makefile.in
@@ -1,5 +1,5 @@
 MODULE    = scsiport.sys
-IMPORTS   = ntoskrnl.exe
+IMPORTS   = ntoskrnl
 EXTRADLLFLAGS = -Wb,--subsystem,native
 
 C_SRCS = \
diff --git a/dlls/usbd.sys/Makefile.in b/dlls/usbd.sys/Makefile.in
index 81a157b..32e7e71 100644
--- a/dlls/usbd.sys/Makefile.in
+++ b/dlls/usbd.sys/Makefile.in
@@ -1,6 +1,6 @@
 MODULE    = usbd.sys
-IMPORTLIB = usbd.sys
-IMPORTS   = ntoskrnl.exe
+IMPORTLIB = usbd
+IMPORTS   = ntoskrnl
 EXTRADLLFLAGS = -Wb,--subsystem,native
 
 C_SRCS = \
diff --git a/programs/winedevice/Makefile.in b/programs/winedevice/Makefile.in
index fc1ffff..a0a4450 100644
--- a/programs/winedevice/Makefile.in
+++ b/programs/winedevice/Makefile.in
@@ -1,6 +1,6 @@
 MODULE    = winedevice.exe
 APPMODE   = -mwindows -municode
-IMPORTS   = advapi32 ntoskrnl.exe
+IMPORTS   = advapi32 ntoskrnl
 
 C_SRCS = \
 	device.c
diff --git a/tools/make_makefiles b/tools/make_makefiles
index a5e8a05..1a01666 100755
--- a/tools/make_makefiles
+++ b/tools/make_makefiles
@@ -485,6 +485,7 @@ sub update_makefiles(@)
                 die "Invalid MODULE in $file" unless $make{"MODULE"} eq "$name.dll";
             }
             my $implib = $make{"IMPORTLIB"} || "";
+            die "Invalid IMPORTLIB name in $file" if $implib =~ /\./;
             $args .= "," if $is_win16 || defined $make{"=flags"};
             $args .= "enable_win16" if $is_win16;
             $args .= $flag_args;




More information about the wine-cvs mailing list