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
0dc95169
Commit
0dc95169
authored
Jul 04, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winetest: Build exe resources as separate .res files.
parent
a6beb506
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
25 deletions
+22
-25
.gitignore
.gitignore
+1
-1
configure
configure
+7
-3
configure.ac
configure.ac
+7
-3
Makefile.in
programs/winetest/Makefile.in
+6
-15
winetest.rc
programs/winetest/winetest.rc
+0
-2
make_makefiles
tools/make_makefiles
+1
-1
No files found.
.gitignore
View file @
0dc95169
...
@@ -197,7 +197,7 @@ programs/winedbg/dbg.tab.h
...
@@ -197,7 +197,7 @@ programs/winedbg/dbg.tab.h
programs/winedbg/debug.yy.c
programs/winedbg/debug.yy.c
programs/winedbg/winedbg.man
programs/winedbg/winedbg.man
programs/winetest/*_test.exe
programs/winetest/*_test.exe
programs/winetest/
tests
.rc
programs/winetest/
*_test
.rc
programs/winhlp32/macro.lex.yy.c
programs/winhlp32/macro.lex.yy.c
server/wineserver
server/wineserver
server/wineserver-installed
server/wineserver-installed
...
...
configure
View file @
0dc95169
...
@@ -28762,10 +28762,14 @@ for dir in $ALL_TEST_DIRS
...
@@ -28762,10 +28762,14 @@ for dir in $ALL_TEST_DIRS
do
do
if
test
"
$dir
"
!=
"
\\
"
if
test
"
$dir
"
!=
"
\\
"
then
then
testname
=
`
expr
$dir
:
'\(.*\)/tests'
`
_test
.exe
testname
=
`
expr
$dir
:
'\(.*\)/tests'
`
_test
ALL_WINETEST_DEPENDS
=
"
$ALL_WINETEST_DEPENDS
ALL_WINETEST_DEPENDS
=
"
$ALL_WINETEST_DEPENDS
$testname
:
\$
(DLLDIR)/
$dir
/
$testname
\$
(DLLEXT)
cp
\$
(DLLDIR)/
$dir
/
$testname
\$
(DLLEXT)
\$
@ &&
\$
(STRIP)
\$
@"
$testname
.exe:
\$
(DLLDIR)/
$dir
/
$testname
.exe
\$
(DLLEXT)
cp
\$
(DLLDIR)/
$dir
/
$testname
.exe
\$
(DLLEXT)
\$
@ &&
\$
(STRIP)
\$
@
$testname
.rc:
echo
\"
$testname
.exe TESTRES
\\\"
$testname
.exe
\\\"\"
>
\$
@ || (
\$
(RM)
\$
@ && false)
$testname
.res:
$testname
.rc
$testname
.exe"
fi
fi
done
done
...
...
configure.ac
View file @
0dc95169
...
@@ -2527,10 +2527,14 @@ for dir in $ALL_TEST_DIRS
...
@@ -2527,10 +2527,14 @@ for dir in $ALL_TEST_DIRS
do
do
if test "$dir" != "\\"
if test "$dir" != "\\"
then
then
testname=`expr $dir : '\(.*\)/tests'`_test
.exe
testname=`expr $dir : '\(.*\)/tests'`_test
ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS
$testname: \$(DLLDIR)/$dir/$testname\$(DLLEXT)
cp \$(DLLDIR)/$dir/$testname\$(DLLEXT) \$@ && \$(STRIP) \$@"
$testname.exe: \$(DLLDIR)/$dir/$testname.exe\$(DLLEXT)
cp \$(DLLDIR)/$dir/$testname.exe\$(DLLEXT) \$@ && \$(STRIP) \$@
$testname.rc:
echo \"$testname.exe TESTRES \\\"$testname.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
$testname.res: $testname.rc $testname.exe"
fi
fi
done
done
...
...
programs/winetest/Makefile.in
View file @
0dc95169
...
@@ -20,25 +20,18 @@ RC_SRCS = \
...
@@ -20,25 +20,18 @@ RC_SRCS = \
SVG_SRCS
=
winetest.svg
SVG_SRCS
=
winetest.svg
@MAKE_PROG_RULES@
ALL_TEST_DIRS
=
@ALL_TEST_DIRS@
ALL_TEST_DIRS
=
@ALL_TEST_DIRS@
TESTBINS
=
$
(
ALL_TEST_DIRS:%/tests
=
%_test.exe
)
TESTBINS
=
$
(
ALL_TEST_DIRS:%/tests
=
%_test.exe
)
TESTRCS
=
$
(
TESTBINS:.exe
=
.rc
)
@ALL_WINETEST_DEPENDS@
EXTRA_OBJS
=
$
(
TESTRCS:.rc
=
.res
)
# Special rules
winetest.res
:
$(TESTBINS)
@MAKE_PROG_RULES@
tests.rc
:
Makefile.in $(TOPOBJDIR)/config.status
@ALL_WINETEST_DEPENDS@
(
for
i
in
$(TESTBINS)
;
do
echo
"
$$
i TESTRES
\"
$$
i
\"
"
;
done
)
>
$@
||
(
$(RM)
$@
&&
false
)
clean
::
clean
::
$(RM)
tests.rc dist.res winetest-dist.exe
$(TESTBINS)
$(RM)
winetest-dist.exe
$(TESTBINS)
$(TESTRCS)
depend
:
tests.rc
# Rules for building distributable executable
# Rules for building distributable executable
...
@@ -53,5 +46,3 @@ winetest-dist.exe winetest-dist.exe.so: $(OBJS) dist.res Makefile.in
...
@@ -53,5 +46,3 @@ winetest-dist.exe winetest-dist.exe.so: $(OBJS) dist.res Makefile.in
dist.res
:
build.nfo
dist.res
:
build.nfo
@DEPENDENCIES@
# everything below this line is overwritten by make depend
@DEPENDENCIES@
# everything below this line is overwritten by make depend
winetest.res
:
tests.rc
programs/winetest/winetest.rc
View file @
0dc95169
...
@@ -82,5 +82,3 @@ END
...
@@ -82,5 +82,3 @@ END
/* @makedep: winetest.ico */
/* @makedep: winetest.ico */
IDI_WINE ICON "winetest.ico"
IDI_WINE ICON "winetest.ico"
#include "tests.rc"
tools/make_makefiles
View file @
0dc95169
...
@@ -74,8 +74,8 @@ my @ignores = (
...
@@ -74,8 +74,8 @@ my @ignores = (
"dlls/*/tests/testlist.c"
,
"dlls/*/tests/testlist.c"
,
"include/config.h"
,
"include/config.h"
,
"include/stamp-h"
,
"include/stamp-h"
,
"programs/winetest/tests.rc"
,
"programs/winetest/*_test.exe"
,
"programs/winetest/*_test.exe"
,
"programs/winetest/*_test.rc"
,
);
);
# Source files and their resulting target to ignore
# Source files and their resulting target to ignore
...
...
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