Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
639f8ceb
Commit
639f8ceb
authored
Jun 02, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
parents
c661f473
1cad5c8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
16 deletions
+11
-16
libmysqld/Makefile.am
libmysqld/Makefile.am
+11
-16
No files found.
libmysqld/Makefile.am
View file @
639f8ceb
...
@@ -86,29 +86,24 @@ INC_LIB= $(top_builddir)/regex/libregex.a \
...
@@ -86,29 +86,24 @@ INC_LIB= $(top_builddir)/regex/libregex.a \
# To make it easy for the end user to use the embedded library we
# To make it easy for the end user to use the embedded library we
# generate a total libmysqld.a from all library files,
# generate a total libmysqld.a from all library files,
# note - InnoDB libraries have circular dependencies, so in INC_LIB
# few libraries are present two times. Metrowerks linker doesn't like
# it at all. Traditional ar has no problems with it, but still there's no
# need to add the same file twice to the library, so 'sort -u' save us
# some time and spares unnecessary work.
libmysqld.a
:
libmysqld_int.a $(INC_LIB)
libmysqld.a
:
libmysqld_int.a $(INC_LIB)
if
DARWIN_MWCC
if
DARWIN_MWCC
mwld
-lib
-o
$@
libmysqld_int.a
`
ls
-1
$(INC_LIB)
|
sort
-u`
mwld
-lib
-o
$@
libmysqld_int.a
`
echo
$(INC_LIB)
|
sort
-u`
else
else
if
test
"$(host_os)"
=
"netware"
;
\
if
test
"$(host_os)"
=
"netware"
;
\
then
\
then
\
$(libmysqld_a_AR)
libmysqld.a
libmysqld_int.a
$(INC_LIB)
;
\
$(libmysqld_a_AR)
libmysqld.a
libmysqld_int.a
$(INC_LIB)
;
\
else
\
else
\
if
test
!
-d
tmp
;
then
mkdir
tmp
;
fi
;
\
for
arc
in
./libmysqld_int.a
$(INC_LIB);
do
\
rm
-f
$@
libmysqld_int2.a
tmp/*.o
tmp/*.a
;
\
arpath
=
`
echo
$$
arc|sed
's|[^/]*$$||'
`
;
\
cp
$(INC_LIB)
tmp
;
\
$(AR)
t
$$
arc|sed
"s|^|
$$
arpath|"
;
\
cp
libmysqld_int.a
libmysqld_int2.a
;
\
done
|
sort
-u
| xargs
$(AR)
cq libmysqld.a
;
\
cd
tmp
;
\
for
file
in
*.a
;
do
\
bfile
=
`
basename
$$
file .a
`
;
\
$(AR)
x
$$
file
;
\
for
obj
in
*
.o
;
do
mv
$$
obj
$
${bfile}
_
$$
obj
;
done
;
\
$(AR)
q ../libmysqld_int2.a
*
.o
;
\
rm
-f
*
.o
;
\
done
;
\
cd
..
;
\
mv
libmysqld_int2.a libmysqld.a
;
\
rm
-f
tmp/
*
;
\
$(RANLIB)
libmysqld.a
;
\
$(RANLIB)
libmysqld.a
;
\
fi
fi
endif
endif
...
...
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