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
7d2e7726
Commit
7d2e7726
authored
Jul 26, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Always build the static cross libraries if crosstest is supported.
parent
f195c1eb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
18 deletions
+12
-18
Maketest.rules.in
Maketest.rules.in
+1
-1
aclocal.m4
aclocal.m4
+1
-5
configure
configure
+6
-9
configure.ac
configure.ac
+3
-2
Makeimplib.rules.in
dlls/Makeimplib.rules.in
+1
-1
No files found.
Maketest.rules.in
View file @
7d2e7726
...
...
@@ -47,7 +47,7 @@ $(TESTRESULTS): $(MODULE)$(DLLEXT) ../$(TESTDLL)$(DLLEXT)
# Rules for cross-compiling tests
crosstest: @CROSSTEST
@
crosstest: @CROSSTEST
_DISABLE@ $(CROSSTEST)
$(CROSSTEST): $(CROSSOBJS) Makefile.in
$(CROSSWINEGCC) $(CROSSOBJS) -o $@ $(ALL_LIBS)
...
...
aclocal.m4
View file @
7d2e7726
...
...
@@ -208,12 +208,8 @@ wine_fn_config_lib ()
wine_fn_all_dir_rules $ac_dir "dlls/Makeimplib.rules \$(MAKEDEP)"
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"all __builddeps__: $ac_dir
__buildcrossdeps__: $ac_dir/lib$ac_name.cross.a
$ac_dir $ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include
$ac_dir: dummy
$ac_dir: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include dummy
@cd $ac_dir && \$(MAKE)
$ac_dir/lib$ac_name.cross.a: dummy
@cd $ac_dir && \$(MAKE) lib$ac_name.cross.a
install install-dev:: $ac_dir
@cd $ac_dir && \$(MAKE) install
uninstall:: $ac_dir/Makefile
...
...
configure
View file @
7d2e7726
...
...
@@ -646,8 +646,8 @@ X_CFLAGS
XMKMF
LIBPTHREAD
CROSSTARGET
CROSSTEST
CROSSCC
CROSSTEST_DISABLE
CARBONLIB
FRAMEWORK_OPENAL
COREAUDIO
...
...
@@ -6997,7 +6997,9 @@ If you are using Linux, you will need a newer binutils.
"
"
$LINENO
"
5
fi
if
test
"
$cross_compiling
"
=
"no"
-a
"
$LIBEXT
"
!=
"dll"
CROSSTEST_DISABLE
=
\#
if
test
"
$cross_compiling
"
=
"no"
-a
"x
$enable_tests
"
!=
xno
-a
"
$LIBEXT
"
!=
"dll"
then
case
"
$host_cpu
"
in
i[3456789]86
*
)
...
...
@@ -7052,8 +7054,7 @@ test -n "$CROSSCC" || CROSSCC="false"
if
test
"
$CROSSCC
"
!=
"false"
then
CROSSTEST
=
"
\$
(CROSSTEST)"
CROSSTEST_DISABLE
=
""
set
x
$CROSSCC
shift
target
=
""
...
...
@@ -14074,12 +14075,8 @@ wine_fn_config_lib ()
wine_fn_all_dir_rules
$ac_dir
"dlls/Makeimplib.rules
\$
(MAKEDEP)"
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"all __builddeps__:
$ac_dir
__buildcrossdeps__:
$ac_dir
/lib
$ac_name
.cross.a
$ac_dir
$ac_dir
/lib
$ac_name
.cross.a:
$ac_dir
/Makefile tools/widl tools/winebuild tools/winegcc include
$ac_dir
: dummy
$ac_dir
:
$ac_dir
/Makefile tools/widl tools/winebuild tools/winegcc include dummy
@cd
$ac_dir
&&
\$
(MAKE)
$ac_dir
/lib
$ac_name
.cross.a: dummy
@cd
$ac_dir
&&
\$
(MAKE) lib
$ac_name
.cross.a
install install-dev::
$ac_dir
@cd
$ac_dir
&&
\$
(MAKE) install
uninstall::
$ac_dir
/Makefile
...
...
configure.ac
View file @
7d2e7726
...
...
@@ -832,12 +832,13 @@ If you are using Linux, you will need a newer binutils.]
fi
dnl Check for cross compiler to build test programs
if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll"
AC_SUBST([CROSSTEST_DISABLE],[\#])
if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
then
WINE_CHECK_MINGW_PROG(CROSSCC,gcc,false)
if test "$CROSSCC" != "false"
then
AC_SUBST(CROSSTEST,"\$(CROSSTEST)")
CROSSTEST_DISABLE=""
set x $CROSSCC
shift
target=""
...
...
dlls/Makeimplib.rules.in
View file @
7d2e7726
...
...
@@ -12,7 +12,7 @@ INSTALLDIRS = $(DESTDIR)$(dlldir)
@MAKE_RULES@
all: $(MODULE:%=lib%.a)
all: $(MODULE:%=lib%.a)
@CROSSTEST_DISABLE@ $(MODULE:%=lib%.cross.a)
# Rules for .a library
...
...
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