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
ca2cb601
Commit
ca2cb601
authored
Nov 13, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Remove support for running subdirectory makefiles through config.status.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fc573941
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
38 deletions
+7
-38
aclocal.m4
aclocal.m4
+1
-12
configure
configure
+1
-12
make_makefiles
tools/make_makefiles
+1
-1
makedep.c
tools/makedep.c
+4
-13
No files found.
aclocal.m4
View file @
ca2cb601
...
...
@@ -225,24 +225,13 @@ wine_fn_has_flag ()
wine_fn_depend_rules ()
{
if wine_fn_has_flag config
then
wine_fn_append_rule \
"$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in Makefile config.status \$(MAKEDEP)
@./config.status --file $ac_dir/Makefile && \$(MAKEDEP) -iMakefile $ac_dir
depend: $ac_dir/depend
.PHONY: $ac_dir/depend
$ac_dir/depend: \$(MAKEDEP) dummy
@./config.status --file $ac_dir/Makefile && \$(MAKEDEP) -iMakefile $ac_dir"
else
wine_fn_append_rule \
wine_fn_append_rule \
"$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in Makefile \$(MAKEDEP)
\$(MAKEDEP) $ac_dir
depend: $ac_dir/depend
.PHONY: $ac_dir/depend
$ac_dir/depend: \$(MAKEDEP) dummy
\$(MAKEDEP) $ac_dir"
fi
}
wine_fn_pot_rules ()
...
...
configure
View file @
ca2cb601
...
...
@@ -7415,24 +7415,13 @@ wine_fn_has_flag ()
wine_fn_depend_rules
()
{
if
wine_fn_has_flag config
then
wine_fn_append_rule
\
"
$ac_dir
/Makefile:
$srcdir
/
$ac_dir
/Makefile.in Makefile config.status
\$
(MAKEDEP)
@./config.status --file
$ac_dir
/Makefile &&
\$
(MAKEDEP) -iMakefile
$ac_dir
depend:
$ac_dir
/depend
.PHONY:
$ac_dir
/depend
$ac_dir
/depend:
\$
(MAKEDEP) dummy
@./config.status --file
$ac_dir
/Makefile &&
\$
(MAKEDEP) -iMakefile
$ac_dir
"
else
wine_fn_append_rule
\
wine_fn_append_rule
\
"
$ac_dir
/Makefile:
$srcdir
/
$ac_dir
/Makefile.in Makefile
\$
(MAKEDEP)
\$
(MAKEDEP)
$ac_dir
depend:
$ac_dir
/depend
.PHONY:
$ac_dir
/depend
$ac_dir
/depend:
\$
(MAKEDEP) dummy
\$
(MAKEDEP)
$ac_dir
"
fi
}
wine_fn_pot_rules
()
...
...
tools/make_makefiles
View file @
ca2cb601
...
...
@@ -202,7 +202,7 @@ sub parse_makefile($)
if
(
/\@[A-Z_]+\@/
)
# config.status substitution variable
{
$
{
$make
{
"=flags"
}}{
"config"
}
=
1
;
die
"Configure substitution is not allowed in $file"
;
}
if
(
/^\s*(MODULE|IMPORTLIB|TESTDLL|PARENTSRC|APPMODE)\s*=\s*(.*)/
)
{
...
...
tools/makedep.c
View file @
ca2cb601
...
...
@@ -180,7 +180,6 @@ struct makefile
static
struct
makefile
*
top_makefile
;
static
const
char
*
output_makefile_name
=
"Makefile"
;
static
const
char
*
input_makefile_name
;
static
const
char
*
input_file_name
;
static
const
char
*
output_file_name
;
static
const
char
*
temp_file_name
;
...
...
@@ -193,8 +192,7 @@ static const char Usage[] =
"Usage: makedep [options] directories
\n
"
"Options:
\n
"
" -R from to Compute the relative path between two directories
\n
"
" -fxxx Store output in file 'xxx' (default: Makefile)
\n
"
" -ixxx Read input from file 'xxx' (default: Makefile.in)
\n
"
;
" -fxxx Store output in file 'xxx' (default: Makefile)
\n
"
;
#ifndef __GNUC__
...
...
@@ -1558,11 +1556,9 @@ static FILE *open_input_makefile( const struct makefile *make )
FILE
*
ret
;
if
(
make
->
base_dir
)
{
input_file_name
=
base_dir_path
(
make
,
input_makefile_name
);
if
(
strendswith
(
input_makefile_name
,
".in"
))
input_file_name
=
root_dir_path
(
input_file_name
);
}
else
input_file_name
=
output_makefile_name
;
/* always use output name for main Makefile */
input_file_name
=
root_dir_path
(
base_dir_path
(
make
,
strmake
(
"%s.in"
,
output_makefile_name
)));
else
input_file_name
=
output_makefile_name
;
/* always use output name for main Makefile */
input_line
=
0
;
if
(
!
(
ret
=
fopen
(
input_file_name
,
"r"
)))
fatal_perror
(
"open"
);
...
...
@@ -3208,9 +3204,6 @@ static int parse_option( const char *opt )
case
'f'
:
if
(
opt
[
2
])
output_makefile_name
=
opt
+
2
;
break
;
case
'i'
:
if
(
opt
[
2
])
input_makefile_name
=
opt
+
2
;
break
;
case
'R'
:
relative_dir_mode
=
1
;
break
;
...
...
@@ -3271,8 +3264,6 @@ int main( int argc, char *argv[] )
for
(
i
=
0
;
i
<
HASH_SIZE
;
i
++
)
list_init
(
&
files
[
i
]
);
if
(
!
input_makefile_name
)
input_makefile_name
=
strmake
(
"%s.in"
,
output_makefile_name
);
top_makefile
=
parse_makefile
(
NULL
,
"# End of common header"
);
linguas
=
get_expanded_make_var_array
(
top_makefile
,
"LINGUAS"
);
...
...
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