Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
7e2fe5ba
Commit
7e2fe5ba
authored
20 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Use shtool(1) (to a limited degree, more use would simplify things)
Fix ITS#3285 (relative linking of slap tools).
parent
75231896
No related branches found
No related tags found
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
build/top.mk
+11
-10
11 additions, 10 deletions
build/top.mk
configure
+927
-1043
927 additions, 1043 deletions
configure
configure.in
+0
-5
0 additions, 5 deletions
configure.in
servers/slapd/Makefile.in
+5
-6
5 additions, 6 deletions
servers/slapd/Makefile.in
with
943 additions
and
1064 deletions
build/top.mk
+
11
−
10
View file @
7e2fe5ba
...
...
@@ -49,10 +49,12 @@ OBJEXT = @OBJEXT@
BUILD_LIBS_DYNAMIC
=
@BUILD_LIBS_DYNAMIC@
INSTALL
=
@INSTALL@
INSTALL_PROGRAM
=
@INSTALL_PROGRAM@
INSTALL_DATA
=
@INSTALL_DATA@
INSTALL_SCRIPT
=
@INSTALL_SCRIPT@
SHTOOL
=
$(
top_srcdir
)
/build/shtool
INSTALL
=
$(
SHTOOL
)
install
-c
INSTALL_PROGRAM
=
$(
INSTALL
)
INSTALL_DATA
=
$(
INSTALL
)
-m
644
INSTALL_SCRIPT
=
$(
INSTALL
)
LINT
=
lint
5LINT
=
5lint
...
...
@@ -64,8 +66,6 @@ MKDEP_CFLAGS = @OL_MKDEP_FLAGS@
MKVERSION
=
$(
top_srcdir
)
/build/mkversion
-v
"
$(
VERSION
)
"
SHTOOL
=
$(
top_srcdir
)
/build/shtool
LIBTOOL
=
@LIBTOOL@
LIBRELEASE
=
@OPENLDAP_LIBRELEASE@
LIBVERSION
=
@OPENLDAP_LIBVERSION@
...
...
@@ -125,13 +125,14 @@ BASENAME = basename
CAT
=
cat
CHMOD
=
chmod
DATE
=
date
ECHO
=
$(
SHTOOL
)
echo
HOSTNAME
=
$(
SHTOOL
)
echo
-e
"%h%d"
LN
=
ln
LN_H
=
@LN_H@
LN_S
=
@LN_S@
LN
=
$(
SHTOOL
)
mk
ln
LN_H
=
$(
LN
)
LN_S
=
$(
LN
)
-s
MAKEINFO
=
@MAKEINFO@
MKDIR
=
$(
SHTOOL
)
mkdir
-p
MV
=
mv
MV
=
$(
SHTOOL
)
move
PWD
=
pwd
RANLIB
=
@RANLIB@
RM
=
rm
-f
...
...
This diff is collapsed.
Click to expand it.
configure
+
927
−
1043
View file @
7e2fe5ba
This diff is collapsed.
Click to expand it.
configure.in
+
0
−
5
View file @
7e2fe5ba
...
...
@@ -557,8 +557,6 @@ SLAPD_SLP_LIBS=
dnl ================================================================
dnl Checks for programs
AC_PROG_INSTALL
AC_DEFINE(HAVE_MKVERSION, 1, [define this if you have mkversion])
dnl ----------------------------------------------------------------
...
...
@@ -627,9 +625,6 @@ AC_LIBTOOL_WIN32_DLL
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
OL_PROG_LN_H
AC_PROG_LN_S
dnl ----------------------------------------------------------------
dnl Perl
ol_link_perl=no
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/Makefile.in
+
5
−
6
View file @
7e2fe5ba
...
...
@@ -257,7 +257,7 @@ libslapi.a: slapi/.libs/libslapi.a
slapd
:
$(SLAPD_DEPENDS) @LIBSLAPI@
$(
LTLINK
)
-o
$@
$(
SLAPD_OBJECTS
)
$(
LIBS
)
\
$(
WRAP_LIBS
)
rm
-f
$(
SLAPTOOLS
)
$(
RM
)
$(
SLAPTOOLS
)
for
i
in
$(
SLAPTOOLS
);
do
\
$(
LN_S
)
slapd
$(
EXEEXT
)
$$
i
$(
EXEEXT
);
done
...
...
@@ -330,7 +330,7 @@ depend-local-srv: FORCE
@
echo
""
clean-local
:
rm
-f
*
.exp
*
.def
*
.base
*
.a
*
.objs symdummy.c
$(
RM
)
*
.exp
*
.def
*
.base
*
.a
*
.objs symdummy.c
clean-local-srv
:
FORCE
@
for
i
in
$(
SUBDIRS
);
do
\
...
...
@@ -340,7 +340,7 @@ clean-local-srv: FORCE
if
test
$$
?
!=
0
;
then
exit
1
;
fi
;
\
fi
;
\
done
rm
-f
*
.tmp all-cffiles
$(
RM
)
*
.tmp all-cffiles
veryclean-local-srv
:
FORCE
@
for
i
in
$(
SUBDIRS
);
do
\
...
...
@@ -426,9 +426,8 @@ install-db-config: FORCE
install-tools
:
FORCE
-$(
MKDIR
)
$(
DESTDIR
)$(
sbindir
)
cd
$(
DESTDIR
)$(
sbindir
);
\
rm
-f
$(
SLAPTOOLS
);
\
for
i
in
$(
SLAPTOOLS
);
do
\
$(
LN_S
)
$(
libexecdir
)
/slapd
$(
EXEEXT
)
$$
i
$(
EXEEXT
);
\
$(
RM
)
$(
DESTDIR
)$(
sbindir
)
/
$$
i
$(
EXEEXT
);
\
$(
LN_S
)
-f
$(
DESTDIR
)$(
libexecdir
)
/slapd
$(
EXEEXT
)
$(
DESTDIR
)$(
sbindir
)
/
$$
i
$(
EXEEXT
);
\
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment