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
b5baf7fd
Commit
b5baf7fd
authored
Feb 07, 2009
by
Emmanuel Dreyfus
Browse files
libtoolize autogroup
add install rules for autogroup, nops and smbk5pwd
parent
bdb121c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/autogroup/Makefile
View file @
b5baf7fd
CPPFLAGS
=
-I
../../../include
-I
../../../servers/slapd
#LDFLAGS=-L/usr/local/openldap/lib
#LDFLAGS=-L/home/mszulczynski/autogroup/openldap/lib/
CC
=
gcc
CPPFLAGS
+=
-I
../../../include
-I
../../../servers/slapd
all
:
autogroup.
so
all
:
autogroup.
la
autogroup.so
:
autogroup.c
$(CC)
-shared
-fPIC
$(CPPFLAGS)
$(LDFLAGS)
-Wall
-o
$@
$?
autogroup.lo
:
autogroup.c
$(LIBTOOL)
--mode
=
compile
$(CC)
$(CPPFLAGS)
-Wall
-c
$?
autogroup.la
:
autogroup.lo
$(LIBTOOL)
--mode
=
link
$(CC)
-version-info
0:0:0
\
-rpath
$(PREFIX)
/lib
-module
-o
$@
$?
clean
:
rm
autogroup.so
rm
-f
autogroup.lo autogroup.la
install
:
autogroup.la
mkdir
-p
$(PREFIX)
/lib/openldap
$(LIBTOOL)
--mode
=
install cp
autogroup.la
$(PREFIX)
/lib/openldap
$(LIBTOOL)
--finish
$(PREFIX)
/lib
contrib/slapd-modules/nops/Makefile
View file @
b5baf7fd
# $OpenLDAP$
CPPFLAGS
+=
-I
../../../include
-I
../../../servers/slapd
CPPFLAGS
+=
-DSLAPD_OVER_NOPS
=
SLAPD_MOD_DYNAMIC
LIBS
=
-lldap_r
-llber
-lcrypto
LIBS
=
-L
$(PREFIX)
/lib
-lldap_r
-llber
-lcrypto
all
:
nops.la
...
...
@@ -13,4 +13,11 @@ nops.la: nops.lo
-rpath
$(PREFIX)
/lib
-module
-o
$@
$?
$(LIBS)
clean
:
rm
nops.lo nops.la
rm
-f
nops.lo nops.la
install
:
nops.la
mkdir
-p
$(PREFIX)
/lib/openldap
mkdir
-p
$(PREFIX)
/man/man5
$(LIBTOOL)
--mode
=
install cp
nops.la
$(PREFIX)
/lib/openldap
$(LIBTOOL)
--finish
$(PREFIX)
/lib
cp
nops.5
$(PREFIX)
/man/man5
contrib/slapd-modules/smbk5pwd/Makefile
View file @
b5baf7fd
...
...
@@ -34,4 +34,12 @@ smbk5pwd.lo: smbk5pwd.c
smbk5pwd.la
:
smbk5pwd.lo
$(LIBTOOL)
--mode
=
link
$(CC)
$(OPT)
-version-info
0:0:0
\
-rpath
/usr/local/libexec/openldap
-module
-o
$@
$?
$(LIBS)
-rpath
$(PREFIX)
/lib
-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
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