Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ae1afb82
Commit
ae1afb82
authored
Jul 09, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winetest: Create a separate resource file with the SHA1 build id.
parent
f0ea22ba
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
10 deletions
+6
-10
.gitignore
.gitignore
+1
-0
Makefile.in
programs/winetest/Makefile.in
+4
-3
winetest.rc
programs/winetest/winetest.rc
+0
-7
make_makefiles
tools/make_makefiles
+1
-0
No files found.
.gitignore
View file @
ae1afb82
...
@@ -198,6 +198,7 @@ programs/winedbg/debug.yy.c
...
@@ -198,6 +198,7 @@ programs/winedbg/debug.yy.c
programs/winedbg/winedbg.man
programs/winedbg/winedbg.man
programs/winetest/*_test.exe
programs/winetest/*_test.exe
programs/winetest/*_test.rc
programs/winetest/*_test.rc
programs/winetest/build.rc
programs/winhlp32/macro.lex.yy.c
programs/winhlp32/macro.lex.yy.c
server/wineserver
server/wineserver
server/wineserver-installed
server/wineserver-installed
...
...
programs/winetest/Makefile.in
View file @
ae1afb82
...
@@ -7,8 +7,6 @@ APPMODE = -mconsole
...
@@ -7,8 +7,6 @@ APPMODE = -mconsole
IMPORTS
=
uuid comctl32 version user32 gdi32 advapi32 wsock32 kernel32
IMPORTS
=
uuid comctl32 version user32 gdi32 advapi32 wsock32 kernel32
DELAYIMPORTS
=
ole32
DELAYIMPORTS
=
ole32
EXTRARCFLAGS
=
-DBUILD_SHA1
=
\"
`
GIT_DIR
=
$(TOPSRCDIR)
/.git git rev-parse HEAD 2>/dev/null
`
\"
C_SRCS
=
\
C_SRCS
=
\
gui.c
\
gui.c
\
main.c
\
main.c
\
...
@@ -23,7 +21,7 @@ SVG_SRCS = winetest.svg
...
@@ -23,7 +21,7 @@ SVG_SRCS = winetest.svg
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
)
TESTRCS
=
build.rc
$
(
TESTBINS:.exe
=
.rc
)
EXTRA_OBJS
=
$
(
TESTRCS:.rc
=
.res
)
EXTRA_OBJS
=
$
(
TESTRCS:.rc
=
.res
)
@MAKE_PROG_RULES@
@MAKE_PROG_RULES@
...
@@ -33,6 +31,9 @@ EXTRA_OBJS = $(TESTRCS:.rc=.res)
...
@@ -33,6 +31,9 @@ EXTRA_OBJS = $(TESTRCS:.rc=.res)
clean
::
clean
::
$(RM)
winetest-dist.exe
$(TESTBINS)
$(TESTRCS)
$(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
# Rules for building distributable executable
.PHONY
:
dist
.PHONY
:
dist
...
...
programs/winetest/winetest.rc
View file @
ae1afb82
...
@@ -24,13 +24,6 @@
...
@@ -24,13 +24,6 @@
#include "resource.h"
#include "resource.h"
#ifdef BUILD_SHA1
STRINGTABLE
BEGIN
IDS_BUILD_ID BUILD_SHA1
END
#endif
IDD_TAG DIALOG 0, 0, 150, 65
IDD_TAG DIALOG 0, 0, 150, 65
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "No tag supplied"
CAPTION "No tag supplied"
...
...
tools/make_makefiles
View file @
ae1afb82
...
@@ -76,6 +76,7 @@ my @ignores = (
...
@@ -76,6 +76,7 @@ my @ignores = (
"include/stamp-h"
,
"include/stamp-h"
,
"programs/winetest/*_test.exe"
,
"programs/winetest/*_test.exe"
,
"programs/winetest/*_test.rc"
,
"programs/winetest/*_test.rc"
,
"programs/winetest/build.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