~ttx/openldap/lucid-gssapi-495418

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-07-28 10:17:15 UTC
  • mto: (0.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20090728101715-g0isvetelfeqm48k
Tags: upstream-2.4.17
ImportĀ upstreamĀ versionĀ 2.4.17

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $OpenLDAP: pkg/ldap/contrib/slapd-modules/passwd/Makefile,v 1.2.2.2 2009/04/28 01:06:14 quanah Exp $
 
2
CPPFLAGS+=-I../../../include -I../../../servers/slapd
 
3
 
 
4
all: kerberos.la netscape.la radius.la
 
5
 
 
6
kerberos.lo:    kerberos.c
 
7
        $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -DHAVE_KRB5 -Wall -c $?
 
8
 
 
9
kerberos.la:    kerberos.lo
 
10
        $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
 
11
        -rpath $(PREFIX)/lib -module -o $@ $? -lkrb5
 
12
 
 
13
netscape.lo:    netscape.c
 
14
        $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
 
15
 
 
16
netscape.la:    netscape.lo
 
17
        $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
 
18
        -rpath $(PREFIX)/lib -module -o $@ $? 
 
19
 
 
20
radius.lo:      radius.c
 
21
        $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
 
22
 
 
23
radius.la:      radius.lo
 
24
        $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
 
25
        -rpath $(PREFIX)/lib -module -o $@ $? -lradius
 
26
 
 
27
clean:
 
28
        rm -f kerberos.lo kerberos.la
 
29
        rm -f netscape.lo netscape.la
 
30
        rm -f radius.lo radius.la
 
31
 
 
32
install: kerberos.la netscape.la radius.la
 
33
        mkdir -p $(PREFIX)/lib/openldap
 
34
        $(LIBTOOL) --mode=install cp kerberos.la $(PREFIX)/lib/openldap
 
35
        $(LIBTOOL) --mode=install cp netscape.la $(PREFIX)/lib/openldap
 
36
        $(LIBTOOL) --mode=install cp radius.la $(PREFIX)/lib/openldap
 
37
        $(LIBTOOL) --finish $(PREFIX)/lib