Commit f21cb01a authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 509b1eb1
...@@ -17901,7 +17901,7 @@ wine_fn_config_dll ntdll enable_ntdll implib ...@@ -17901,7 +17901,7 @@ wine_fn_config_dll ntdll enable_ntdll implib
wine_fn_config_test dlls/ntdll/tests ntdll_test wine_fn_config_test dlls/ntdll/tests ntdll_test
wine_fn_config_dll ntdsapi enable_ntdsapi implib wine_fn_config_dll ntdsapi enable_ntdsapi implib
wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test 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_dll ntprint enable_ntprint
wine_fn_config_test dlls/ntprint/tests ntprint_test wine_fn_config_test dlls/ntprint/tests ntprint_test
wine_fn_config_dll objsel enable_objsel clean wine_fn_config_dll objsel enable_objsel clean
...@@ -18047,7 +18047,7 @@ wine_fn_config_dll updspapi enable_updspapi ...@@ -18047,7 +18047,7 @@ wine_fn_config_dll updspapi enable_updspapi
wine_fn_config_dll url enable_url implib wine_fn_config_dll url enable_url implib
wine_fn_config_dll urlmon enable_urlmon clean,implib wine_fn_config_dll urlmon enable_urlmon clean,implib
wine_fn_config_test dlls/urlmon/tests urlmon_test 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 user.exe16 enable_win16
wine_fn_config_dll user32 enable_user32 clean,implib wine_fn_config_dll user32 enable_user32 clean,implib
wine_fn_config_test dlls/user32/tests user32_test wine_fn_config_test dlls/user32/tests user32_test
......
...@@ -3147,7 +3147,7 @@ WINE_CONFIG_DLL(ntdll,,[implib]) ...@@ -3147,7 +3147,7 @@ WINE_CONFIG_DLL(ntdll,,[implib])
WINE_CONFIG_TEST(dlls/ntdll/tests) WINE_CONFIG_TEST(dlls/ntdll/tests)
WINE_CONFIG_DLL(ntdsapi,,[implib]) WINE_CONFIG_DLL(ntdsapi,,[implib])
WINE_CONFIG_TEST(dlls/ntdsapi/tests) 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_DLL(ntprint)
WINE_CONFIG_TEST(dlls/ntprint/tests) WINE_CONFIG_TEST(dlls/ntprint/tests)
WINE_CONFIG_DLL(objsel,,[clean]) WINE_CONFIG_DLL(objsel,,[clean])
...@@ -3293,7 +3293,7 @@ WINE_CONFIG_DLL(updspapi) ...@@ -3293,7 +3293,7 @@ WINE_CONFIG_DLL(updspapi)
WINE_CONFIG_DLL(url,,[implib]) WINE_CONFIG_DLL(url,,[implib])
WINE_CONFIG_DLL(urlmon,,[clean,implib]) WINE_CONFIG_DLL(urlmon,,[clean,implib])
WINE_CONFIG_TEST(dlls/urlmon/tests) 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(user.exe16,enable_win16)
WINE_CONFIG_DLL(user32,,[clean,implib]) WINE_CONFIG_DLL(user32,,[clean,implib])
WINE_CONFIG_TEST(dlls/user32/tests) WINE_CONFIG_TEST(dlls/user32/tests)
......
MODULE = hidclass.sys MODULE = hidclass.sys
IMPORTLIB = hidclass IMPORTLIB = hidclass
IMPORTS = ntoskrnl.exe IMPORTS = ntoskrnl
DELAYIMPORTS = setupapi hid DELAYIMPORTS = setupapi hid
C_SRCS = \ C_SRCS = \
......
MODULE = mountmgr.sys MODULE = mountmgr.sys
IMPORTS = uuid advapi32 ntoskrnl.exe IMPORTS = uuid advapi32 ntoskrnl
DELAYIMPORTS = user32 DELAYIMPORTS = user32
EXTRADLLFLAGS = -Wb,--subsystem,native EXTRADLLFLAGS = -Wb,--subsystem,native
EXTRAINCL = $(DBUS_CFLAGS) $(HAL_CFLAGS) EXTRAINCL = $(DBUS_CFLAGS) $(HAL_CFLAGS)
......
MODULE = ntoskrnl.exe MODULE = ntoskrnl.exe
IMPORTLIB = ntoskrnl.exe IMPORTLIB = ntoskrnl
C_SRCS = \ C_SRCS = \
instr.c \ instr.c \
......
MODULE = scsiport.sys MODULE = scsiport.sys
IMPORTS = ntoskrnl.exe IMPORTS = ntoskrnl
EXTRADLLFLAGS = -Wb,--subsystem,native EXTRADLLFLAGS = -Wb,--subsystem,native
C_SRCS = \ C_SRCS = \
......
MODULE = usbd.sys MODULE = usbd.sys
IMPORTLIB = usbd.sys IMPORTLIB = usbd
IMPORTS = ntoskrnl.exe IMPORTS = ntoskrnl
EXTRADLLFLAGS = -Wb,--subsystem,native EXTRADLLFLAGS = -Wb,--subsystem,native
C_SRCS = \ C_SRCS = \
......
MODULE = winedevice.exe MODULE = winedevice.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
IMPORTS = advapi32 ntoskrnl.exe IMPORTS = advapi32 ntoskrnl
C_SRCS = \ C_SRCS = \
device.c device.c
...@@ -485,6 +485,7 @@ sub update_makefiles(@) ...@@ -485,6 +485,7 @@ sub update_makefiles(@)
die "Invalid MODULE in $file" unless $make{"MODULE"} eq "$name.dll"; die "Invalid MODULE in $file" unless $make{"MODULE"} eq "$name.dll";
} }
my $implib = $make{"IMPORTLIB"} || ""; my $implib = $make{"IMPORTLIB"} || "";
die "Invalid IMPORTLIB name in $file" if $implib =~ /\./;
$args .= "," if $is_win16 || defined $make{"=flags"}; $args .= "," if $is_win16 || defined $make{"=flags"};
$args .= "enable_win16" if $is_win16; $args .= "enable_win16" if $is_win16;
$args .= $flag_args; $args .= $flag_args;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment