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
fda8b65b
Commit
fda8b65b
authored
Jul 09, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Install programs from the top-level makefile.
parent
bf8f4357
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
20 deletions
+54
-20
aclocal.m4
aclocal.m4
+27
-10
configure
configure
+27
-10
No files found.
aclocal.m4
View file @
fda8b65b
...
@@ -418,13 +418,17 @@ wine_fn_config_program ()
...
@@ -418,13 +418,17 @@ wine_fn_config_program ()
ac_dir=programs/$ac_name
ac_dir=programs/$ac_name
ac_enable=$[2]
ac_enable=$[2]
ac_flags=$[3]
ac_flags=$[3]
wine_fn_all_dir_rules $ac_dir programs/Makeprog.rules
ac_program=$ac_name
case $ac_name in
*.*) ;;
*) ac_program=$ac_program.exe ;;
esac
wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
AS_VAR_IF([$ac_enable],[no],,[wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
AS_VAR_IF([$ac_enable],[no],,[wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"all: $ac_dir
"$ac_dir: __builddeps__"
.PHONY: $ac_dir
$ac_dir: $ac_dir/Makefile __builddeps__ dummy
@cd $ac_dir && \$(MAKE)"
if test "x$enable_maintainer_mode" = xyes
if test "x$enable_maintainer_mode" = xyes
then
then
...
@@ -445,19 +449,32 @@ $ac_dir: $ac_dir/Makefile __builddeps__ dummy
...
@@ -445,19 +449,32 @@ $ac_dir: $ac_dir/Makefile __builddeps__ dummy
wine_fn_has_flag install $ac_flags || return
wine_fn_has_flag install $ac_flags || return
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
$ac_dir/__install__:: $ac_dir/Makefile __builddeps__
@cd $ac_dir && \$(MAKE) install
$ac_dir/__uninstall__:: $ac_dir/Makefile
@cd $ac_dir && \$(MAKE) uninstall
install install-lib:: $ac_dir/__install__
install install-lib:: $ac_dir/__install__
__uninstall__: $ac_dir/__uninstall__"
__uninstall__: $ac_dir/__uninstall__"
if test -n "$DLLEXT" -a "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
if test -n "$DLLEXT"
then
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
\$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
\$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
$ac_dir/__uninstall__::
\$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
"$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
\$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
\$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
$ac_dir/__uninstall__::
$ac_dir/__uninstall__::
\$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
\$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
fi
else
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
\$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
$ac_dir/__uninstall__::
\$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
fi])
fi])
}
}
...
...
configure
View file @
fda8b65b
...
@@ -14487,16 +14487,20 @@ wine_fn_config_program ()
...
@@ -14487,16 +14487,20 @@ wine_fn_config_program ()
ac_dir
=
programs/
$ac_name
ac_dir
=
programs/
$ac_name
ac_enable
=
$2
ac_enable
=
$2
ac_flags
=
$3
ac_flags
=
$3
wine_fn_all_dir_rules
$ac_dir
programs/Makeprog.rules
ac_program
=
$ac_name
case
$ac_name
in
*
.
*
)
;;
*
)
ac_program
=
$ac_program
.exe
;;
esac
wine_fn_config_makefile
$ac_dir
$ac_enable
"
$ac_flags
"
programs/Makeprog.rules
if
eval test
\"
x
\$
"
$ac_enable
"
\"
=
x
"no"
;
then
:
if
eval test
\"
x
\$
"
$ac_enable
"
\"
=
x
"no"
;
then
:
else
else
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"all:
$ac_dir
"
$ac_dir
: __builddeps__"
.PHONY:
$ac_dir
$ac_dir
:
$ac_dir
/Makefile __builddeps__ dummy
@cd
$ac_dir
&&
\$
(MAKE)"
if
test
"x
$enable_maintainer_mode
"
=
xyes
if
test
"x
$enable_maintainer_mode
"
=
xyes
then
then
...
@@ -14517,19 +14521,32 @@ $ac_dir: $ac_dir/Makefile __builddeps__ dummy
...
@@ -14517,19 +14521,32 @@ $ac_dir: $ac_dir/Makefile __builddeps__ dummy
wine_fn_has_flag
install
$ac_flags
||
return
wine_fn_has_flag
install
$ac_flags
||
return
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
".PHONY:
$ac_dir
/__install__
$ac_dir
/__uninstall__
".PHONY:
$ac_dir
/__install__
$ac_dir
/__uninstall__
$ac_dir
/__install__::
$ac_dir
/Makefile __builddeps__
@cd
$ac_dir
&&
\$
(MAKE) install
$ac_dir
/__uninstall__::
$ac_dir
/Makefile
@cd
$ac_dir
&&
\$
(MAKE) uninstall
install install-lib::
$ac_dir
/__install__
install install-lib::
$ac_dir
/__install__
__uninstall__:
$ac_dir
/__uninstall__"
__uninstall__:
$ac_dir
/__uninstall__"
if
test
-n
"
$DLLEXT
"
-a
"x
$enable_tools
"
!=
xno
&&
wine_fn_has_flag installbin
$ac_flags
if
test
-n
"
$DLLEXT
"
then
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
/__install__::
$ac_dir
\$
(DESTDIR)
\$
(dlldir)
\$
(DESTDIR)
\$
(fakedlldir)
\$
(INSTALL_PROGRAM)
$ac_dir
/
$ac_program$DLLEXT
\$
(DESTDIR)
\$
(dlldir)/
$ac_program$DLLEXT
\$
(INSTALL_DATA)
$ac_dir
/
$ac_program
.fake
\$
(DESTDIR)
\$
(fakedlldir)/
$ac_program
$ac_dir
/__uninstall__::
\$
(RM)
\$
(DESTDIR)
\$
(dlldir)/
$ac_program$DLLEXT
\$
(DESTDIR)
\$
(fakedlldir)/
$ac_program
"
if
test
"x
$enable_tools
"
!=
xno
&&
wine_fn_has_flag installbin
$ac_flags
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
/__install__:: tools
\$
(DESTDIR)
\$
(bindir)
"
$ac_dir
/__install__:: tools
\$
(DESTDIR)
\$
(bindir)
\$
(INSTALL_SCRIPT) tools/wineapploader
\$
(DESTDIR)
\$
(bindir)/
$ac_name
\$
(INSTALL_SCRIPT) tools/wineapploader
\$
(DESTDIR)
\$
(bindir)/
$ac_name
$ac_dir
/__uninstall__::
$ac_dir
/__uninstall__::
\$
(RM)
\$
(DESTDIR)
\$
(bindir)/
$ac_name
"
\$
(RM)
\$
(DESTDIR)
\$
(bindir)/
$ac_name
"
fi
else
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"
$ac_dir
/__install-lib__::
$ac_dir
\$
(DESTDIR)
\$
(dlldir)
\$
(INSTALL_PROGRAM)
$ac_dir
/
$ac_program
\$
(DESTDIR)
\$
(dlldir)/
$ac_program
$ac_dir
/__uninstall__::
\$
(RM)
\$
(DESTDIR)
\$
(dlldir)/
$ac_program
"
fi
fi
fi
fi
}
}
...
...
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