Skip to content

Commit

Permalink
makefiles: Add a -mcygwin flag to specify the inverse of -mno-cygwin.
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Julliard <[email protected]>
  • Loading branch information
julliard committed Sep 20, 2021
1 parent eda25a5 commit 6ba7773
Show file tree
Hide file tree
Showing 69 changed files with 140 additions and 9 deletions.
2 changes: 2 additions & 0 deletions dlls/capi2032/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ MODULE = capi2032.dll
IMPORTLIB = capi2032
EXTRAINCL = $(CAPI20_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = cap20wxx.c
2 changes: 2 additions & 0 deletions dlls/ctapi32/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
MODULE = ctapi32.dll
IMPORTS = advapi32

EXTRADLLFLAGS = -mcygwin

C_SRCS = ctapi32.c
2 changes: 2 additions & 0 deletions dlls/d3d12/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ IMPORTS = dxgi dxguid gdi32 user32 uuid
EXTRALIBS = $(VKD3D_LIBS)
EXTRAINCL = $(VKD3D_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
d3d12_main.c
2 changes: 2 additions & 0 deletions dlls/dinput/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ IMPORTS = dinput dxguid uuid comctl32 ole32 user32 advapi32 hid setupapi
EXTRADEFS = -DDIRECTINPUT_VERSION=0x0700
EXTRALIBS = $(IOKIT_LIBS) $(FORCEFEEDBACK_LIBS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
ansi.c \
config.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/dinput8/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ EXTRADEFS = -DDIRECTINPUT_VERSION=0x0800
EXTRALIBS = $(IOKIT_LIBS) $(FORCEFEEDBACK_LIBS)
PARENTSRC = ../dinput

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
ansi.c \
config.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/dxgi/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ IMPORTLIB = dxgi
IMPORTS = gdi32 dxguid uuid wined3d user32
EXTRAINCL = $(VKD3D_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
adapter.c \
device.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/gphoto2.ds/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ IMPORTS = comctl32 user32 gdi32 advapi32
EXTRALIBS = $(GPHOTO2_LIBS) $(GPHOTO2_PORT_LIBS)
EXTRAINCL = $(GPHOTO2_CFLAGS) $(GPHOTO2_PORT_CFLAGS) $(JPEG_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
capability.c \
ds_image.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/iphlpapi/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ MODULE = iphlpapi.dll
IMPORTLIB = iphlpapi
IMPORTS = advapi32 dnsapi nsi uuid

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
icmp.c \
iphlpapi_main.c
Expand Down
2 changes: 2 additions & 0 deletions dlls/l3codeca.acm/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ IMPORTS = winmm user32
EXTRAINCL = $(MPG123_CFLAGS)
EXTRALIBS = $(MPG123_LIBS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
mpegl3.c
3 changes: 2 additions & 1 deletion dlls/mountmgr.sys/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
MODULE = mountmgr.sys
IMPORTS = uuid advapi32 ntoskrnl
DELAYIMPORTS = user32 iphlpapi
EXTRADLLFLAGS = -Wl,--subsystem,native
EXTRAINCL = $(DBUS_CFLAGS) $(HAL_CFLAGS)
EXTRALIBS = $(DISKARBITRATION_LIBS) $(SYSTEMCONFIGURATION_LIBS) $(CORESERVICES_LIBS) $(SECURITY_LIBS)

EXTRADLLFLAGS = -Wl,--subsystem,native -mcygwin

C_SRCS = \
dbus.c \
device.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/mp3dmod/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ IMPORTS = dmoguids msdmo ole32 uuid wmcodecdspuuid
EXTRAINCL = $(MPG123_CFLAGS)
EXTRALIBS = $(MPG123_LIBS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
mp3dmod.c

Expand Down
2 changes: 2 additions & 0 deletions dlls/msgsm32.acm/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
MODULE = msgsm32.acm
IMPORTS = winmm user32

EXTRADLLFLAGS = -mcygwin

C_SRCS = msgsm32.c
2 changes: 2 additions & 0 deletions dlls/msxml3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ IMPORTS = uuid urlmon shlwapi oleaut32 ole32 user32 advapi32
EXTRALIBS = $(XML2_LIBS)
EXTRAINCL = $(XML2_CFLAGS) $(XSLT_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
attribute.c \
bsc.c \
Expand Down
3 changes: 2 additions & 1 deletion dlls/nsiproxy.sys/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
MODULE = nsiproxy.sys
IMPORTS = ntoskrnl uuid
EXTRALIBS = $(PROCSTAT_LIBS)
EXTRADLLFLAGS = -Wl,--subsystem,native

EXTRADLLFLAGS = -Wl,--subsystem,native -mcygwin

C_SRCS = \
device.c \
Expand Down
2 changes: 1 addition & 1 deletion dlls/openal32/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MODULE = openal32.dll
EXTRALIBS = $(OPENAL_LIBS)

EXTRADLLFLAGS = -Wb,--prefer-native
EXTRADLLFLAGS = -Wb,--prefer-native -mcygwin

C_SRCS = \
openal.c
3 changes: 2 additions & 1 deletion dlls/opengl32/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ EXTRADEFS = -D_OPENGL32_
IMPORTLIB = opengl32
IMPORTS = user32 gdi32 advapi32
DELAYIMPORTS = glu32
EXTRADLLFLAGS = -Wl,--image-base,0x7a800000

EXTRADLLFLAGS = -Wl,--image-base,0x7a800000 -mcygwin

C_SRCS = \
opengl_ext.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/sane.ds/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ MODULE = sane.ds
IMPORTS = comctl32 user32 gdi32
EXTRAINCL = $(SANE_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
capability.c \
ds_ctrl.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/winealsa.drv/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ IMPORTS = uuid ole32 advapi32
DELAYIMPORTS = winmm
EXTRALIBS = $(ALSA_LIBS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
midi.c \
mmdevdrv.c
2 changes: 2 additions & 0 deletions dlls/wineandroid.drv/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
MODULE = wineandroid.drv
IMPORTS = uuid ole32 user32 gdi32 advapi32 ntoskrnl

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
device.c \
init.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/winecoreaudio.drv/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ IMPORTS = uuid ole32 user32 advapi32
DELAYIMPORTS = winmm
EXTRALIBS = $(COREAUDIO_LIBS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
audiounit.c \
coreaudio.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/wined3d/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ IMPORTLIB = wined3d
IMPORTS = opengl32 user32 gdi32 advapi32
EXTRAINCL = $(VKD3D_SHADER_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
adapter_gl.c \
adapter_vk.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/winejoystick.drv/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ MODULE = winejoystick.drv
IMPORTS = winmm user32
EXTRALIBS = $(IOKIT_LIBS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
joystick.c \
joystick_linux.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/winemac.drv/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ IMPORTS = uuid setupapi rpcrt4 user32 gdi32 advapi32
DELAYIMPORTS = ole32 shell32 imm32
EXTRALIBS = -framework AppKit -framework Carbon -framework Security -framework OpenGL -framework IOKit -framework CoreVideo $(METAL_LIBS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
clipboard.c \
display.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/wineoss.drv/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ DELAYIMPORTS = winmm
EXTRALIBS = $(OSS4_LIBS)
EXTRAINCL = $(OSS4_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
midi.c \
midipatch.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/wineqtdecoder/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ IMPORTS = strmiids uuid ole32 advapi32
EXTRALIBS = $(QUICKTIME_LIBS)
PARENTSRC = ../strmbase

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
filter.c \
main.c \
Expand Down
3 changes: 2 additions & 1 deletion dlls/wineusb.sys/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ MODULE = wineusb.sys
IMPORTS = ntoskrnl
EXTRALIBS = $(USB_LIBS)
EXTRAINCL = $(USB_CFLAGS)
EXTRADLLFLAGS = -Wl,--subsystem,native

EXTRADLLFLAGS = -Wl,--subsystem,native -mcygwin

C_SRCS = \
wineusb.c
Expand Down
2 changes: 2 additions & 0 deletions dlls/winex11.drv/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ DELAYIMPORTS = comctl32 ole32 shell32 imm32
EXTRAINCL = $(X_CFLAGS)
EXTRALIBS = $(X_LIBS) $(X_EXTRA_LIBS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
bitblt.c \
brush.c \
Expand Down
2 changes: 2 additions & 0 deletions dlls/winspool.drv/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ IMPORTS = user32 gdi32 advapi32
EXTRAINCL = $(CUPS_CFLAGS)
EXTRALIBS = $(APPLICATIONSERVICES_LIBS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
info.c \
wspool.c
Expand Down
2 changes: 2 additions & 0 deletions dlls/wnaspi32/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ MODULE = wnaspi32.dll
IMPORTLIB = wnaspi32
IMPORTS = advapi32

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
aspi.c \
winaspi32.c
2 changes: 2 additions & 0 deletions dlls/x3daudio1_0/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ PARENTSRC = ../xaudio2_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
x3daudio.c
2 changes: 2 additions & 0 deletions dlls/x3daudio1_1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ PARENTSRC = ../xaudio2_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
x3daudio.c
2 changes: 2 additions & 0 deletions dlls/x3daudio1_2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ PARENTSRC = ../xaudio2_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
x3daudio.c
2 changes: 2 additions & 0 deletions dlls/x3daudio1_3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ PARENTSRC = ../xaudio2_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
x3daudio.c
2 changes: 2 additions & 0 deletions dlls/x3daudio1_4/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ PARENTSRC = ../xaudio2_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
x3daudio.c
2 changes: 2 additions & 0 deletions dlls/x3daudio1_5/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ PARENTSRC = ../xaudio2_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
x3daudio.c
2 changes: 2 additions & 0 deletions dlls/x3daudio1_6/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ PARENTSRC = ../xaudio2_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
x3daudio.c
2 changes: 2 additions & 0 deletions dlls/x3daudio1_7/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ PARENTSRC = ../xaudio2_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
x3daudio.c
2 changes: 2 additions & 0 deletions dlls/xactengine2_0/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PARENTSRC = ../xactengine3_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
xact_dll.c

Expand Down
2 changes: 2 additions & 0 deletions dlls/xactengine2_4/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PARENTSRC = ../xactengine3_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
xact_dll.c

Expand Down
2 changes: 2 additions & 0 deletions dlls/xactengine2_7/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PARENTSRC = ../xactengine3_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
xact_dll.c

Expand Down
2 changes: 2 additions & 0 deletions dlls/xactengine2_9/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PARENTSRC = ../xactengine3_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
xact_dll.c

Expand Down
2 changes: 2 additions & 0 deletions dlls/xactengine3_0/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PARENTSRC = ../xactengine3_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
xact_dll.c

Expand Down
2 changes: 2 additions & 0 deletions dlls/xactengine3_1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PARENTSRC = ../xactengine3_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
xact_dll.c

Expand Down
2 changes: 2 additions & 0 deletions dlls/xactengine3_2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PARENTSRC = ../xactengine3_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
xact_dll.c

Expand Down
2 changes: 2 additions & 0 deletions dlls/xactengine3_3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PARENTSRC = ../xactengine3_7
EXTRALIBS = $(FAUDIO_LIBS)
EXTRAINCL = $(FAUDIO_CFLAGS)

EXTRADLLFLAGS = -mcygwin

C_SRCS = \
xact_dll.c

Expand Down
Loading

0 comments on commit 6ba7773

Please sign in to comment.