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
54300b23
Commit
54300b23
authored
Dec 31, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Add support for a variable to list extra targets.
parent
a40d4d20
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
14 deletions
+8
-14
configure
configure
+1
-4
configure.ac
configure.ac
+1
-4
Makefile.in
fonts/Makefile.in
+2
-3
Makefile.in
programs/winetest/Makefile.in
+1
-2
make_makefiles
tools/make_makefiles
+2
-1
makedep.c
tools/makedep.c
+1
-0
No files found.
configure
View file @
54300b23
...
...
@@ -17390,10 +17390,6 @@ wine_fn_ignore_file "config.status"
wine_fn_ignore_file
"configure.lineno"
wine_fn_ignore_file
"include/config.h"
wine_fn_ignore_file
"include/stamp-h"
test
"x
$enable_fonts
"
=
xno
||
wine_fn_ignore_file
"fonts/*.fon"
test
"x
$enable_winetest
"
=
xno
||
wine_fn_ignore_file
"programs/winetest/build.nfo"
test
"x
$enable_winetest
"
=
xno
||
wine_fn_ignore_file
"programs/winetest/build.rc"
test
"x
$enable_tools
"
=
xno
||
wine_fn_ignore_file
"tools/makedep
$ac_exeext
"
test
"
$wine_binary
"
=
wine
||
wine_fn_ignore_file
"loader/wine"
ac_config_commands
=
"
$ac_config_commands
Makefile"
...
...
@@ -17447,6 +17443,7 @@ if test "x$enable_tools" != xno
then
ac_config_commands
=
"
$ac_config_commands
tools"
wine_fn_ignore_file
"tools/makedep
$ac_exeext
"
wine_fn_append_rule
"tools/makedep
$ac_exeext
:
$srcdir
/tools/makedep.c include/config.h
\$
(CC) -Iinclude -I
$srcdir
/include -D__WINESRC__
\$
(EXTRACFLAGS)
\$
(CPPFLAGS)
\$
(CFLAGS) -o
\$
@
$srcdir
/tools/makedep.c
\$
(LDFLAGS)
clean:: __clean__
...
...
configure.ac
View file @
54300b23
...
...
@@ -3440,10 +3440,6 @@ WINE_IGNORE_FILE("config.status")
WINE_IGNORE_FILE("configure.lineno")
WINE_IGNORE_FILE("include/config.h")
WINE_IGNORE_FILE("include/stamp-h")
WINE_IGNORE_FILE("fonts/*.fon",enable_fonts)
WINE_IGNORE_FILE("programs/winetest/build.nfo",enable_winetest)
WINE_IGNORE_FILE("programs/winetest/build.rc",enable_winetest)
WINE_IGNORE_FILE("tools/makedep$ac_exeext",enable_tools)
test "$wine_binary" = wine || WINE_IGNORE_FILE("loader/wine")
AC_CONFIG_COMMANDS([Makefile], [wine_fn_output_makefile Makefile],
...
...
@@ -3505,6 +3501,7 @@ fi
if test "x$enable_tools" != xno
then
AC_CONFIG_COMMANDS([tools],[AS_MKDIR_P(tools)])
WINE_IGNORE_FILE("tools/makedep$ac_exeext")
WINE_APPEND_RULE(
[tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h
\$(CC) -Iinclude -I$srcdir/include -D__WINESRC__ \$(EXTRACFLAGS) \$(CPPFLAGS) \$(CFLAGS) -o \$@ $srcdir/tools/makedep.c \$(LDFLAGS)
...
...
fonts/Makefile.in
View file @
54300b23
...
...
@@ -71,6 +71,8 @@ TRUETYPE_FONTS = \
tahomabd.ttf
\
wingding.ttf
EXTRA_TARGETS
=
$(BITMAP_FONTS)
all
:
$(BITMAP_FONTS)
@MAKE_RULES@
...
...
@@ -234,6 +236,3 @@ install install-lib:: $(BITMAP_FONTS)
uninstall
::
-
cd
$(DESTDIR)$(fontdir)
&&
$(RM)
$(BITMAP_FONTS)
$(TRUETYPE_FONTS)
-
rmdir
$(DESTDIR)$(fontdir)
clean
::
$(RM)
$(BITMAP_FONTS)
programs/winetest/Makefile.in
View file @
54300b23
...
...
@@ -16,8 +16,7 @@ SVG_SRCS = winetest.svg
EXTRA_OBJS
=
build.res @ALL_TEST_RESOURCES@
clean
::
$(RM)
build.rc build.nfo
EXTRA_TARGETS
=
build.rc build.nfo
build.rc
:
dummy
build
=
"BUILD_INFO STRINGRES build.nfo STRINGTABLE { 1
\"
`
GIT_DIR
=
$(top_srcdir)
/.git git rev-parse HEAD 2>/dev/null
`
\"
}"
&&
(
echo
$$
build | cmp
-s
-
$@
)
||
echo
$$
build
>
$@
||
(
$(RM)
$@
&&
exit
1
)
...
...
tools/make_makefiles
View file @
54300b23
...
...
@@ -276,12 +276,13 @@ sub parse_makefile($)
$
{
$make
{
"=flags"
}}{
"implib"
}
=
1
if
$var
eq
"IMPORTLIB"
;
next
;
}
if
(
/^\s*(BISON_SRCS|LEX_SRCS|IDL_SRCS|IMPLIB_SRCS|C_SRCS|OBJC_SRCS|MC_SRCS|RC_SRCS|SVG_SRCS|FONT_SRCS|IN_SRCS|PROGRAMS|MANPAGES)\s*=\s*(.*)/
)
if
(
/^\s*(BISON_SRCS|LEX_SRCS|IDL_SRCS|IMPLIB_SRCS|C_SRCS|OBJC_SRCS|MC_SRCS|RC_SRCS|SVG_SRCS|FONT_SRCS|IN_SRCS|PROGRAMS|
EXTRA_TARGETS|
MANPAGES)\s*=\s*(.*)/
)
{
my
$var
=
$1
;
my
@list
=
split
(
/\s+/
,
$2
);
$make
{
$var
}
=
\
@list
;
$
{
$make
{
"=flags"
}}{
"clean"
}
=
1
if
$var
eq
"PROGRAMS"
;
$
{
$make
{
"=flags"
}}{
"clean"
}
=
1
if
$var
eq
"EXTRA_TARGETS"
;
next
;
}
if
(
/(install-lib|install-dev|clean)\s*:/
)
...
...
tools/makedep.c
View file @
54300b23
...
...
@@ -1907,6 +1907,7 @@ static struct strarray output_sources(void)
strarray_addall
(
&
clean_files
,
crossobj_files
);
strarray_addall
(
&
clean_files
,
res_files
);
strarray_addall
(
&
clean_files
,
all_targets
);
strarray_addall
(
&
clean_files
,
get_expanded_make_var_array
(
"EXTRA_TARGETS"
));
if
(
clean_files
.
count
)
{
...
...
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