Commit da35622b authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Disable use of Unicode macros globally for all the programs.

parent 6109f05e
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
# #
DLLFLAGS = @DLLFLAGS@ DLLFLAGS = @DLLFLAGS@
DEFS = -DWINE_STRICT_PROTOTYPES $(EXTRADEFS) DEFS = -DWINE_STRICT_PROTOTYPES -DWINE_NO_UNICODE_MACROS $(EXTRADEFS)
ALL_LIBS = $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(EXTRALIBS) -lwine $(LIBPORT) $(LDFLAGS) $(LIBS) ALL_LIBS = $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(EXTRALIBS) -lwine $(LIBPORT) $(LDFLAGS) $(LIBS)
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(fakedlldir) $(DESTDIR)$(mandir)/man$(prog_manext) INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(fakedlldir) $(DESTDIR)$(mandir)/man$(prog_manext)
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = aspnet_regiis.exe MODULE = aspnet_regiis.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = attrib.exe MODULE = attrib.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = user32 IMPORTS = user32
......
MODULE = cabarc.exe MODULE = cabarc.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = cabinet IMPORTS = cabinet
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = cabarc.c C_SRCS = cabarc.c
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = cacls.exe MODULE = cacls.exe
APPMODE = -mconsole APPMODE = -mconsole
......
MODULE = clock.exe MODULE = clock.exe
APPMODE = -mwindows APPMODE = -mwindows
IMPORTS = comdlg32 shell32 user32 gdi32 IMPORTS = comdlg32 shell32 user32 gdi32
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = \ C_SRCS = \
main.c \ main.c \
......
MODULE = cmd.exe MODULE = cmd.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
IMPORTS = shell32 user32 advapi32 IMPORTS = shell32 user32 advapi32
C_SRCS = \ C_SRCS = \
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = control.exe MODULE = control.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
IMPORTS = shell32 user32 IMPORTS = shell32 user32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = cscript.exe MODULE = cscript.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = dxdiag.exe MODULE = dxdiag.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
IMPORTS = dxguid ole32 oleaut32 user32 IMPORTS = dxguid ole32 oleaut32 user32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = eject.exe MODULE = eject.exe
APPMODE = -mconsole APPMODE = -mconsole
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = expand.exe MODULE = expand.exe
APPMODE = -mconsole APPMODE = -mconsole
IMPORTS = setupapi IMPORTS = setupapi
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = explorer.exe MODULE = explorer.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
IMPORTS = rpcrt4 user32 gdi32 advapi32 IMPORTS = rpcrt4 user32 gdi32 advapi32
......
MODULE = extrac32.exe MODULE = extrac32.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
EXTRADEFS = -DWINE_NO_UNICODE
IMPORTS = shell32 setupapi shlwapi user32 IMPORTS = shell32 setupapi shlwapi user32
C_SRCS = \ C_SRCS = \
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = hh.exe MODULE = hh.exe
APPMODE = -mwindows APPMODE = -mwindows
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = hostname.exe MODULE = hostname.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
EXTRALIBS = @SOCKETLIBS@ EXTRALIBS = @SOCKETLIBS@
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = icinfo.exe MODULE = icinfo.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = msvfw32 IMPORTS = msvfw32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = iexplore.exe MODULE = iexplore.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
IMPORTS = ieframe IMPORTS = ieframe
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = ipconfig.exe MODULE = ipconfig.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = iphlpapi ws2_32 user32 IMPORTS = iphlpapi ws2_32 user32
......
MODULE = mofcomp.exe MODULE = mofcomp.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = kernel32 IMPORTS = kernel32
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = mofcomp.c C_SRCS = mofcomp.c
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = mshta.exe MODULE = mshta.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = msiexec.exe MODULE = msiexec.exe
APPMODE = -mwindows APPMODE = -mwindows
IMPORTS = msi ole32 advapi32 user32 IMPORTS = msi ole32 advapi32 user32
......
MODULE = net.exe MODULE = net.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = netapi32 user32 advapi32 IMPORTS = netapi32 user32 advapi32
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = net.c C_SRCS = net.c
......
MODULE = netsh.exe MODULE = netsh.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = netsh.c C_SRCS = netsh.c
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = ngen.exe MODULE = ngen.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
......
...@@ -3,7 +3,7 @@ APPMODE = -mwindows -mno-cygwin ...@@ -3,7 +3,7 @@ APPMODE = -mwindows -mno-cygwin
IMPORTS = comdlg32 shell32 shlwapi user32 gdi32 advapi32 IMPORTS = comdlg32 shell32 shlwapi user32 gdi32 advapi32
EXTRAINCL = -I$(top_srcdir)/include/msvcrt EXTRAINCL = -I$(top_srcdir)/include/msvcrt
MODCFLAGS = @BUILTINFLAG@ MODCFLAGS = @BUILTINFLAG@
EXTRADEFS = -DNO_LIBWINE_PORT -DWINE_NO_UNICODE_MACROS EXTRADEFS = -DNO_LIBWINE_PORT
C_SRCS = \ C_SRCS = \
dialog.c \ dialog.c \
......
MODULE = oleview.exe MODULE = oleview.exe
APPMODE = -mwindows APPMODE = -mwindows
IMPORTS = uuid comdlg32 comctl32 shell32 oleaut32 ole32 user32 advapi32 IMPORTS = uuid comdlg32 comctl32 shell32 oleaut32 ole32 user32 advapi32
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = \ C_SRCS = \
details.c \ details.c \
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = ping.exe MODULE = ping.exe
APPMODE = -mconsole APPMODE = -mconsole
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = plugplay.exe MODULE = plugplay.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = advapi32 IMPORTS = advapi32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = presentationfontcache.exe MODULE = presentationfontcache.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = advapi32 IMPORTS = advapi32
......
MODULE = progman.exe MODULE = progman.exe
APPMODE = -mwindows APPMODE = -mwindows
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
IMPORTS = shell32 comdlg32 user32 gdi32 IMPORTS = shell32 comdlg32 user32 gdi32
C_SRCS = \ C_SRCS = \
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = reg.exe MODULE = reg.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = advapi32 IMPORTS = advapi32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = regasm.exe MODULE = regasm.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
......
...@@ -3,7 +3,7 @@ APPMODE = -mwindows -mno-cygwin ...@@ -3,7 +3,7 @@ APPMODE = -mwindows -mno-cygwin
IMPORTS = advapi32 IMPORTS = advapi32
DELAYIMPORTS = shlwapi shell32 comdlg32 comctl32 user32 gdi32 DELAYIMPORTS = shlwapi shell32 comdlg32 comctl32 user32 gdi32
EXTRAINCL = -I$(top_srcdir)/include/msvcrt EXTRAINCL = -I$(top_srcdir)/include/msvcrt
EXTRADEFS = -DNO_LIBWINE_PORT -DWINE_NO_UNICODE_MACROS EXTRADEFS = -DNO_LIBWINE_PORT
MODCFLAGS = @BUILTINFLAG@ MODCFLAGS = @BUILTINFLAG@
C_SRCS = \ C_SRCS = \
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = regsvcs.exe MODULE = regsvcs.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = regsvr32.exe MODULE = regsvr32.exe
APPMODE = -mconsole APPMODE = -mconsole
IMPORTS = ole32 IMPORTS = ole32
......
MODULE = rundll32.exe MODULE = rundll32.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
IMPORTS = user32 IMPORTS = user32
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = \ C_SRCS = \
rundll32.c rundll32.c
......
MODULE = sc.exe MODULE = sc.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = advapi32 IMPORTS = advapi32
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = sc.c C_SRCS = sc.c
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = secedit.exe MODULE = secedit.exe
APPMODE = -mconsole APPMODE = -mconsole
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = servicemodelreg.exe MODULE = servicemodelreg.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = services.exe MODULE = services.exe
APPMODE = -mconsole APPMODE = -mconsole
IMPORTS = rpcrt4 advapi32 userenv IMPORTS = rpcrt4 advapi32 userenv
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = spoolsv.exe MODULE = spoolsv.exe
APPMODE = -mconsole APPMODE = -mconsole
IMPORTS = advapi32 IMPORTS = advapi32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = start.exe MODULE = start.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = shell32 user32 IMPORTS = shell32 user32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = svchost.exe MODULE = svchost.exe
APPMODE = -municode APPMODE = -municode
IMPORTS = advapi32 IMPORTS = advapi32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = taskkill.exe MODULE = taskkill.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = psapi user32 IMPORTS = psapi user32
......
...@@ -2,7 +2,7 @@ MODULE = taskmgr.exe ...@@ -2,7 +2,7 @@ MODULE = taskmgr.exe
APPMODE = -mwindows -mno-cygwin APPMODE = -mwindows -mno-cygwin
IMPORTS = psapi shell32 comctl32 user32 gdi32 advapi32 IMPORTS = psapi shell32 comctl32 user32 gdi32 advapi32
EXTRAINCL = -I$(top_srcdir)/include/msvcrt EXTRAINCL = -I$(top_srcdir)/include/msvcrt
EXTRADEFS = -DNO_LIBWINE_PORT -DWINE_NO_UNICODE_MACROS EXTRADEFS = -DNO_LIBWINE_PORT
MODCFLAGS = @BUILTINFLAG@ MODCFLAGS = @BUILTINFLAG@
C_SRCS = \ C_SRCS = \
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = termsv.exe MODULE = termsv.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = advapi32 IMPORTS = advapi32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = uninstaller.exe MODULE = uninstaller.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = advapi32 IMPORTS = advapi32
......
MODULE = view.exe MODULE = view.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
IMPORTS = comdlg32 user32 gdi32 IMPORTS = comdlg32 user32 gdi32
C_SRCS = \ C_SRCS = \
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = wineboot.exe MODULE = wineboot.exe
APPMODE = -mconsole APPMODE = -mconsole
IMPORTS = uuid advapi32 IMPORTS = uuid advapi32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = winebrowser.exe MODULE = winebrowser.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
IMPORTS = urlmon oleaut32 user32 advapi32 IMPORTS = urlmon oleaut32 user32 advapi32
......
MODULE = winecfg.exe MODULE = winecfg.exe
APPMODE = -mwindows APPMODE = -mwindows
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
IMPORTS = uuid comdlg32 comctl32 shell32 ole32 winmm shlwapi uxtheme user32 gdi32 advapi32 IMPORTS = uuid comdlg32 comctl32 shell32 ole32 winmm shlwapi uxtheme user32 gdi32 advapi32
C_SRCS = \ C_SRCS = \
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = wineconsole.exe MODULE = wineconsole.exe
APPMODE = -mwindows APPMODE = -mwindows
IMPORTS = advapi32 IMPORTS = advapi32
......
...@@ -3,7 +3,6 @@ APPMODE = -mconsole ...@@ -3,7 +3,6 @@ APPMODE = -mconsole
IMPORTS = psapi dbghelp advapi32 IMPORTS = psapi dbghelp advapi32
DELAYIMPORTS = comdlg32 shell32 comctl32 user32 gdi32 DELAYIMPORTS = comdlg32 shell32 comctl32 user32 gdi32
EXTRALIBS = @LIBPOLL@ EXTRALIBS = @LIBPOLL@
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = \ C_SRCS = \
be_arm.c \ be_arm.c \
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = winedevice.exe MODULE = winedevice.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
IMPORTS = advapi32 ntoskrnl.exe IMPORTS = advapi32 ntoskrnl.exe
......
EXTRADEFS = -D__WINE__ -DWINE_NO_UNICODE_MACROS EXTRADEFS = -D__WINE__
MODULE = winefile.exe MODULE = winefile.exe
APPMODE = -mwindows APPMODE = -mwindows
IMPORTS = uuid shell32 comdlg32 comctl32 ole32 mpr version user32 gdi32 advapi32 IMPORTS = uuid shell32 comdlg32 comctl32 ole32 mpr version user32 gdi32 advapi32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = winemenubuilder.exe MODULE = winemenubuilder.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
IMPORTS = uuid windowscodecs shell32 shlwapi ole32 user32 advapi32 IMPORTS = uuid windowscodecs shell32 shlwapi ole32 user32 advapi32
......
MODULE = winemine.exe MODULE = winemine.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
IMPORTS = user32 gdi32 advapi32 IMPORTS = user32 gdi32 advapi32
DELAYIMPORTS = shell32 DELAYIMPORTS = shell32
......
MODULE = winemsibuilder.exe MODULE = winemsibuilder.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
IMPORTS = msi ole32 IMPORTS = msi ole32
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = main.c C_SRCS = main.c
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = winepath.exe MODULE = winepath.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
......
MODULE = winetest.exe MODULE = winetest.exe
APPMODE = -mconsole APPMODE = -mconsole
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
IMPORTS = uuid comctl32 version user32 gdi32 advapi32 wsock32 IMPORTS = uuid comctl32 version user32 gdi32 advapi32 wsock32
DELAYIMPORTS = ole32 DELAYIMPORTS = ole32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = winevdm.exe MODULE = winevdm.exe
APPMODE = -mconsole APPMODE = -mconsole
IMPORTS = user32 kernel IMPORTS = user32 kernel
......
MODULE = winhlp32.exe MODULE = winhlp32.exe
APPMODE = -mwindows APPMODE = -mwindows
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
IMPORTS = user32 gdi32 IMPORTS = user32 gdi32
DELAYIMPORTS = shell32 comctl32 comdlg32 DELAYIMPORTS = shell32 comctl32 comdlg32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = winver.exe MODULE = winver.exe
APPMODE = -mwindows APPMODE = -mwindows
IMPORTS = shell32 IMPORTS = shell32
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = wmic.exe MODULE = wmic.exe
APPMODE = -mconsole -municode APPMODE = -mconsole -municode
......
...@@ -2,7 +2,7 @@ MODULE = wordpad.exe ...@@ -2,7 +2,7 @@ MODULE = wordpad.exe
APPMODE = -mwindows -mno-cygwin APPMODE = -mwindows -mno-cygwin
IMPORTS = comdlg32 uuid ole32 shell32 user32 gdi32 advapi32 comctl32 IMPORTS = comdlg32 uuid ole32 shell32 user32 gdi32 advapi32 comctl32
EXTRAINCL = -I$(top_srcdir)/include/msvcrt EXTRAINCL = -I$(top_srcdir)/include/msvcrt
EXTRADEFS = -DNO_LIBWINE_PORT -DWINE_NO_UNICODE_MACROS EXTRADEFS = -DNO_LIBWINE_PORT
MODCFLAGS = @BUILTINFLAG@ MODCFLAGS = @BUILTINFLAG@
C_SRCS = \ C_SRCS = \
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = write.exe MODULE = write.exe
APPMODE = -mwindows APPMODE = -mwindows
IMPORTS = user32 gdi32 IMPORTS = user32 gdi32
......
MODULE = wscript.exe MODULE = wscript.exe
APPMODE = -mwindows -municode APPMODE = -mwindows -municode
IMPORTS = uuid shell32 oleaut32 ole32 advapi32 IMPORTS = uuid shell32 oleaut32 ole32 advapi32
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
RC_SRCS = \ RC_SRCS = \
rsrc.rc rsrc.rc
......
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
MODULE = xcopy.exe MODULE = xcopy.exe
APPMODE = -mconsole -municode -mno-cygwin APPMODE = -mconsole -municode -mno-cygwin
IMPORTS = shell32 user32 IMPORTS = shell32 user32
......
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