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
fd88ff95
Commit
fd88ff95
authored
Nov 12, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Generate rules for installing libwine.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4c208c46
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
60 deletions
+18
-60
configure
configure
+7
-30
configure.ac
configure.ac
+7
-30
makedep.c
tools/makedep.c
+4
-0
No files found.
configure
View file @
fd88ff95
...
...
@@ -7986,6 +7986,7 @@ fi
LIBWINE_RULES
=
"
SHAREDLIB = libwine.dll
INSTALL_LIB = libwine.dll
libwine_LDFLAGS = -shared
\$
(srcdir)/wine.def
EXTRA_TARGETS = libwine.a
...
...
@@ -7997,14 +7998,11 @@ libwine.a: \$(srcdir)/wine.def
libwine.dll:
\$
(srcdir)/wine.def
install install-lib:: libwine.dll
\$
(INSTALL_DATA) libwine.dll
\$
(DESTDIR)
\$
(libdir)/libwine.dll
install install-dev:: libwine.a
\$
(INSTALL_DATA) libwine.a
\$
(DESTDIR)
\$
(libdir)/libwine.a
uninstall::
-cd
\$
(DESTDIR)
\$
(libdir) &&
\$
(RM) libwine.a libwine.dll
\$
(RM)
\$
(DESTDIR)
\$
(libdir)/libwine.a
"
;;
...
...
@@ -8244,17 +8242,9 @@ fi
LIBWINE_RULES
=
"
SHAREDLIB = libwine.
$libwine_version
.dylib
INSTALL_LIB = libwine.
$libwine_version
.dylib libwine.
$libwine_soversion
.dylib
INSTALL_DEV = libwine.dylib
libwine_LDFLAGS = -dynamiclib -install_name @rpath/libwine.
$libwine_soversion
.dylib -Wl,-rpath,@loader_path/ -compatibility_version
$libwine_soversion
-current_version
$libwine_version
install install-lib:: libwine.
$libwine_version
.dylib
\$
(INSTALL_PROGRAM) libwine.
$libwine_version
.dylib
\$
(DESTDIR)
\$
(libdir)/libwine.
$libwine_version
.dylib
cd
\$
(DESTDIR)
\$
(libdir) &&
\$
(RM) libwine.
$libwine_soversion
.dylib &&
\$
(LN_S) libwine.
$libwine_version
.dylib libwine.
$libwine_soversion
.dylib
install install-dev::
cd
\$
(DESTDIR)
\$
(libdir) &&
\$
(RM) libwine.dylib &&
\$
(LN_S) libwine.
$libwine_version
.dylib libwine.dylib
uninstall::
-cd
\$
(DESTDIR)
\$
(libdir) &&
\$
(RM) libwine.dylib libwine.
$libwine_soversion
.dylib libwine.
$libwine_version
.dylib
"
...
...
@@ -8410,13 +8400,8 @@ fi
LIBWINE_RULES
=
"
SHAREDLIB = libwine.so
INSTALL_LIB = libwine.so
libwine_LDFLAGS = -shared
install install-lib:: libwine.so
\$
(INSTALL_PROGRAM) libwine.so
\$
(DESTDIR)
\$
(libdir)/libwine.so
uninstall::
\$
(RM)
\$
(DESTDIR)
\$
(libdir)/libwine.so
"
...
...
@@ -8779,19 +8764,11 @@ $as_echo "$ac_cv_c_dll_unixware" >&6; }
fi
LIBWINE_RULES
=
"
SHAREDLIB = libwine.so.
$libwine_version
INSTALL_LIB = libwine.so.
$libwine_version
libwine.so.
$libwine_soversion
INSTALL_DEV = libwine.so
libwine_LDFLAGS =
$shared_ldflags
libwine.so.
$libwine_version
:
\$
(srcdir)/wine.map
install install-lib:: libwine.so.
$libwine_version
\$
(INSTALL_PROGRAM) libwine.so.
$libwine_version
\$
(DESTDIR)
\$
(libdir)/libwine.so.
$libwine_version
cd
\$
(DESTDIR)
\$
(libdir) &&
\$
(RM) libwine.so.
$libwine_soversion
&&
\$
(LN_S) libwine.so.
$libwine_version
libwine.so.
$libwine_soversion
install install-dev::
cd
\$
(DESTDIR)
\$
(libdir) &&
\$
(RM) libwine.so &&
\$
(LN_S) libwine.so.
$libwine_version
libwine.so
uninstall::
-cd
\$
(DESTDIR)
\$
(libdir) &&
\$
(RM) libwine.so libwine.so.
$libwine_soversion
libwine.so.
$libwine_version
"
...
...
configure.ac
View file @
fd88ff95
...
...
@@ -719,6 +719,7 @@ case $host_os in
AC_SUBST(LIBWINE_RULES,["
SHAREDLIB = libwine.dll
INSTALL_LIB = libwine.dll
libwine_LDFLAGS = -shared \$(srcdir)/wine.def
EXTRA_TARGETS = libwine.a
...
...
@@ -730,14 +731,11 @@ libwine.a: \$(srcdir)/wine.def
libwine.dll: \$(srcdir)/wine.def
install install-lib:: libwine.dll
\$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
install install-dev:: libwine.a
\$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
uninstall::
-cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
\$(RM) \$(DESTDIR)\$(libdir)/libwine.a
"])
;;
...
...
@@ -858,17 +856,9 @@ uninstall::
AC_SUBST(LIBWINE_RULES,["
SHAREDLIB = libwine.$libwine_version.dylib
INSTALL_LIB = libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
INSTALL_DEV = libwine.dylib
libwine_LDFLAGS = -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version
install install-lib:: libwine.$libwine_version.dylib
\$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
install install-dev::
cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
uninstall::
-cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
"])
AS_VAR_APPEND([LOADER_RULES],["
...
...
@@ -903,13 +893,8 @@ $wine_binary $wine_binary-installed: wine_info.plist
AC_SUBST(LIBWINE_RULES,["
SHAREDLIB = libwine.so
INSTALL_LIB = libwine.so
libwine_LDFLAGS = -shared
install install-lib:: libwine.so
\$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
uninstall::
\$(RM) \$(DESTDIR)\$(libdir)/libwine.so
"])
AS_VAR_APPEND([LOADER_RULES],["
...
...
@@ -978,19 +963,11 @@ ${wine_binary}_LDFLAGS = $LDEXECFLAGS -lwine \$(PTHREAD_LIBS)
fi
AC_SUBST(LIBWINE_RULES,["
SHAREDLIB = libwine.so.$libwine_version
INSTALL_LIB = libwine.so.$libwine_version libwine.so.$libwine_soversion
INSTALL_DEV = libwine.so
libwine_LDFLAGS = $shared_ldflags
libwine.so.$libwine_version: \$(srcdir)/wine.map
install install-lib:: libwine.so.$libwine_version
\$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
install install-dev::
cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
uninstall::
-cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
"])
AS_VAR_APPEND([LOADER_RULES],["
...
...
tools/makedep.c
View file @
fd88ff95
...
...
@@ -2600,10 +2600,14 @@ static struct strarray output_sources( const struct makefile *make, struct strar
output_filenames
(
all_libs
);
output_filename
(
"$(LDFLAGS)"
);
output
(
"
\n
"
);
add_install_rule
(
make
,
install_rules
,
make
->
sharedlib
,
make
->
sharedlib
,
strmake
(
"p$(libdir)/%s"
,
make
->
sharedlib
));
for
(
i
=
1
;
i
<
names
.
count
;
i
++
)
{
output
(
"%s: %s
\n
"
,
obj_dir_path
(
make
,
names
.
str
[
i
]
),
obj_dir_path
(
make
,
names
.
str
[
i
-
1
]
));
output
(
"
\t
rm -f $@ && $(LN_S) %s $@
\n
"
,
names
.
str
[
i
-
1
]
);
add_install_rule
(
make
,
install_rules
,
names
.
str
[
i
],
names
.
str
[
i
-
1
],
strmake
(
"y$(libdir)/%s"
,
names
.
str
[
i
]
));
}
strarray_addall
(
&
all_targets
,
names
);
}
...
...
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