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
ad16c4c0
Commit
ad16c4c0
authored
Jan 09, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make_makefiles: Add support for Objective-C sources.
parent
8da2cb16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
make_makefiles
tools/make_makefiles
+3
-1
No files found.
tools/make_makefiles
View file @
ad16c4c0
...
@@ -318,7 +318,7 @@ sub parse_makefile($)
...
@@ -318,7 +318,7 @@ sub parse_makefile($)
push
@
{
$make
{
"=flags"
}},
"manpage"
if
$var
eq
"MANPAGE"
;
push
@
{
$make
{
"=flags"
}},
"manpage"
if
$var
eq
"MANPAGE"
;
next
;
next
;
}
}
if
(
/^\s*(BISON_SRCS|LEX_SRCS|IDL_[CHIPRS]_SRCS|IDL_TLB_SRCS|IMPLIB_SRCS|C_SRCS|MC_SRCS|RC_SRCS|PO_SRCS|SVG_SRCS|PROGRAMS)\s*=\s*(.*)/
)
if
(
/^\s*(BISON_SRCS|LEX_SRCS|IDL_[CHIPRS]_SRCS|IDL_TLB_SRCS|IMPLIB_SRCS|C_SRCS|
OBJC_SRCS|
MC_SRCS|RC_SRCS|PO_SRCS|SVG_SRCS|PROGRAMS)\s*=\s*(.*)/
)
{
{
my
$var
=
$1
;
my
$var
=
$1
;
my
@list
=
split
(
/\s+/
,
$2
);
my
@list
=
split
(
/\s+/
,
$2
);
...
@@ -389,6 +389,7 @@ sub assign_sources_to_makefiles(@)
...
@@ -389,6 +389,7 @@ sub assign_sources_to_makefiles(@)
else
else
{
{
if
(
$name
=~
/\.c$/
)
{
push
@
{
$
{
$make
}{
"=C_SRCS"
}},
$name
;
}
if
(
$name
=~
/\.c$/
)
{
push
@
{
$
{
$make
}{
"=C_SRCS"
}},
$name
;
}
elsif
(
$name
=~
/\.m$/
)
{
push
@
{
$
{
$make
}{
"=OBJC_SRCS"
}},
$name
;
}
elsif
(
$name
=~
/\.l$/
)
{
push
@
{
$
{
$make
}{
"=LEX_SRCS"
}},
$name
;
}
elsif
(
$name
=~
/\.l$/
)
{
push
@
{
$
{
$make
}{
"=LEX_SRCS"
}},
$name
;
}
elsif
(
$name
=~
/\.y$/
)
{
push
@
{
$
{
$make
}{
"=BISON_SRCS"
}},
$name
;
}
elsif
(
$name
=~
/\.y$/
)
{
push
@
{
$
{
$make
}{
"=BISON_SRCS"
}},
$name
;
}
elsif
(
$name
=~
/\.rc$/
)
{
push
@
{
$
{
$make
}{
"=RC_SRCS"
}},
$name
;
}
elsif
(
$name
=~
/\.rc$/
)
{
push
@
{
$
{
$make
}{
"=RC_SRCS"
}},
$name
;
}
...
@@ -501,6 +502,7 @@ sub update_makefiles(@)
...
@@ -501,6 +502,7 @@ sub update_makefiles(@)
replace_makefile_variable
(
$file
,
"MC_SRCS"
);
replace_makefile_variable
(
$file
,
"MC_SRCS"
);
replace_makefile_variable
(
$file
,
"SVG_SRCS"
);
replace_makefile_variable
(
$file
,
"SVG_SRCS"
);
replace_makefile_variable
(
$file
,
"C_SRCS"
);
replace_makefile_variable
(
$file
,
"C_SRCS"
);
replace_makefile_variable
(
$file
,
"OBJC_SRCS"
);
replace_makefile_variable
(
$file
,
"RC_SRCS"
);
replace_makefile_variable
(
$file
,
"RC_SRCS"
);
replace_makefile_variable
(
$file
,
"PRIVATE_IDL_H_SRCS"
);
replace_makefile_variable
(
$file
,
"PRIVATE_IDL_H_SRCS"
);
replace_makefile_variable
(
$file
,
"PUBLIC_IDL_H_SRCS"
);
replace_makefile_variable
(
$file
,
"PUBLIC_IDL_H_SRCS"
);
...
...
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