]> git.sur5r.net Git - openldap/blob - servers/slapd/back-perl/Makefile.in
9ac1dfbace84f9f0b6772459040addf9e3f351b0
[openldap] / servers / slapd / back-perl / Makefile.in
1 ########################################################################### 
2
3 #    Copyright 1999, John C. Quillan, All rights reserved.
4
5 #    Redistribution and use in source and binary forms are permitted only
6 #    as authorized by the OpenLDAP Public License.  A copy of this
7 #    license is available at http://www.OpenLDAP.org/license.html or
8 #    in file LICENSE in the top-level directory of the distribution.
9
10 ##########################################################################
11 XSRCS   = version.c
12
13 SRCS    = init.c search.c close.c config.c bind.c unbind.c compare.c \
14                 modify.c add.c modrdn.c delete.c
15 OBJS    = init.o search.o close.o config.o bind.o unbind.o compare.o \
16                 modify.o add.o modrdn.o delete.o
17
18 LDAP_INCDIR= ../../../include       
19 LDAP_LIBDIR= ../../../libraries
20
21 BUILD_OPT = "--enable-perl"
22 BUILD_SRV = @BUILD_PERL@
23
24 PROGRAMS =              libback-perl.a
25
26 XINCPATH = -I.. -I$(srcdir)/..
27 XDEFS = $(PERL_CPPFLAGS) $(MODULES_CPPFLAGS)
28 XLDFLAGS = $(MODULES_LDFLAGS)
29
30 all-local-srv:  FORCE
31         $(MAKE) $(MFLAGS) libback-perl.a
32
33 libback-perl.a: version.o
34         $(AR) ruv $@ $(OBJS) version.o
35         @$(RANLIB) $@
36         @touch ../.backend
37
38 version.c: $(OBJS) $(LDAP_LIBDEPEND)
39         @-$(RM) $@
40         $(MKVERSION) back-perl > $@