]> git.sur5r.net Git - openldap/blob - servers/slapd/back-perl/Makefile.in
Add mkversion script to generate version.c files. mkversion generates
[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)
28
29 all-local-srv:  FORCE
30         $(MAKE) $(MFLAGS) libback-perl.a
31
32 libback-perl.a: version.o
33         $(AR) ruv $@ $(OBJS) version.o
34         @$(RANLIB) $@
35         @touch ../.backend
36
37 version.c: $(OBJS) $(LDAP_LIBDEPEND)
38         @-$(RM) $@
39         $(MKVERSION) back-perl > $@