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
96047ce9
Commit
96047ce9
authored
Sep 10, 2002
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix detection of 'ln -s'.
Fix computation of TOPOBJDIR. Install exes and dlls in $(libdir). -Wl,-rpath is not relevant for dlls.
parent
eba9649b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
winemaker
tools/winemaker
+12
-6
No files found.
tools/winemaker
View file @
96047ce9
...
...
@@ -1765,7 +1765,11 @@ sub generate_project_files($)
print
FILEO
"### Generic autoconf variables\n\n"
;
generate_list
(
"TOPSRCDIR"
,
1
,[
"\@top_srcdir\@"
]);
generate_list
(
"TOPOBJDIR"
,
1
,[
"."
]);
my
$dotdotpath
=
@$project
[
$P_PATH
];
$dotdotpath
=~
s%[^/]+%..%g
;
$dotdotpath
=~
s%/$%%
;
$dotdotpath
=
"."
if
(
$dotdotpath
eq
""
);
generate_list
(
"TOPOBJDIR"
,
1
,[
$dotdotpath
]);
generate_list
(
"SRCDIR"
,
1
,[
"\@srcdir\@"
]);
generate_list
(
"VPATH"
,
1
,[
"\@srcdir\@"
]);
print
FILEO
"\n"
;
...
...
@@ -1934,7 +1938,7 @@ sub generate_project_files($)
print
FILEO
"\t_list=\"\$(SUBDIRS)\"; for i in \$\$_list; do (cd \$\$i; \$(MAKE) install) || exit 1; done\n"
;
}
if
(
@
{
@$project
[
$P_TARGETS
]}
>
0
)
{
print
FILEO
"\t_list=\"\$(EXES:%=%.so)\"; for i in \$\$_list; do \$(INSTALL_PROGRAM) \$\$i \$(
bin
dir); done\n"
;
print
FILEO
"\t_list=\"\$(EXES:%=%.so)\"; for i in \$\$_list; do \$(INSTALL_PROGRAM) \$\$i \$(
lib
dir); done\n"
;
print
FILEO
"\t_list=\"\$(EXES)\"; for i in \$\$_list; do \$(INSTALL_SCRIPT) \$\$i \$(bindir); done\n"
;
print
FILEO
"\t_list=\"\$(DLLS)\"; for i in \$\$_list; do \$(INSTALL_PROGRAM) \$\$i \$(libdir); done\n"
;
}
...
...
@@ -1946,7 +1950,7 @@ sub generate_project_files($)
print
FILEO
"\t_list=\"\$(SUBDIRS)\"; for i in \$\$_list; do (cd \$\$i; \$(MAKE) uninstall) || exit 1; done\n"
;
}
if
(
@
{
@$project
[
$P_TARGETS
]}
>
0
)
{
print
FILEO
"\t_list=\"\$(EXES) \$(EXES:%=%.so)\"; for i in \$\$_list; do \$(RM) \$(
bin
dir)/\$\$i;done\n"
;
print
FILEO
"\t_list=\"\$(EXES) \$(EXES:%=%.so)\"; for i in \$\$_list; do \$(RM) \$(
lib
dir)/\$\$i;done\n"
;
print
FILEO
"\t_list=\"\$(EXES)\"; for i in \$\$_list; do \$(RM) \$(bindir)/\$\$i;done\n"
;
print
FILEO
"\t_list=\"\$(DLLS)\"; for i in \$\$_list; do \$(RM) \$(libdir)/\$\$i;done\n"
;
}
...
...
@@ -2353,6 +2357,7 @@ AC_PROG_MAKE_SET
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_LN_S
dnl
****
Check
for
some
libraries
****
...
...
@@ -2420,8 +2425,8 @@ CFLAGS=$saved_cflags
])
if
test
"$ac_cv_c_dll_linux"
=
"yes"
then
LDSHARED
=
"\$(CC) -shared
-Wl,-rpath,\$(libdir)
"
LDXXSHARED
=
"\$(CXX) -shared
-Wl,-rpath,\$(libdir)
"
LDSHARED
=
"\$(CC) -shared"
LDXXSHARED
=
"\$(CXX) -shared"
LDDLLFLAGS
=
"-Wl,-Bsymbolic"
else
AC_CACHE_CHECK
(
whether
we
can
build
a
UnixWare
(
Solaris
)
dll
,
...
...
@@ -3045,6 +3050,7 @@ LDXXSHARED= @LDXXSHARED@
LDDLLFLAGS= @LDDLLFLAGS@
STRIP = strip
STRIPFLAGS= --strip-unneeded
LN_S = @LN_S@
RM = rm -f
MV = mv
MKDIR = mkdir -p
...
...
@@ -3098,7 +3104,7 @@ all: Makefile
# Rules for makefile
Makefile:
Makefile
.
in
$
(
TOPSRCDIR
)
/
configure
@echo
Makefile
is
older
than
$?
,
please
rerun
$
(
TOPSRCDIR
)
/
configure
@echo
$@
is
older
than
$?
,
please
rerun
$
(
TOPSRCDIR
)
/
configure
@exit
1
# Rules for cleaning
...
...
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