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
edbc89bb
Commit
edbc89bb
authored
Apr 29, 2004
by
tomas@mc05.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into mc05.(none):/space/tomas/mysql-4.1-make
parents
40ac433e
1eb0961d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
22 deletions
+58
-22
configure.in
configure.in
+1
-0
ndb/Epilogue.mk
ndb/Epilogue.mk
+23
-0
ndb/SrcDist.sh
ndb/SrcDist.sh
+9
-9
ndb/config/GuessConfig.sh
ndb/config/GuessConfig.sh
+25
-13
No files found.
configure.in
View file @
edbc89bb
...
...
@@ -2757,6 +2757,7 @@ EOF
no
)
flag
=
"-R"
;;
*
)
flag
=
"-D"
;;
esac
flag
=
"
$flag
--VERSION=
$VERSION
--PACKAGE=
$PACKAGE
"
(
cd
ndb
&&
./configure
$flag
)
\
||
AC_MSG_ERROR
([
could not configure NDB Cluster]
)
echo
"END OF NDB CLUSTER CONFIGURATION"
...
...
ndb/Epilogue.mk
View file @
edbc89bb
...
...
@@ -851,3 +851,26 @@ ebrowse: DUMMY
cd
$(NDB_TOP)
;
find
.
-name
"*.hpp"
-or
-name
"*.cpp"
-or
-name
"*.h"
-or
-name
"*.c"
>
tmpfile~
cd
$(NDB_TOP)
;
ebrowse
--file
tmpfile~
cd
$(NDB_TOP)
;
rm
-f
tmpfile~
srcdir
=
$(NDB_TOP)
top_distdir
=
$(NDB_TOP)
/..
mkinstalldirs
:=
/bin/sh ../mkinstalldirs
distdir
=
$(top_distdir)
/
$(PACKAGE)
-
$(VERSION)
/ndb
distdir
:
$(mkinstalldirs)
$(distdir)
@
list
=
'
$(
shell
/bin/sh SrcDist.sh
)
'
;
for
file
in
$$
list
;
do
\
if
test
-f
$$
file
||
test
-d
$$
file
;
then
d
=
.
;
else
d
=
$(srcdir)
;
fi
;
\
dir
=
`
echo
"
$$
file"
|
sed
-e
's,/[^/]*$$,,'
`
;
\
if
test
"
$$
dir"
!=
"
$$
file"
&&
test
"
$$
dir"
!=
"."
;
then
\
dir
=
"/
$$
dir"
;
\
$(mkinstalldirs)
"
$(distdir)$$
dir"
;
\
else
\
dir
=
''
;
\
fi
;
\
if
test
-f
$$
d/
$$
file
;
then
\
test
-f
$(distdir)
/
$$
file
\
||
cp
-p
$$
d/
$$
file
$(distdir)
/
$$
file
\
||
exit
1
;
\
fi
;
\
done
ndb/SrcDist.sh
View file @
edbc89bb
#
# Invoked from
scripts/make_binary_distribution as "sh BinDist.sh"
.
# Invoked from
make distdir
.
# Prints list of dirs and files to include under mysql/ndb.
#
...
...
@@ -29,35 +29,35 @@ __END__
# docs
#find docs/*.html docs/*.pdf -print
| sort -t/
#find docs/*.html docs/*.pdf -print
# include
find include
-print
|
grep
-v
/SCCS
|
sort
-t
/
find include
-print
|
grep
-v
/SCCS
# config
find config
-print
|
grep
-v
/SCCS
|
sort
-t
/
find config
-print
|
grep
-v
/SCCS
# tools
find tools
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
tools/ndbsql |
sort
-t
/
find tools
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
'\.depend'
|
grep
-v
tools/ndbsql
# home
find home
-print
|
grep
-v
/SCCS
|
sort
-t
/
find home
-print
|
grep
-v
/SCCS
# test
find
test
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
test
/odbc |
sort
-t
/
find
test
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
'\.depend'
|
grep
-v
test
/odbc
# src
find src
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
src/client/odbc |
grep
-v
cpcc-win32 |
sort
-t
/
find src
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
'\.depend'
|
grep
-v
src/client/odbc |
grep
-v
cpcc-win32
# demos
find demos
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
sort
-t
/
find demos
-print
|
grep
-v
/SCCS |
grep
-v
'\.o'
|
grep
-v
'\.depend'
# examples
...
...
ndb/config/GuessConfig.sh
View file @
edbc89bb
...
...
@@ -70,28 +70,40 @@ then
TERMCAP_LIB
=
termcap
fi
# Allow for selecting GCC, but must be 2nd parameter
if
[
$#
-gt
1
-a
"
$2
"
=
"-GCC"
]
then
NDB_COMPILER
=
GCC
fi
# defaults
NDB_VERSION
=
DEBUG
PACKAGE
=
VERSION
=
parse_arguments
()
{
for
arg
do
case
"
$arg
"
in
-GCC
)
NDB_COMPILER
=
GCC
;;
-R
)
NDB_VERSION
=
RELEASE
;;
-D
)
NDB_VERSION
=
DEBUG
;;
--PACKAGE
=
*
)
PACKAGE
=
`
echo
"
$arg
"
|
sed
-e
"s;--PACKAGE=;;"
`
;;
--VERSION
=
*
)
VERSION
=
`
echo
"
$arg
"
|
sed
-e
"s;--VERSION=;;"
`
;;
*
)
echo
"Unknown argument '
$arg
'"
exit
1
;;
esac
done
}
parse_arguments
"
$@
"
(
echo
"# This file was automatically generated
`
date
`
"
echo
"NDB_OS :=
$NDB_OS
"
echo
"NDB_ARCH :=
$NDB_ARCH
"
echo
"NDB_COMPILER :=
$NDB_COMPILER
"
if
[
$#
-gt
0
-a
"
$1
"
=
"-R"
]
then
echo
"NDB_VERSION := RELEASE"
else
echo
"NDB_VERSION := DEBUG"
fi
echo
"NDB_VERSION :=
$NDB_VERSION
"
echo
"NDB_SCI :=
$NDB_SCI
"
echo
"NDB_ODBC :=
$NDB_ODBC
"
echo
"TERMCAP_LIB :=
$TERMCAP_LIB
"
echo
"PACKAGE :=
$PACKAGE
"
echo
"VERSION :=
$VERSION
"
)
>
$NDB_TOP
/config/config.mk
exit
0
...
...
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