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
44cff7e9
Commit
44cff7e9
authored
Mar 25, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Output all the test rules explicitly for each module.
parent
e55ff7fe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
32 deletions
+23
-32
Makefile.in
Makefile.in
+1
-20
aclocal.m4
aclocal.m4
+11
-5
configure
configure
+11
-7
No files found.
Makefile.in
View file @
44cff7e9
...
...
@@ -32,7 +32,6 @@ ALL_DLL_DIRS = @ALL_DLL_DIRS@
ALL_INSTALL_DIRS
=
@ALL_INSTALL_DIRS@
ALL_PROGRAM_DIRS
=
@ALL_PROGRAM_DIRS@
ALL_STATICLIB_DIRS
=
@ALL_STATICLIB_DIRS@
ALL_TEST_DIRS
=
@ALL_TEST_DIRS@
ALL_TOOL_DIRS
=
@ALL_TOOL_DIRS@
ALL_TOP_DIRS
=
@ALL_TOP_DIRS@
...
...
@@ -43,8 +42,7 @@ BUILDSUBDIRS = \
$(ALL_TOP_DIRS)
\
$(ALL_STATICLIB_DIRS)
\
$(ALL_DLL_DIRS)
\
$(ALL_PROGRAM_DIRS)
\
$(ALL_TEST_DIRS)
$(ALL_PROGRAM_DIRS)
# Sub-directories to run make install/uninstall into
INSTALLSUBDIRS
=
\
...
...
@@ -140,22 +138,6 @@ uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__) dummy
uninstall
::
-
rmdir
$(DESTDIR)$(datadir)
/wine
$(DESTDIR)$(fakedlldir)
$(DESTDIR)$(dlldir)
# Rules for testing
$(ALL_TEST_DIRS
:
%=%/__test__): dummy
@
cd
`
dirname
$@
`
&&
$(MAKE)
test
$(ALL_TEST_DIRS
:
%=%/__crosstest__): dummy
@
cd
`
dirname
$@
`
&&
$(MAKE)
crosstest
check test
::
$(ALL_TEST_DIRS:%=%/__test__)
crosstest
::
$(ALL_TEST_DIRS:%=%/__crosstest__)
testclean
::
$(RM)
$
(
ALL_TEST_DIRS:%
=
%/
*
.ok
)
.PHONY
:
check test testclean crosstest $(ALL_TEST_DIRS:%=%/__test__) $(ALL_TEST_DIRS:%=%/__crosstest__)
# Rules for auto documentation
DOCSUBDIRS
=
$(ALL_DLL_DIRS)
...
...
@@ -193,7 +175,6 @@ __builddeps__ __buildcrossdeps__: __tooldeps__ include
loader server
:
libs/port libs/wine tools
fonts
:
tools
include
:
tools/widl
programs/winetest
:
$(ALL_TEST_DIRS)
libs/wine $(ALL_TOOL_DIRS)
:
libs/port
tools/wmc tools/wrc
:
tools
tools tools/wmc tools/wrc
:
libs/wine
...
...
aclocal.m4
View file @
44cff7e9
...
...
@@ -152,7 +152,6 @@ AC_SUBST(ALL_DLL_DIRS,"")
AC_SUBST(ALL_TOOL_DIRS,"")
AC_SUBST(ALL_STATICLIB_DIRS,"")
AC_SUBST(ALL_INSTALL_DIRS,"")
AC_SUBST(ALL_TEST_DIRS,"")
AC_SUBST(ALL_TEST_BINARIES,"")
AC_SUBST(ALL_PROGRAM_DIRS,"")
AC_SUBST(ALL_PROGRAM_BIN_INSTALL_DIRS,"")
...
...
@@ -284,12 +283,19 @@ $ac_name.rc:
$ac_name.res: $ac_name.rc $ac_name.exe"
wine_fn_append_file ALL_DIRS $ac_dir
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir: __builddeps__
$ac_dir/__crosstest__: __buildcrossdeps__
$ac_dir/__clean__ $ac_dir/__crosstest__ $ac_dir: $ac_dir/Makefile
"$ac_dir/__clean__: $ac_dir/Makefile
$ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status Maketest.rules \$(MAKEDEP)
@./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
AS_VAR_IF([enable_tests],[no],,[wine_fn_append_file ALL_TEST_DIRS $ac_dir])
AS_VAR_IF([enable_tests],[no],,[wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"all programs/winetest: $ac_dir
$ac_dir: $ac_dir/Makefile __builddeps__
crosstest:: $ac_dir/Makefile __buildcrossdeps__
@cd $ac_dir && \$(MAKE) crosstest
test::
@cd $ac_dir && \$(MAKE) test
testclean::
\$(RM) $ac_dir/*.ok"])
}
wine_fn_config_tool ()
...
...
configure
View file @
44cff7e9
...
...
@@ -599,7 +599,6 @@ LIBOBJS
ALL_PROGRAM_BIN_INSTALL_DIRS
ALL_PROGRAM_DIRS
ALL_TEST_BINARIES
ALL_TEST_DIRS
ALL_INSTALL_DIRS
ALL_STATICLIB_DIRS
ALL_TOOL_DIRS
...
...
@@ -13874,8 +13873,6 @@ ALL_STATICLIB_DIRS=""
ALL_INSTALL_DIRS
=
""
ALL_TEST_DIRS
=
""
ALL_TEST_BINARIES
=
""
ALL_PROGRAM_DIRS
=
""
...
...
@@ -14022,15 +14019,22 @@ $ac_name.rc:
$ac_name
.res:
$ac_name
.rc
$ac_name
.exe"
wine_fn_append_file ALL_DIRS
$ac_dir
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
: __builddeps__
$ac_dir
/__crosstest__: __buildcrossdeps__
$ac_dir
/__clean__
$ac_dir
/__crosstest__
$ac_dir
:
$ac_dir
/Makefile
"
$ac_dir
/__clean__:
$ac_dir
/Makefile
$ac_dir
/Makefile
$ac_dir
/__depend__:
$ac_dir
/Makefile.in config.status Maketest.rules
\$
(MAKEDEP)
@./config.status --file
$ac_dir
/Makefile && cd
$ac_dir
&&
\$
(MAKE) depend"
if
test
"x
$enable_tests
"
=
x
""
no
;
then
:
else
wine_fn_append_file ALL_TEST_DIRS
$ac_dir
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"all programs/winetest:
$ac_dir
$ac_dir
:
$ac_dir
/Makefile __builddeps__
crosstest::
$ac_dir
/Makefile __buildcrossdeps__
@cd
$ac_dir
&&
\$
(MAKE) crosstest
test::
@cd
$ac_dir
&&
\$
(MAKE) test
testclean::
\$
(RM)
$ac_dir
/*.ok"
fi
}
...
...
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