~tieto/+junk/openldap

« back to all changes in this revision

Viewing changes to contrib/slapd-modules/allowed/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/allowed/Makefile,v 1.1.2.2 2009/08/25 23:39:37 quanah Exp $
 
2
# This work is part of OpenLDAP Software <http://www.openldap.org/>.
 
3
#
 
4
# Copyright 1998-2009 The OpenLDAP Foundation.
 
5
# Copyright 2004 Howard Chu, Symas Corp. All Rights Reserved.
 
6
#
 
7
# Redistribution and use in source and binary forms, with or without
 
8
# modification, are permitted only as authorized by the OpenLDAP
 
9
# Public License.
 
10
#
 
11
# A copy of this license is available in the file LICENSE in the
 
12
# top-level directory of the distribution or, alternatively, at
 
13
# <http://www.OpenLDAP.org/license.html>.
 
14
 
 
15
PREFIX=/opt/openldap-HEAD
 
16
 
 
17
LIBTOOL=../../../libtool
 
18
OPT=-g -O2
 
19
CC=gcc
 
20
 
 
21
DEFS=-DSLAPD_OVER_ALLOWED=SLAPD_MOD_DYNAMIC
 
22
 
 
23
LDAP_INC=-I../../../include -I../../../servers/slapd
 
24
INCS=$(LDAP_INC)
 
25
 
 
26
LDAP_LIB=-lldap_r -llber -L../../../lib
 
27
LDAP_LIB=
 
28
LIBS=$(LDAP_LIB)
 
29
 
 
30
all:    allowed.la
 
31
 
 
32
 
 
33
allowed.lo:     allowed.c
 
34
        $(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $?
 
35
 
 
36
allowed.la:     allowed.lo
 
37
        $(LIBTOOL) --mode=link $(CC) $(OPT) -version-info 0:0:0 \
 
38
        -rpath $(PREFIX)/lib -module -o $@ $? $(LIBS)
 
39
 
 
40
clean:
 
41
        rm -f allowed.o allowed.lo allowed.la
 
42
 
 
43
install: allowed.la
 
44
        mkdir -p $(PREFIX)/libexec/openldap
 
45
        $(LIBTOOL) --mode=install cp allowed.la $(PREFIX)/libexec/openldap
 
46
        $(LIBTOOL) --finish $(PREFIX)/libexec/openldap