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
4152f944
Commit
4152f944
authored
Nov 22, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Create source dir symlinks from the makefiles.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f2e0a145
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
26 deletions
+28
-26
aclocal.m4
aclocal.m4
+4
-6
configure
configure
+0
-16
configure.ac
configure.ac
+2
-4
makedep.c
tools/makedep.c
+22
-0
No files found.
aclocal.m4
View file @
4152f944
...
@@ -282,14 +282,12 @@ AC_DEFUN([WINE_APPEND_RULE],[AC_REQUIRE([WINE_CONFIG_HELPERS])wine_fn_append_rul
...
@@ -282,14 +282,12 @@ AC_DEFUN([WINE_APPEND_RULE],[AC_REQUIRE([WINE_CONFIG_HELPERS])wine_fn_append_rul
dnl **** Create symlinks from config.status ****
dnl **** Create symlinks from config.status ****
dnl
dnl
dnl Usage: WINE_CONFIG_SYMLINK(target,src,
files,enable,srcfi
le)
dnl Usage: WINE_CONFIG_SYMLINK(target,src,
enab
le)
dnl
dnl
AC_DEFUN([WINE_CONFIG_SYMLINK],[AC_REQUIRE([WINE_CONFIG_HELPERS])dnl
AC_DEFUN([WINE_CONFIG_SYMLINK],[AC_REQUIRE([WINE_CONFIG_HELPERS])dnl
m4_ifval([$4],[if test $4; then
m4_ifval([$3],[if test $3; then
])m4_foreach([f],[$3],
])AC_CONFIG_LINKS([$1:$2])dnl
[AC_CONFIG_LINKS(m4_ifval([$1],[$1/])f[:]m4_ifval([$2],[$2/])m4_ifval([$5],[$5],f))])dnl
wine_fn_config_symlink[ $1]m4_ifval([$3],[
m4_if([$1],[$2],[test "$srcdir" = "." || ])dnl
wine_fn_config_symlink[]m4_foreach([f],[$3],[ ]m4_ifval([$1],[$1/])f)m4_ifval([$4],[
fi])[]dnl
fi])[]dnl
])])
])])
...
...
configure
View file @
4152f944
...
@@ -19947,16 +19947,6 @@ Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
...
@@ -19947,16 +19947,6 @@ Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
depend:
\$
(MAKEDEP) dummy
depend:
\$
(MAKEDEP) dummy
\$
(MAKEDEP)"
\$
(MAKEDEP)"
if
test
"x
$enable_fonts
"
!=
xno
;
then
ac_config_links
=
"
$ac_config_links
fonts/marlett.ttf:fonts/marlett.ttf"
ac_config_links
=
"
$ac_config_links
fonts/symbol.ttf:fonts/symbol.ttf"
ac_config_links
=
"
$ac_config_links
fonts/tahoma.ttf:fonts/tahoma.ttf"
ac_config_links
=
"
$ac_config_links
fonts/tahomabd.ttf:fonts/tahomabd.ttf"
ac_config_links
=
"
$ac_config_links
fonts/wingding.ttf:fonts/wingding.ttf"
test
"
$srcdir
"
=
"."
||
wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
fi
ac_config_links
=
"
$ac_config_links
loader/l_intl.nls:loader/l_intl.nls"
test
"
$srcdir
"
=
"."
||
wine_fn_config_symlink loader/l_intl.nls
ac_config_links
=
"
$ac_config_links
wine:tools/winewrapper"
ac_config_links
=
"
$ac_config_links
wine:tools/winewrapper"
wine_fn_config_symlink wine
wine_fn_config_symlink wine
if
test
"x
$enable_win64
"
!=
xno
-o
-n
"
$with_wine64
"
;
then
if
test
"x
$enable_win64
"
!=
xno
-o
-n
"
$with_wine64
"
;
then
...
@@ -21973,12 +21963,6 @@ do
...
@@ -21973,12 +21963,6 @@ do
case
$ac_config_target
in
case
$ac_config_target
in
"include/config.h") CONFIG_HEADERS="
$CONFIG_HEADERS
include/config.h" ;;
"include/config.h") CONFIG_HEADERS="
$CONFIG_HEADERS
include/config.h" ;;
"include/stamp-h") CONFIG_COMMANDS="
$CONFIG_COMMANDS
include/stamp-h" ;;
"include/stamp-h") CONFIG_COMMANDS="
$CONFIG_COMMANDS
include/stamp-h" ;;
"fonts/marlett.ttf") CONFIG_LINKS="
$CONFIG_LINKS
fonts/marlett.ttf:fonts/marlett.ttf" ;;
"fonts/symbol.ttf") CONFIG_LINKS="
$CONFIG_LINKS
fonts/symbol.ttf:fonts/symbol.ttf" ;;
"fonts/tahoma.ttf") CONFIG_LINKS="
$CONFIG_LINKS
fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
"fonts/tahomabd.ttf") CONFIG_LINKS="
$CONFIG_LINKS
fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
"fonts/wingding.ttf") CONFIG_LINKS="
$CONFIG_LINKS
fonts/wingding.ttf:fonts/wingding.ttf" ;;
"loader/l_intl.nls") CONFIG_LINKS="
$CONFIG_LINKS
loader/l_intl.nls:loader/l_intl.nls" ;;
"wine") CONFIG_LINKS="
$CONFIG_LINKS
wine:tools/winewrapper" ;;
"wine") CONFIG_LINKS="
$CONFIG_LINKS
wine:tools/winewrapper" ;;
"wine64") CONFIG_LINKS="
$CONFIG_LINKS
wine64:tools/winewrapper" ;;
"wine64") CONFIG_LINKS="
$CONFIG_LINKS
wine64:tools/winewrapper" ;;
"tools/makedep") CONFIG_COMMANDS="
$CONFIG_COMMANDS
tools/makedep" ;;
"tools/makedep") CONFIG_COMMANDS="
$CONFIG_COMMANDS
tools/makedep" ;;
...
...
configure.ac
View file @
4152f944
...
@@ -2806,10 +2806,8 @@ Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
...
@@ -2806,10 +2806,8 @@ Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
depend: \$(MAKEDEP) dummy
depend: \$(MAKEDEP) dummy
\$(MAKEDEP)])
\$(MAKEDEP)])
WINE_CONFIG_SYMLINK(fonts,fonts,[marlett.ttf,symbol.ttf,tahoma.ttf,tahomabd.ttf,wingding.ttf],["x$enable_fonts" != xno])
WINE_CONFIG_SYMLINK(wine,tools/winewrapper)
WINE_CONFIG_SYMLINK(loader,loader,[l_intl.nls])
WINE_CONFIG_SYMLINK(wine64,tools/winewrapper,["x$enable_win64" != xno -o -n "$with_wine64"])
WINE_CONFIG_SYMLINK(,tools,[wine],,winewrapper)
WINE_CONFIG_SYMLINK(,tools,[wine64],["x$enable_win64" != xno -o -n "$with_wine64"],winewrapper)
WINE_CONFIG_MAKEFILE(dlls/acledit)
WINE_CONFIG_MAKEFILE(dlls/acledit)
WINE_CONFIG_MAKEFILE(dlls/aclui)
WINE_CONFIG_MAKEFILE(dlls/aclui)
...
...
tools/makedep.c
View file @
4152f944
...
@@ -2387,6 +2387,24 @@ static void output_symlink_rule( const char *src_name, const char *link_name )
...
@@ -2387,6 +2387,24 @@ static void output_symlink_rule( const char *src_name, const char *link_name )
/*******************************************************************
/*******************************************************************
* output_srcdir_symlink
*
* Output rule to create a symlink back to the source directory, for source files
* that are needed at run-time.
*/
static
void
output_srcdir_symlink
(
struct
makefile
*
make
,
const
char
*
obj
)
{
char
*
src_file
;
if
(
!
make
->
src_dir
)
return
;
src_file
=
src_dir_path
(
make
,
obj
);
output
(
"%s: %s
\n
"
,
obj
,
src_file
);
output_symlink_rule
(
src_file
,
obj
);
strarray_add
(
&
make
->
all_targets
,
obj
);
}
/*******************************************************************
* output_install_commands
* output_install_commands
*/
*/
static
void
output_install_commands
(
struct
makefile
*
make
,
const
struct
makefile
*
submake
,
static
void
output_install_commands
(
struct
makefile
*
make
,
const
struct
makefile
*
submake
,
...
@@ -2862,7 +2880,10 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source,
...
@@ -2862,7 +2880,10 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source,
if
(
!
(
source
->
file
->
flags
&
FLAG_SFD_FONTS
))
output
(
"all: %s
\n
"
,
ttf_file
);
if
(
!
(
source
->
file
->
flags
&
FLAG_SFD_FONTS
))
output
(
"all: %s
\n
"
,
ttf_file
);
}
}
if
(
source
->
file
->
flags
&
FLAG_INSTALL
)
if
(
source
->
file
->
flags
&
FLAG_INSTALL
)
{
add_install_rule
(
make
,
source
->
name
,
ttf_obj
,
strmake
(
"D$(fontdir)/%s"
,
ttf_obj
));
add_install_rule
(
make
,
source
->
name
,
ttf_obj
,
strmake
(
"D$(fontdir)/%s"
,
ttf_obj
));
output_srcdir_symlink
(
make
,
ttf_obj
);
}
if
(
source
->
file
->
flags
&
FLAG_SFD_FONTS
)
if
(
source
->
file
->
flags
&
FLAG_SFD_FONTS
)
{
{
...
@@ -2913,6 +2934,7 @@ static void output_source_nls( struct makefile *make, struct incl_file *source,
...
@@ -2913,6 +2934,7 @@ static void output_source_nls( struct makefile *make, struct incl_file *source,
{
{
add_install_rule
(
make
,
source
->
name
,
source
->
name
,
add_install_rule
(
make
,
source
->
name
,
source
->
name
,
strmake
(
"D$(datadir)/wine/%s"
,
source
->
name
));
strmake
(
"D$(datadir)/wine/%s"
,
source
->
name
));
output_srcdir_symlink
(
make
,
strmake
(
"%s.nls"
,
obj
));
}
}
...
...
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