Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
92fe7c9c
Commit
92fe7c9c
authored
Oct 12, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Always use the global SOURCES variable for .m files.
parent
bf8cb196
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
17 deletions
+13
-17
Makefile.in
dlls/winemac.drv/Makefile.in
+12
-15
make_makefiles
tools/make_makefiles
+1
-2
No files found.
dlls/winemac.drv/Makefile.in
View file @
92fe7c9c
...
...
@@ -14,8 +14,17 @@ UNIX_LIBS = \
-framework
Security
\
$(METAL_LIBS)
C_SRC
S
=
\
SOURCE
S
=
\
clipboard.c
\
cocoa_app.m
\
cocoa_clipboard.m
\
cocoa_cursorclipping.m
\
cocoa_display.m
\
cocoa_event.m
\
cocoa_main.m
\
cocoa_opengl.m
\
cocoa_status_item.m
\
cocoa_window.m
\
display.c
\
dllmain.c
\
dragdrop.c
\
...
...
@@ -29,17 +38,5 @@ C_SRCS = \
surface.c
\
systray.c
\
vulkan.c
\
window.c
OBJC_SRCS
=
\
cocoa_app.m
\
cocoa_clipboard.m
\
cocoa_cursorclipping.m
\
cocoa_display.m
\
cocoa_event.m
\
cocoa_main.m
\
cocoa_opengl.m
\
cocoa_status_item.m
\
cocoa_window.m
RC_SRCS
=
winemac.rc
window.c
\
winemac.rc
tools/make_makefiles
View file @
92fe7c9c
...
...
@@ -338,12 +338,11 @@ sub assign_sources_to_makefiles(@)
my
$make
=
$makefiles
{
"$dir/Makefile.in"
};
my
$name
=
substr
(
$file
,
length
(
$dir
)
+
1
);
if
(
$name
=~
/\.(mc|po)$/
)
if
(
$name
=~
/\.(m
|m
c|po)$/
)
{
push
@
{
$
{
$make
}{
"=SOURCES"
}},
$name
;
next
;
}
elsif
(
$name
=~
/\.m$/
)
{
push
@
{
$
{
$make
}{
"=OBJC_SRCS"
}},
$name
;
}
elsif
(
$name
=~
/\.l$/
)
{
push
@
{
$
{
$make
}{
"=LEX_SRCS"
}},
$name
;
}
elsif
(
$name
=~
/\.y$/
)
{
push
@
{
$
{
$make
}{
"=BISON_SRCS"
}},
$name
;
}
elsif
(
$name
=~
/\.svg$/
)
{
push
@
{
$
{
$make
}{
"=SVG_SRCS"
}},
$name
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment