Commit acad4957 authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Always use the global SOURCES variable for .c files.

parent 7ccb5df0
......@@ -2,5 +2,5 @@ MODULE = acledit.dll
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = \
SOURCES = \
main.c
TESTDLL = activeds.dll
IMPORTS = ole32 oleaut32 activeds
C_SRCS = \
SOURCES = \
activeds.c
TESTDLL = adsldp.dll
IMPORTS = ole32 oleaut32 secur32 advapi32 activeds uuid
C_SRCS = \
SOURCES = \
ldap.c \
sysinfo.c
......@@ -2,7 +2,7 @@ MODULE = advpack.dll
IMPORTLIB = advpack
IMPORTS = ole32 setupapi version advapi32
C_SRCS = \
SOURCES = \
advpack.c \
files.c \
install.c \
......
TESTDLL = advpack.dll
IMPORTS = cabinet advapi32 advpack
C_SRCS = \
SOURCES = \
advpack.c \
files.c \
install.c
MODULE = amsi.dll
C_SRCS = \
SOURCES = \
main.c
......@@ -2,4 +2,5 @@ MODULE = apphelp.dll
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = apphelp.c
SOURCES = \
apphelp.c
TESTDLL = apphelp.dll
IMPORTS = ole32
C_SRCS = \
SOURCES = \
apphelp.c
......@@ -2,7 +2,7 @@ TESTDLL = atl.dll
IMPORTS = uuid atl oleaut32 ole32 rpcrt4 user32 gdi32 advapi32
EXTRADEFS = -D_ATL_VER=_ATL_VER_30
C_SRCS = \
SOURCES = \
atl_ax.c \
module.c \
registrar.c
......@@ -2,5 +2,5 @@ TESTDLL = atl100.dll
IMPORTS = uuid atl100 oleaut32 ole32 advapi32 user32
EXTRADEFS = -D_ATL_VER=_ATL_VER_100
C_SRCS = \
SOURCES = \
atl.c
......@@ -2,5 +2,5 @@ TESTDLL = atl110.dll
IMPORTS = uuid ole32 atl110
EXTRADEFS = -D_ATL_VER=_ATL_VER_110
C_SRCS = \
SOURCES = \
atl.c
MODULE = atlthunk.dll
IMPORTLIB = atlthunk
C_SRCS = \
SOURCES = \
atlthunk.c
TESTDLL = atlthunk.dll
IMPORTS = atlthunk
C_SRCS = \
SOURCES = \
atlthunk.c
......@@ -2,5 +2,5 @@ MODULE = atmlib.dll
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = \
SOURCES = \
main.c
......@@ -2,5 +2,5 @@ MODULE = authz.dll
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = \
SOURCES = \
authz.c
......@@ -3,6 +3,6 @@ UNIXLIB = avicap32.so
IMPORTLIB = avicap32
IMPORTS = user32
C_SRCS = \
SOURCES = \
avicap32_main.c \
v4l.c
TESTDLL = avifil32.dll
IMPORTS = avifil32 ole32
C_SRCS = \
SOURCES = \
api.c
......@@ -2,5 +2,5 @@ MODULE = avifile.dll16
IMPORTS = avifil32
EXTRADLLFLAGS = -m16 -Wb,--main-module,avifil32.dll
C_SRCS = \
SOURCES = \
main.c
......@@ -4,5 +4,5 @@ IMPORTS = user32
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = \
SOURCES = \
main.c
TESTDLL = bcrypt.dll
IMPORTS = bcrypt user32 advapi32
C_SRCS = \
SOURCES = \
bcrypt.c
MODULE = bcryptprimitives.dll
IMPORTS = advapi32
C_SRCS = \
SOURCES = \
main.c
......@@ -3,5 +3,5 @@ IMPORTLIB = bluetoothapis
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = \
SOURCES = \
main.c
TESTDLL = browseui.dll
IMPORTS = ole32
C_SRCS = \
SOURCES = \
autocomplete.c \
progressdlg.c
TESTDLL = cabinet.dll
IMPORTS = cabinet
C_SRCS = \
SOURCES = \
extract.c \
fdi.c
......@@ -4,6 +4,6 @@ IMPORTLIB = capi2032
UNIX_LIBS = $(CAPI20_LIBS)
UNIX_CFLAGS = $(CAPI20_CFLAGS)
C_SRCS = \
SOURCES = \
cap20wxx.c \
unixlib.c
MODULE = cdosys.dll
IMPORTS = uuid ole32
C_SRCS = \
SOURCES = \
main.c
......@@ -2,5 +2,5 @@ MODULE = cfgmgr32.dll
IMPORTLIB = cfgmgr32
IMPORTS = setupapi
C_SRCS = \
SOURCES = \
main.c
TESTDLL = cfgmgr32.dll
IMPORTS = cfgmgr32
C_SRCS = \
SOURCES = \
cfgmgr32.c
......@@ -3,5 +3,5 @@ IMPORTLIB = clusapi
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = \
SOURCES = \
clusapi.c
TESTDLL = comcat.dll
IMPORTS = ole32 advapi32
C_SRCS = \
SOURCES = \
comcat.c
......@@ -2,7 +2,7 @@ MODULE = commdlg.dll16
IMPORTS = comdlg32 user32 gdi32
EXTRADLLFLAGS = -m16 -Wb,--main-module,comdlg32.dll
C_SRCS = \
SOURCES = \
colordlg.c \
filedlg.c \
finddlg.c \
......
......@@ -2,4 +2,5 @@ MODULE = compobj.dll16
IMPORTS = uuid ole32 advapi32
EXTRADLLFLAGS = -m16 -Wb,--main-module,ole32.dll
C_SRCS = compobj.c
SOURCES = \
compobj.c
TESTDLL = comsvcs.dll
IMPORTS = uuid oleaut32 ole32
C_SRCS = \
SOURCES = \
comsvcs.c \
property.c
......@@ -2,7 +2,7 @@ EXTRADEFS = -D_CONCRT=
MODULE = concrt140.dll
PARENTSRC = ../msvcrt
C_SRCS = \
SOURCES = \
concrt140.c \
concurrency.c \
details.c \
......
TESTDLL = concrt140.dll
C_SRCS = \
SOURCES = \
concrt140.c
......@@ -2,5 +2,5 @@ MODULE = connect.dll
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = \
SOURCES = \
main.c
TESTDLL = credui.dll
IMPORTS = credui
C_SRCS = \
SOURCES = \
credui.c
......@@ -4,7 +4,7 @@ IMPORTS = $(MUSL_PE_LIBS) ntdll
DELAYIMPORTS = advapi32 user32
PARENTSRC = ../msvcrt
C_SRCS = \
SOURCES = \
console.c \
cpp.c \
ctype.c \
......
TESTDLL = crypt32.dll
IMPORTS = crypt32 advapi32 user32 shlwapi shell32 bcrypt
C_SRCS = \
SOURCES = \
base64.c \
cert.c \
chain.c \
......
......@@ -2,5 +2,5 @@ MODULE = cryptext.dll
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = \
SOURCES = \
cryptext_main.c
......@@ -3,5 +3,5 @@ IMPORTLIB = cryptnet
IMPORTS = crypt32 shell32 ole32 advapi32
DELAYIMPORTS = wininet
C_SRCS = \
SOURCES = \
cryptnet_main.c
TESTDLL = cryptnet.dll
IMPORTS = cryptnet crypt32
C_SRCS = \
SOURCES = \
cryptnet.c
TESTDLL = cryptowinrt.dll
IMPORTS = combase
C_SRCS = \
SOURCES = \
crypto.c
TESTDLL = cryptui.dll
IMPORTS = cryptui crypt32 user32
C_SRCS = \
SOURCES = \
cryptui.c
......@@ -2,6 +2,6 @@ MODULE = ctapi32.dll
UNIXLIB = ctapi32.so
IMPORTS = advapi32
C_SRCS = \
SOURCES = \
ctapi32.c \
unixlib.c
......@@ -2,4 +2,5 @@ MODULE = ctl3d.dll16
IMPORTS = user32
EXTRADLLFLAGS = -m16 -Wb,--main-module,ctl3d32.dll
C_SRCS = ctl3d.c
SOURCES = \
ctl3d.c
MODULE = ctl3d32.dll
IMPORTS = user32
C_SRCS = ctl3d32.c
SOURCES = \
ctl3d32.c
......@@ -2,4 +2,5 @@ MODULE = ctl3dv2.dll16
IMPORTS = user32
EXTRADLLFLAGS = -m16 -Wb,--main-module,ctl3d32.dll
C_SRCS = ctl3d.c
SOURCES = \
ctl3d.c
TESTDLL = d2d1.dll
IMPORTS = d2d1 d3d10_1 d3d11 dwrite dxguid uuid user32 advapi32 ole32 gdi32
C_SRCS = \
SOURCES = \
d2d1.c
......@@ -3,7 +3,7 @@ IMPORTS = d3d10
EXTRADEFS = -DD3D_COMPILER_VERSION=0
PARENTSRC = ../../d3dcompiler_43/tests
C_SRCS = \
SOURCES = \
device.c \
effect.c \
reflection.c
......@@ -3,6 +3,6 @@ IMPORTS = d3d10_1 user32
EXTRADEFS = -DD3D_COMPILER_VERSION=0
PARENTSRC = ../../d3dcompiler_43/tests
C_SRCS = \
SOURCES = \
d3d10_1.c \
reflection.c
TESTDLL = d3d10core.dll
IMPORTS = d3d10 dxgi user32
C_SRCS = \
SOURCES = \
d3d10core.c
TESTDLL = d3d11.dll
IMPORTS = d3d11 dxgi user32 gdi32
C_SRCS = \
SOURCES = \
d3d11.c
......@@ -3,5 +3,5 @@ IMPORTLIB = d3d12
IMPORTS = dxgi dxguid wined3d gdi32 user32 uuid win32u
EXTRAINCL = $(VKD3D_PE_CFLAGS)
C_SRCS = \
SOURCES = \
d3d12_main.c
TESTDLL = d3d12.dll
IMPORTS = d3d12 dxgi user32
C_SRCS = \
SOURCES = \
d3d12.c
TESTDLL = d3d8.dll
IMPORTS = d3d8 user32 gdi32
C_SRCS = \
SOURCES = \
device.c \
stateblock.c \
visual.c
TESTDLL = d3d9.dll
IMPORTS = d3d9 user32 gdi32
C_SRCS = \
SOURCES = \
d3d9ex.c \
device.c \
stateblock.c \
......
......@@ -2,7 +2,7 @@ TESTDLL = d3dcompiler_43.dll
IMPORTS = d3d9 user32 d3dcompiler_43
EXTRADEFS = -DD3D_COMPILER_VERSION=43
C_SRCS = \
SOURCES = \
asm.c \
blob.c \
hlsl_d3d11.c \
......
......@@ -3,7 +3,7 @@ IMPORTS = d3d9 user32 d3dcompiler_46
EXTRADEFS = -DD3D_COMPILER_VERSION=46
PARENTSRC = ../../d3dcompiler_43/tests
C_SRCS = \
SOURCES = \
asm.c \
blob.c \
hlsl_d3d11.c \
......
......@@ -3,7 +3,7 @@ IMPORTS = d3d9 user32 d3dcompiler
EXTRADEFS = -DD3D_COMPILER_VERSION=47
PARENTSRC = ../../d3dcompiler_43/tests
C_SRCS = \
SOURCES = \
asm.c \
blob.c \
hlsl_d3d11.c \
......
TESTDLL = d3drm.dll
IMPORTS = dxguid uuid d3drm ddraw user32
C_SRCS = \
SOURCES = \
d3drm.c \
vector.c
......@@ -3,5 +3,5 @@ TESTDLL = d3dx10_34.dll
IMPORTS = d3dx10_34 ole32 gdi32
PARENTSRC = ../../d3dx10_43/tests
C_SRCS = \
SOURCES = \
d3dx10.c
......@@ -3,5 +3,5 @@ TESTDLL = d3dx10_35.dll
IMPORTS = d3dx10_35 ole32 gdi32
PARENTSRC = ../../d3dx10_43/tests
C_SRCS = \
SOURCES = \
d3dx10.c
......@@ -3,5 +3,5 @@ TESTDLL = d3dx10_36.dll
IMPORTS = d3dx10_36 ole32 gdi32
PARENTSRC = ../../d3dx10_43/tests
C_SRCS = \
SOURCES = \
d3dx10.c
......@@ -3,5 +3,5 @@ TESTDLL = d3dx10_37.dll
IMPORTS = d3dx10_37 ole32 gdi32
PARENTSRC = ../../d3dx10_43/tests
C_SRCS = \
SOURCES = \
d3dx10.c
......@@ -3,5 +3,5 @@ TESTDLL = d3dx10_38.dll
IMPORTS = d3dx10_38 ole32 gdi32
PARENTSRC = ../../d3dx10_43/tests
C_SRCS = \
SOURCES = \
d3dx10.c
......@@ -3,5 +3,5 @@ TESTDLL = d3dx10_39.dll
IMPORTS = d3dx10_39 ole32 gdi32
PARENTSRC = ../../d3dx10_43/tests
C_SRCS = \
SOURCES = \
d3dx10.c
......@@ -3,5 +3,5 @@ TESTDLL = d3dx10_40.dll
IMPORTS = d3dx10_40 ole32 gdi32
PARENTSRC = ../../d3dx10_43/tests
C_SRCS = \
SOURCES = \
d3dx10.c
......@@ -3,5 +3,5 @@ TESTDLL = d3dx10_41.dll
IMPORTS = d3dx10_41 ole32 gdi32
PARENTSRC = ../../d3dx10_43/tests
C_SRCS = \
SOURCES = \
d3dx10.c
......@@ -3,5 +3,5 @@ TESTDLL = d3dx10_42.dll
IMPORTS = d3dx10_42 ole32 gdi32
PARENTSRC = ../../d3dx10_43/tests
C_SRCS = \
SOURCES = \
d3dx10.c
......@@ -2,5 +2,5 @@ EXTRADEFS = -DD3DX10_SDK_VERSION=43
TESTDLL = d3dx10_43.dll
IMPORTS = d3dx10 ole32 gdi32
C_SRCS = \
SOURCES = \
d3dx10.c
......@@ -2,5 +2,5 @@ TESTDLL = d3dx11_42.dll
IMPORTS = d3dx11_42
PARENTSRC = ../../d3dx11_43/tests
C_SRCS = \
SOURCES = \
d3dx11.c
TESTDLL = d3dx11_43.dll
IMPORTS = d3dx11
C_SRCS = \
SOURCES = \
d3dx11.c
TESTDLL = d3dxof.dll
IMPORTS = d3dxof
C_SRCS = \
SOURCES = \
d3dxof.c
......@@ -2,5 +2,5 @@ MODULE = davclnt.dll
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = \
SOURCES = \
main.c
......@@ -2,4 +2,5 @@ MODULE = dbgeng.dll
IMPORTLIB = dbgeng
DELAYIMPORTS = version
C_SRCS = dbgeng.c
SOURCES = \
dbgeng.c
TESTDLL = dbgeng.dll
IMPORTS = dbgeng
C_SRCS = \
SOURCES = \
dbgeng.c
TESTDLL = dbghelp.dll
IMPORTS = dbghelp user32
C_SRCS = \
SOURCES = \
dbghelp.c \
path.c
MODULE = dciman32.dll
IMPORTLIB = dciman32
C_SRCS = dciman_main.c
SOURCES = \
dciman_main.c
......@@ -2,4 +2,5 @@ MODULE = ddeml.dll16
IMPORTS = user32
EXTRADLLFLAGS = -m16
C_SRCS = ddeml.c
SOURCES = \
ddeml.c
TESTDLL = ddraw.dll
IMPORTS = ddraw user32 gdi32 ole32
C_SRCS = \
SOURCES = \
d3d.c \
ddraw1.c \
ddraw2.c \
......
TESTDLL = ddrawex.dll
IMPORTS = user32 gdi32
C_SRCS = \
SOURCES = \
ddrawex.c \
surface.c
TESTDLL = devenum.dll
IMPORTS = advapi32 dsound msdmo msvfw32 oleaut32 ole32 winmm
C_SRCS = \
SOURCES = \
devenum.c
......@@ -4,4 +4,5 @@ IMPORTLIB = dhcpcsvc
EXTRADLLFLAGS = -Wb,--prefer-native
C_SRCS = dhcpcsvc.c
SOURCES = \
dhcpcsvc.c
TESTDLL = dhcpcsvc.dll
IMPORTS = dhcpcsvc iphlpapi
C_SRCS = \
SOURCES = \
dhcpcsvc.c
MODULE = difxapi.dll
C_SRCS = \
SOURCES = \
main.c
TESTDLL = directmanipulation.dll
IMPORTS = uuid ole32
C_SRCS = \
SOURCES = \
manipulation.c
MODULE = dispdib.dll16
EXTRADLLFLAGS = -m16
C_SRCS = dispdib.c
SOURCES = \
dispdib.c
TESTDLL = dispex.dll
IMPORTS = oleaut32 ole32 rpcrt4 user32 gdi32 advapi32
C_SRCS = \
SOURCES = \
marshal.c
TESTDLL = dmband.dll
IMPORTS = oleaut32 ole32 uuid
C_SRCS = \
SOURCES = \
dmband.c
TESTDLL = dmcompos.dll
IMPORTS = ole32
C_SRCS = \
SOURCES = \
dmcompos.c
TESTDLL = dmloader.dll
IMPORTS = ole32
C_SRCS = \
SOURCES = \
loader.c
TESTDLL = dmscript.dll
IMPORTS = ole32
C_SRCS = \
SOURCES = \
dmscript.c
TESTDLL = dmstyle.dll
IMPORTS = ole32
C_SRCS = \
SOURCES = \
dmstyle.c
TESTDLL = dmsynth.dll
IMPORTS = oleaut32 ole32 uuid dsound user32
C_SRCS = \
SOURCES = \
dmsynth.c
TESTDLL = dmusic.dll
IMPORTS = oleaut32 ole32 uuid user32 dsound
C_SRCS = \
SOURCES = \
dmusic.c
TESTDLL = dnsapi.dll
IMPORTS = dnsapi ws2_32 iphlpapi
C_SRCS = \
SOURCES = \
cache.c \
name.c \
query.c \
......
TESTDLL = dplayx.dll
IMPORTS = ole32 oleaut32 version advapi32
C_SRCS = \
SOURCES = \
dplayx.c
TESTDLL = dpnet.dll
IMPORTS = dxguid uuid dpnet ole32 oleaut32 version advapi32
C_SRCS = \
SOURCES = \
address.c \
client.c \
server.c \
......
TESTDLL = dpvoice.dll
IMPORTS = uuid dpnet ole32 user32
C_SRCS = \
SOURCES = \
voice.c
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