Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Bond
wine
Commits
ae1afb82
Commit
ae1afb82
authored
15 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
winetest: Create a separate resource file with the SHA1 build id.
parent
f0ea22ba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
programs/winetest/Makefile.in
+4
-3
4 additions, 3 deletions
programs/winetest/Makefile.in
programs/winetest/winetest.rc
+0
-7
0 additions, 7 deletions
programs/winetest/winetest.rc
tools/make_makefiles
+1
-0
1 addition, 0 deletions
tools/make_makefiles
with
6 additions
and
10 deletions
.gitignore
+
1
−
0
View file @
ae1afb82
...
...
@@ -198,6 +198,7 @@ programs/winedbg/debug.yy.c
programs/winedbg/winedbg.man
programs/winetest/*_test.exe
programs/winetest/*_test.rc
programs/winetest/build.rc
programs/winhlp32/macro.lex.yy.c
server/wineserver
server/wineserver-installed
...
...
This diff is collapsed.
Click to expand it.
programs/winetest/Makefile.in
+
4
−
3
View file @
ae1afb82
...
...
@@ -7,8 +7,6 @@ APPMODE = -mconsole
IMPORTS
=
uuid comctl32 version user32 gdi32 advapi32 wsock32 kernel32
DELAYIMPORTS
=
ole32
EXTRARCFLAGS
=
-DBUILD_SHA1
=
\"
`
GIT_DIR
=
$(
TOPSRCDIR
)
/.git git rev-parse HEAD 2>/dev/null
`
\"
C_SRCS
=
\
gui.c
\
main.c
\
...
...
@@ -23,7 +21,7 @@ SVG_SRCS = winetest.svg
ALL_TEST_DIRS
=
@ALL_TEST_DIRS@
TESTBINS
=
$(
ALL_TEST_DIRS:%/tests
=
%_test.exe
)
TESTRCS
=
$(
TESTBINS:.exe
=
.rc
)
TESTRCS
=
build.rc
$(
TESTBINS:.exe
=
.rc
)
EXTRA_OBJS
=
$(
TESTRCS:.rc
=
.res
)
@MAKE_PROG_RULES@
...
...
@@ -33,6 +31,9 @@ EXTRA_OBJS = $(TESTRCS:.rc=.res)
clean
::
$(
RM
)
winetest-dist.exe
$(
TESTBINS
)
$(
TESTRCS
)
build.rc
:
dummy
build
=
"STRINGTABLE { 1
\"
`
GIT_DIR
=
$(
TOPSRCDIR
)
/.git git rev-parse HEAD 2>/dev/null
`
\"
}"
&&
(
echo
$$
build | cmp
-s
-
$@
)
||
echo
$$
build
>
$@
||
(
$(
RM
)
$@
&&
exit
1
)
# Rules for building distributable executable
.PHONY
:
dist
...
...
This diff is collapsed.
Click to expand it.
programs/winetest/winetest.rc
+
0
−
7
View file @
ae1afb82
...
...
@@ -24,13 +24,6 @@
#include "resource.h"
#ifdef BUILD_SHA1
STRINGTABLE
BEGIN
IDS_BUILD_ID BUILD_SHA1
END
#endif
IDD_TAG DIALOG 0, 0, 150, 65
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "No tag supplied"
...
...
This diff is collapsed.
Click to expand it.
tools/make_makefiles
+
1
−
0
View file @
ae1afb82
...
...
@@ -76,6 +76,7 @@ my @ignores = (
"
include/stamp-h
",
"
programs/winetest/*_test.exe
",
"
programs/winetest/*_test.rc
",
"
programs/winetest/build.rc
",
);
# Source files and their resulting target to ignore
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment