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
2fb30218
Commit
2fb30218
authored
Mar 26, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Install bindir programs from the top-level makefile.
parent
719d904e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
36 deletions
+19
-36
Makefile.in
Makefile.in
+3
-0
aclocal.m4
aclocal.m4
+8
-4
configure
configure
+8
-8
configure.ac
configure.ac
+0
-3
Makefile.in
programs/Makefile.in
+0
-21
No files found.
Makefile.in
View file @
2fb30218
...
...
@@ -26,6 +26,9 @@ VPATH = @srcdir@
# Sub-directories that don't have a makefile
EXTRASUBDIRS
=
dlls libs
# Destination directories for make install
INSTALLDIRS
=
$(DESTDIR)$(bindir)
all
:
wine
@
echo
"Wine build complete."
...
...
aclocal.m4
View file @
2fb30218
...
...
@@ -151,7 +151,6 @@ Makefile: Makefile.in Make.rules config.status
AC_SUBST(ALL_WINETEST_DEPENDS,["# Test binaries"])
AC_SUBST(ALL_TEST_BINARIES,"")
AC_SUBST(ALL_PROGRAM_BIN_INSTALL_DIRS,"")
wine_fn_append_file ()
{
...
...
@@ -291,14 +290,19 @@ wine_fn_config_program ()
programs/$ac_dir: programs/$ac_dir/Makefile __builddeps__ dummy
@cd programs/$ac_dir && \$(MAKE)"
if test -n "$ac_install"
then
test -n "$ac_install" || return
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"install install-lib:: programs/$ac_dir/Makefile __builddeps__
@cd programs/$ac_dir && \$(MAKE) install
uninstall:: programs/$ac_dir/Makefile
@cd programs/$ac_dir && \$(MAKE) uninstall"
test "$ac_install" != installbin || wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS programs/$ac_dir
if test "$ac_install" = installbin -a -n "$DLLEXT" -a -z "$WOW64_DISABLE"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"install install-lib:: programs \$(DESTDIR)\$(bindir)
\$(INSTALL_SCRIPT) programs/wineapploader \$(DESTDIR)\$(bindir)/$ac_dir
uninstall::
\$(RM) \$(DESTDIR)\$(bindir)/$ac_dir"
fi])
}
...
...
configure
View file @
2fb30218
...
...
@@ -596,7 +596,6 @@ ac_includes_default="\
ac_subst_vars
=
'LTLIBOBJS
LIBOBJS
ALL_PROGRAM_BIN_INSTALL_DIRS
ALL_TEST_BINARIES
ALL_WINETEST_DEPENDS
LDAPLIBS
...
...
@@ -13854,8 +13853,6 @@ ALL_WINETEST_DEPENDS="# Test binaries"
ALL_TEST_BINARIES
=
""
ALL_PROGRAM_BIN_INSTALL_DIRS
=
""
wine_fn_append_file
()
{
...
...
@@ -14006,14 +14003,19 @@ else
programs/
$ac_dir
: programs/
$ac_dir
/Makefile __builddeps__ dummy
@cd programs/
$ac_dir
&&
\$
(MAKE)"
if
test
-n
"
$ac_install
"
then
test
-n
"
$ac_install
"
||
return
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"install install-lib:: programs/
$ac_dir
/Makefile __builddeps__
@cd programs/
$ac_dir
&&
\$
(MAKE) install
uninstall:: programs/
$ac_dir
/Makefile
@cd programs/
$ac_dir
&&
\$
(MAKE) uninstall"
test
"
$ac_install
"
!=
installbin
||
wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS programs/
$ac_dir
if
test
"
$ac_install
"
=
installbin
-a
-n
"
$DLLEXT
"
-a
-z
"
$WOW64_DISABLE
"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
\
"install install-lib:: programs
\$
(DESTDIR)
\$
(bindir)
\$
(INSTALL_SCRIPT) programs/wineapploader
\$
(DESTDIR)
\$
(bindir)/
$ac_dir
uninstall::
\$
(RM)
\$
(DESTDIR)
\$
(bindir)/
$ac_dir
"
fi
fi
}
...
...
@@ -14704,8 +14706,6 @@ ac_config_commands="$ac_config_commands Makefile"
ac_config_files
=
"
$ac_config_files
Make.tmp:Makefile.in"
test
-n
"
$DLLEXT
"
||
ALL_PROGRAM_BIN_INSTALL_DIRS
=
""
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"uninstall::
-rmdir
\$
(DESTDIR)
\$
(datadir)/wine
\$
(DESTDIR)
\$
(fakedlldir)
\$
(DESTDIR)
\$
(dlldir)"
...
...
configure.ac
View file @
2fb30218
...
...
@@ -2713,9 +2713,6 @@ _WINE_EOF
AC_CONFIG_FILES([Make.tmp:Makefile.in])
dnl Don't install in bin dir for Windows build
test -n "$DLLEXT" || ALL_PROGRAM_BIN_INSTALL_DIRS=""
dnl Some final makefile rules
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
[uninstall::
...
...
programs/Makefile.in
View file @
2fb30218
...
...
@@ -3,11 +3,6 @@ TOPOBJDIR = ..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
ALL_INSTALLS
=
@ALL_PROGRAM_BIN_INSTALL_DIRS@
INSTALLPROGS
=
$
(
ALL_INSTALLS:programs/%
=
%
)
INSTALLDIRS
=
$(DESTDIR)$(bindir)
PROGRAMS
=
wineapploader
@MAKE_RULES@
...
...
@@ -16,19 +11,3 @@ all: $(PROGRAMS)
wineapploader
:
wineapploader.in
sed
-e
's,@bindir\@,
$(bindir)
,g'
$(SRCDIR)
/wineapploader.in
>
$@
||
(
$(RM)
$@
&&
false
)
# Rules for installation
.PHONY
:
install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
$(INSTALLPROGS
:
%=%/__installprog__): wineapploader $(INSTALLDIRS) dummy
$(RM)
$(DESTDIR)$(bindir)
/
`
dirname
$@
`
&&
$(INSTALL_SCRIPT)
wineapploader
$(DESTDIR)$(bindir)
/
`
dirname
$@
`
install-progs.so
:
$(INSTALLPROGS:%=%/__installprog__)
install-progs
:
#
nothing to do here
@WOW64_DISABLE@ install install-lib
::
install-progs$(DLLEXT) $(INSTALLDIRS)
uninstall
::
-
cd
$(DESTDIR)$(bindir)
&&
$(RM)
$(INSTALLPROGS)
-
rmdir
$(DESTDIR)$(fakedlldir)
$(DESTDIR)$(dlldir)
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