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
faa7eae8
Commit
faa7eae8
authored
Jul 26, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Always build the cross import libraries if crosstest is supported.
parent
7d2e7726
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
84 additions
and
32 deletions
+84
-32
Makefile.in
Makefile.in
+2
-2
aclocal.m4
aclocal.m4
+41
-15
configure
configure
+40
-14
Makedll.rules.in
dlls/Makedll.rules.in
+1
-1
No files found.
Makefile.in
View file @
faa7eae8
...
...
@@ -67,8 +67,8 @@ distclean:: clean
# dependencies needed to build any dll or program
__tooldeps__
:
libs/port libs/wine libs/wpp
__builddeps__
__buildcrossdeps__
:
__tooldeps__ include
.PHONY
:
test crosstest __tooldeps__ __builddeps__
__buildcrossdeps__
__builddeps__
:
__tooldeps__ include
.PHONY
:
test crosstest __tooldeps__ __builddeps__
loader server
:
libs/port libs/wine tools
fonts
:
tools
...
...
aclocal.m4
View file @
faa7eae8
...
...
@@ -246,35 +246,52 @@ uninstall manpages htmlpages sgmlpages xmlpages:: dlls/$ac_dir/Makefile
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
__buildcrossdeps__: $ac_file.cross.a
$ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
$ac_file.def: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile
@cd dlls/$ac_dir && \$(MAKE)
\`basename \$[@]\`
$ac_file.$STATIC_IMPLIBEXT
$ac_file.cross.a
: dlls/$ac_dir/Makefile dummy
@cd dlls/$ac_dir && \$(MAKE)
\`basename \$[@]\`
@cd dlls/$ac_dir && \$(MAKE)
lib$ac_implib.def
$ac_file.$STATIC_IMPLIBEXT: dlls/$ac_dir/Makefile dummy
@cd dlls/$ac_dir && \$(MAKE)
lib$ac_implib.$STATIC_IMPLIBEXT
install-dev:: dlls/$ac_dir/Makefile __builddeps__
@cd dlls/$ac_dir && \$(MAKE) install-dev"
if test "x$CROSSTEST_DISABLE" = x
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: $ac_file.cross.a
$ac_file.cross.a: dlls/$ac_dir/Makefile dummy
@cd dlls/$ac_dir && \$(MAKE) lib$ac_implib.cross.a"
fi
elif test -n "$ac_implib"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: $ac_file.$IMPLIBEXT
__buildcrossdeps__: $ac_file.cross.a
$ac_file.$IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
@cd dlls/$ac_dir && \$(MAKE) \`basename \$[@]\`
$ac_file.$IMPLIBEXT: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
@cd dlls/$ac_dir && \$(MAKE) lib$ac_implib.$IMPLIBEXT
install-dev:: dlls/$ac_dir/Makefile __builddeps__
@cd dlls/$ac_dir && \$(MAKE) install-dev"
if test "x$CROSSTEST_DISABLE" = x
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: $ac_file.cross.a
$ac_file.cross.a: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
@cd dlls/$ac_dir && \$(MAKE) lib$ac_implib.cross.a"
fi
if test "$ac_dir" != "$ac_implib"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
__buildcrossdeps__: dlls/lib$ac_implib.cross.a
dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
\$(RM) \$[@] && \$(LN_S) $ac_dir/lib$ac_implib.$IMPLIBEXT \$[@]
dlls/lib$ac_implib.cross.a: $ac_file.cross.a
\$(RM) \$[@] && \$(LN_S) $ac_dir/lib$ac_implib.cross.a \$[@]
clean::
\$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
if test "x$CROSSTEST_DISABLE" = x
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: dlls/lib$ac_implib.cross.a
dlls/lib$ac_implib.cross.a: $ac_file.cross.a
\$(RM) \$[@] && \$(LN_S) $ac_dir/lib$ac_implib.cross.a \$[@]"
fi
fi
fi
}
...
...
@@ -326,16 +343,25 @@ $ac_name.res: $ac_name.rc $ac_name.exe"
.PHONY: $ac_dir
$ac_dir: $ac_dir/Makefile __builddeps__ dummy
@cd $ac_dir && \$(MAKE)
crosstest: $ac_dir/__crosstest__
.PHONY: $ac_dir/__crosstest__
$ac_dir/__crosstest__: $ac_dir/Makefile __buildcrossdeps__ dummy
@cd $ac_dir && \$(MAKE) crosstest
test: $ac_dir/__test__
.PHONY: $ac_dir/__test__
$ac_dir/__test__: dummy
@cd $ac_dir && \$(MAKE) test
testclean::
\$(RM) $ac_dir/*.ok"])
\$(RM) $ac_dir/*.ok"
if test "x$CROSSTEST_DISABLE" = x
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"crosstest: $ac_dir/__crosstest__
.PHONY: $ac_dir/__crosstest__
$ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
@cd $ac_dir && \$(MAKE) crosstest"
else
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"crosstest:
@echo \"crosstest is not supported (mingw not installed?)\" && false"
fi])
}
wine_fn_config_tool ()
...
...
configure
View file @
faa7eae8
...
...
@@ -14115,35 +14115,52 @@ fi
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"__builddeps__:
$ac_file
.
$IMPLIBEXT
$ac_file
.
$STATIC_IMPLIBEXT
__buildcrossdeps__:
$ac_file
.cross.a
$ac_file
.
$IMPLIBEXT
$ac_file
.
$STATIC_IMPLIBEXT
$ac_file
.cross.a:
$ac_deps
$ac_file
.def: dlls/
$ac_dir
/
$ac_dir
.spec dlls/
$ac_dir
/Makefile
@cd dlls/
$ac_dir
&&
\$
(MAKE)
\`
basename
\$
@
\`
$ac_file
.
$STATIC_IMPLIBEXT
$ac_file
.cross.a
: dlls/
$ac_dir
/Makefile dummy
@cd dlls/
$ac_dir
&&
\$
(MAKE)
\`
basename
\$
@
\`
@cd dlls/
$ac_dir
&&
\$
(MAKE)
lib
$ac_implib
.def
$ac_file
.
$STATIC_IMPLIBEXT
: dlls/
$ac_dir
/Makefile dummy
@cd dlls/
$ac_dir
&&
\$
(MAKE)
lib
$ac_implib
.
$STATIC_IMPLIBEXT
install-dev:: dlls/
$ac_dir
/Makefile __builddeps__
@cd dlls/
$ac_dir
&&
\$
(MAKE) install-dev"
if
test
"x
$CROSSTEST_DISABLE
"
=
x
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"__builddeps__:
$ac_file
.cross.a
$ac_file
.cross.a: dlls/
$ac_dir
/Makefile dummy
@cd dlls/
$ac_dir
&&
\$
(MAKE) lib
$ac_implib
.cross.a"
fi
elif
test
-n
"
$ac_implib
"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"__builddeps__:
$ac_file
.
$IMPLIBEXT
__buildcrossdeps__:
$ac_file
.cross.a
$ac_file
.
$IMPLIBEXT
$ac_file
.cross.a: dlls/
$ac_dir
/
$ac_dir
.spec dlls/
$ac_dir
/Makefile
$ac_deps
@cd dlls/
$ac_dir
&&
\$
(MAKE)
\`
basename
\$
@
\`
$ac_file
.
$IMPLIBEXT
: dlls/
$ac_dir
/
$ac_dir
.spec dlls/
$ac_dir
/Makefile
$ac_deps
@cd dlls/
$ac_dir
&&
\$
(MAKE) lib
$ac_implib
.
$IMPLIBEXT
install-dev:: dlls/
$ac_dir
/Makefile __builddeps__
@cd dlls/
$ac_dir
&&
\$
(MAKE) install-dev"
if
test
"x
$CROSSTEST_DISABLE
"
=
x
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"__builddeps__:
$ac_file
.cross.a
$ac_file
.cross.a: dlls/
$ac_dir
/
$ac_dir
.spec dlls/
$ac_dir
/Makefile
$ac_deps
@cd dlls/
$ac_dir
&&
\$
(MAKE) lib
$ac_implib
.cross.a"
fi
if
test
"
$ac_dir
"
!=
"
$ac_implib
"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"__builddeps__: dlls/lib
$ac_implib
.
$IMPLIBEXT
__buildcrossdeps__: dlls/lib
$ac_implib
.cross.a
dlls/lib
$ac_implib
.
$IMPLIBEXT
:
$ac_file
.
$IMPLIBEXT
\$
(RM)
\$
@ &&
\$
(LN_S)
$ac_dir
/lib
$ac_implib
.
$IMPLIBEXT
\$
@
dlls/lib
$ac_implib
.cross.a:
$ac_file
.cross.a
\$
(RM)
\$
@ &&
\$
(LN_S)
$ac_dir
/lib
$ac_implib
.cross.a
\$
@
clean::
\$
(RM) dlls/lib
$ac_implib
.
$IMPLIBEXT
"
if
test
"x
$CROSSTEST_DISABLE
"
=
x
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"__builddeps__: dlls/lib
$ac_implib
.cross.a
dlls/lib
$ac_implib
.cross.a:
$ac_file
.cross.a
\$
(RM)
\$
@ &&
\$
(LN_S)
$ac_dir
/lib
$ac_implib
.cross.a
\$
@"
fi
fi
fi
}
...
...
@@ -14203,16 +14220,25 @@ else
.PHONY:
$ac_dir
$ac_dir
:
$ac_dir
/Makefile __builddeps__ dummy
@cd
$ac_dir
&&
\$
(MAKE)
crosstest:
$ac_dir
/__crosstest__
.PHONY:
$ac_dir
/__crosstest__
$ac_dir
/__crosstest__:
$ac_dir
/Makefile __buildcrossdeps__ dummy
@cd
$ac_dir
&&
\$
(MAKE) crosstest
test:
$ac_dir
/__test__
.PHONY:
$ac_dir
/__test__
$ac_dir
/__test__: dummy
@cd
$ac_dir
&&
\$
(MAKE) test
testclean::
\$
(RM)
$ac_dir
/*.ok"
if
test
"x
$CROSSTEST_DISABLE
"
=
x
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"crosstest:
$ac_dir
/__crosstest__
.PHONY:
$ac_dir
/__crosstest__
$ac_dir
/__crosstest__:
$ac_dir
/Makefile __builddeps__ dummy
@cd
$ac_dir
&&
\$
(MAKE) crosstest"
else
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"crosstest:
@echo
\"
crosstest is not supported (mingw not installed?)
\"
&& false"
fi
fi
}
...
...
dlls/Makedll.rules.in
View file @
faa7eae8
...
...
@@ -31,7 +31,7 @@ IMPLIB_CROSSOBJS = $(IMPLIB_OBJS:.o=.cross.o)
.PHONY: $(IMPLIB_SRCS:%=__static_implib__%)
all: $(IMPORTLIBFILE) $(IMPLIB_SRCS:%=__static_implib__%)
all: $(IMPORTLIBFILE) $(IMPLIB_SRCS:%=__static_implib__%)
@CROSSTEST_DISABLE@ $(IMPORTLIB:%=lib%.cross.a)
$(IMPLIB_SRCS:%=__static_implib__%): $(STATICIMPLIB)
...
...
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