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

This commit is contained in:
Alexandre Julliard 2023-10-12 11:02:17 +02:00
parent c047bb6ea3
commit b6e502610a
3 changed files with 7 additions and 13 deletions

View file

@ -3,18 +3,13 @@ UNIXLIB = wineandroid.so
IMPORTS = ntoskrnl
UNIX_LIBS = -lwin32u $(PTHREAD_LIBS)
C_SRCS = \
SOURCES = \
build.gradle.in \
device.c \
dllmain.c \
init.c \
keyboard.c \
opengl.c \
window.c
IN_SRCS = \
build.gradle.in
SVG_SRCS = \
window.c \
wine.svg
EXTRA_TARGETS = wine-debug.apk

View file

@ -1,8 +1,6 @@
PROGRAMS = \
make_xftmpl
C_SRCS = \
make_xftmpl.c
IN_SRCS = \
SOURCES = \
make_xftmpl.c \
wineapploader.in

View file

@ -369,7 +369,8 @@ sub assign_sources_to_makefiles(@)
}
elsif ($name =~ /\.in$/)
{
push @{${$make}{"=IN_SRCS"}}, $name;
push @{${$make}{"=SOURCES"}}, $name;
next;
}
elsif ($name =~ /\.spec$/)
{