Skip to content

Commit c047bb6

Browse files
committed
makefiles: Always use the global SOURCES variable for .sfd files.
1 parent 92fe7c9 commit c047bb6

File tree

5 files changed

+11
-24
lines changed

5 files changed

+11
-24
lines changed

dlls/dwrite/tests/Makefile.in

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
TESTDLL = dwrite.dll
22
IMPORTS = dwrite gdi32 user32
33

4-
C_SRCS = \
4+
SOURCES = \
55
analyzer.c \
66
font.c \
7-
layout.c
8-
9-
FONT_SRCS = \
7+
layout.c \
8+
resource.rc \
109
wine_test.sfd
11-
12-
RC_SRCS = resource.rc

dlls/gdi32/tests/Makefile.in

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
TESTDLL = gdi32.dll
22
IMPORTS = setupapi user32 gdi32 advapi32
33

4-
C_SRCS = \
4+
SOURCES = \
55
bitmap.c \
66
brush.c \
77
clipping.c \
@@ -16,9 +16,8 @@ C_SRCS = \
1616
metafile.c \
1717
palette.c \
1818
path.c \
19-
pen.c
20-
21-
FONT_SRCS = \
19+
pen.c \
20+
resource.rc \
2221
vertical.sfd \
2322
wine_langnames.sfd \
2423
wine_langnames2.sfd \
@@ -29,5 +28,3 @@ FONT_SRCS = \
2928
wine_ttfnames.sfd \
3029
wine_ttfnames_bold.sfd \
3130
wine_vdmx.sfd
32-
33-
RC_SRCS = resource.rc

dlls/gdiplus/tests/Makefile.in

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
TESTDLL = gdiplus.dll
22
IMPORTS = gdiplus ole32 user32 gdi32
33

4-
C_SRCS = \
4+
SOURCES = \
55
brush.c \
66
customlinecap.c \
77
font.c \
@@ -13,10 +13,7 @@ C_SRCS = \
1313
pathiterator.c \
1414
pen.c \
1515
region.c \
16-
stringformat.c
17-
18-
RC_SRCS = resource.rc
19-
20-
FONT_SRCS = \
16+
resource.rc \
17+
stringformat.c \
2118
wine_longname.sfd \
2219
wine_testfont0.sfd

fonts/Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FONT_SRCS = \
1+
SOURCES = \
22
courier.sfd \
33
fixedsys.sfd \
44
fixedsys_jp.sfd \

tools/make_makefiles

+1-5
Original file line numberDiff line numberDiff line change
@@ -338,18 +338,14 @@ sub assign_sources_to_makefiles(@)
338338
my $make = $makefiles{"$dir/Makefile.in"};
339339
my $name = substr( $file, length($dir) + 1 );
340340

341-
if ($name =~ /\.(m|mc|po)$/)
341+
if ($name =~ /\.(m|mc|po|sfd)$/)
342342
{
343343
push @{${$make}{"=SOURCES"}}, $name;
344344
next;
345345
}
346346
elsif ($name =~ /\.l$/) { push @{${$make}{"=LEX_SRCS"}}, $name; }
347347
elsif ($name =~ /\.y$/) { push @{${$make}{"=BISON_SRCS"}}, $name; }
348348
elsif ($name =~ /\.svg$/) { push @{${$make}{"=SVG_SRCS"}}, $name; }
349-
elsif ($name =~ /\.sfd$/)
350-
{
351-
push @{${$make}{"=FONT_SRCS"}}, $name;
352-
}
353349
elsif ($name =~ /\.c$/)
354350
{
355351
push @{${$make}{"=C_SRCS"}}, $name;

0 commit comments

Comments
 (0)