~ttx/openldap/lucid-gssapi-495418

« back to all changes in this revision

Viewing changes to contrib/slapd-modules/smbk5pwd/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-09-07 13:41:10 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090907134110-rsnlhy8b0r21p9bg
Tags: 2.4.18-0ubuntu1
* New upstream release: (LP: #419515):
  + pcache overlay supports disconnected mode.
* Fix nss overlay load (LP: #417163).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $OpenLDAP: pkg/ldap/contrib/slapd-modules/smbk5pwd/Makefile,v 1.1.6.1 2009/04/27 23:36:57 quanah Exp $
 
1
# $OpenLDAP: pkg/ldap/contrib/slapd-modules/smbk5pwd/Makefile,v 1.1.6.3 2009/09/01 22:53:30 quanah Exp $
 
2
# This work is part of OpenLDAP Software <http://www.openldap.org/>.
 
3
#
 
4
# Copyright 1998-2009 The OpenLDAP Foundation.
2
5
# Copyright 2004 Howard Chu, Symas Corp. All Rights Reserved.
3
6
#
4
7
# Redistribution and use in source and binary forms, with or without
26
29
LDAP_LIB=-lldap_r -llber
27
30
LIBS=$(LDAP_LIB) $(HEIMDAL_LIB) $(SSL_LIB)
28
31
 
 
32
prefix=/usr/local
 
33
exec_prefix=$(prefix)
 
34
ldap_subdir=/openldap
 
35
 
 
36
libdir=$(exec_prefix)/lib
 
37
libexecdir=$(exec_prefix)/libexec
 
38
moduledir = $(libexecdir)$(ldap_subdir)
 
39
 
29
40
all:    smbk5pwd.la
30
41
 
31
42
 
34
45
 
35
46
smbk5pwd.la:    smbk5pwd.lo
36
47
        $(LIBTOOL) --mode=link $(CC) $(OPT) -version-info 0:0:0 \
37
 
        -rpath $(PREFIX)/lib -module -o $@ $? $(LIBS)
 
48
        -rpath $(libdir) -module -o $@ $? $(LIBS)
38
49
 
39
50
clean:
40
51
        rm -f smbk5pwd.lo smbk5pwd.la
41
52
 
42
53
install: smbk5pwd.la
43
 
        mkdir -p $(PREFIX)/lib/openldap
44
 
        $(LIBTOOL) --mode=install cp smbk5pwd.la $(PREFIX)/lib/openldap
45
 
        $(LIBTOOL) --finish $(PREFIX)/lib
 
54
        mkdir -p $(DESTDIR)$(moduledir)
 
55
        $(LIBTOOL) --mode=install cp smbk5pwd.la $(DESTDIR)$(moduledir)