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
dbb55ed9
Commit
dbb55ed9
authored
Sep 07, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Add install-test target to install winetest.exe.
parent
f9cad1bd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
15 deletions
+19
-15
Makefile.in
programs/winetest/Makefile.in
+1
-1
build.yml
tools/gitlab/build.yml
+9
-9
makedep.c
tools/makedep.c
+9
-5
No files found.
programs/winetest/Makefile.in
View file @
dbb55ed9
...
...
@@ -19,4 +19,4 @@ EXTRA_OBJS = build.res
EXTRA_TARGETS
=
build.nfo
INSTALL_
LIB
=
non
e
INSTALL_
TEST
=
winetest.ex
e
tools/gitlab/build.yml
View file @
dbb55ed9
...
...
@@ -14,8 +14,9 @@
-
build32/config.cache
-
build64/config.cache
before_script
:
-
export CCACHE_BASEDIR="$PWD"
-
export CCACHE_DIR="$PWD/ccache"
-
export BASEDIR="$PWD"
-
export CCACHE_BASEDIR="$BASEDIR"
-
export CCACHE_DIR="$BASEDIR/ccache"
-
export CCACHE_COMPILERCHECK=content
-
export PATH="/usr/lib/ccache:$PATH"
-
mkdir -p build32 build64
...
...
@@ -60,12 +61,11 @@ build-winetest:
-
winetest64.exe
script
:
-
cd build64
-
../configure -C --enable-win64 --with-mingw
-
make -s -j$(nproc)
programs/winetest/winetest.exe
-
../configure -
q -
C --enable-win64 --with-mingw
-
make -s -j$(nproc)
install-test DESTDIR=$BASEDIR
-
cd ../build32
-
../configure -C --with-mingw
-
make -s -j$(nproc)
programs/winetest/winetest.exe
-
../configure -
q -
C --with-mingw
-
make -s -j$(nproc)
install-test DESTDIR=$BASEDIR
-
cd ..
-
mv build32/programs/winetest/winetest.exe winetest.exe
-
mv build64/programs/winetest/winetest.exe winetest64.exe
-
chmod 644 winetest.exe winetest64.exe
-
mv usr/local/lib/wine/i386-windows/winetest.exe winetest.exe
-
mv usr/local/lib/wine/x86_64-windows/winetest.exe winetest64.exe
tools/makedep.c
View file @
dbb55ed9
...
...
@@ -122,9 +122,9 @@ static const struct
static
struct
list
files
[
HASH_SIZE
];
static
struct
list
global_includes
[
HASH_SIZE
];
enum
install_rules
{
INSTALL_LIB
,
INSTALL_DEV
,
NB_INSTALL_RULES
};
static
const
char
*
install_targets
[
NB_INSTALL_RULES
]
=
{
"install-lib"
,
"install-dev"
};
static
const
char
*
install_variables
[
NB_INSTALL_RULES
]
=
{
"INSTALL_LIB"
,
"INSTALL_DEV"
};
enum
install_rules
{
INSTALL_LIB
,
INSTALL_DEV
,
INSTALL_TEST
,
NB_INSTALL_RULES
};
static
const
char
*
install_targets
[
NB_INSTALL_RULES
]
=
{
"install-lib"
,
"install-dev"
,
"install-test"
};
static
const
char
*
install_variables
[
NB_INSTALL_RULES
]
=
{
"INSTALL_LIB"
,
"INSTALL_DEV"
,
"INSTALL_TEST"
};
/* variables common to all makefiles */
static
struct
strarray
linguas
;
...
...
@@ -3624,10 +3624,14 @@ static void output_subdirs( struct makefile *make )
for
(
j
=
0
;
j
<
NB_INSTALL_RULES
;
j
++
)
{
if
(
!
install_deps
[
j
].
count
)
continue
;
output
(
"install %s::"
,
install_targets
[
j
]
);
if
(
strcmp
(
install_targets
[
j
],
"install-test"
))
{
output
(
"install "
);
strarray_add_uniq
(
&
make
->
phony_targets
,
"install"
);
}
output
(
"%s::"
,
install_targets
[
j
]
);
output_filenames
(
install_deps
[
j
]
);
output
(
"
\n
"
);
strarray_add_uniq
(
&
make
->
phony_targets
,
"install"
);
strarray_add_uniq
(
&
make
->
phony_targets
,
install_targets
[
j
]
);
}
output_uninstall_rules
(
make
);
...
...
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