Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
f6ba3b24
Commit
f6ba3b24
authored
Sep 01, 2009
by
Quanah Gibson-Mount
Browse files
Portability fixes
parent
fffb1fab
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/smbk5pwd/Makefile
View file @
f6ba3b24
...
...
@@ -29,6 +29,13 @@ SSL_LIB=-lcrypto
LDAP_LIB
=
-lldap_r
-llber
LIBS
=
$(LDAP_LIB)
$(HEIMDAL_LIB)
$(SSL_LIB)
prefix
=
/usr/local
ldap_subdir
=
/openldap
exec_prefix
=
$(prefix)
libdir
=
$(exec_prefix)
/lib
libexecdir
=
$(prefix)
/libexec
moduledir
=
$(libexecdir)$(ldap_subdir)
all
:
smbk5pwd.la
...
...
@@ -37,12 +44,11 @@ smbk5pwd.lo: smbk5pwd.c
smbk5pwd.la
:
smbk5pwd.lo
$(LIBTOOL)
--mode
=
link
$(CC)
$(OPT)
-version-info
0:0:0
\
-rpath
$(
PREFIX)
/lib
-module
-o
$@
$?
$(LIBS)
-rpath
$(
libdir)
-module
-o
$@
$?
$(LIBS)
clean
:
rm
-f
smbk5pwd.lo smbk5pwd.la
install
:
smbk5pwd.la
mkdir
-p
$(PREFIX)
/lib/openldap
$(LIBTOOL)
--mode
=
install cp
smbk5pwd.la
$(PREFIX)
/lib/openldap
$(LIBTOOL)
--finish
$(PREFIX)
/lib
mkdir
-p
$(DESTDIR)$(moduledir)
$(LIBTOOL)
--mode
=
install cp
smbk5pwd.la
$(DESTDIR)$(moduledir)
Write
Preview
Supports
Markdown
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