X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-shell%2FMakefile.in;h=79f3326a071ed83990bac1640bfad2f58fb94166;hb=63e843d2003ddf20f3725ad439991e769ffc792a;hp=2bb3c6839158a509643ca3364364d85d674918c1;hpb=5a470f89594d1d8ca986801376f3b88671fdde20;p=openldap diff --git a/servers/slapd/back-shell/Makefile.in b/servers/slapd/back-shell/Makefile.in index 2bb3c68391..79f3326a07 100644 --- a/servers/slapd/back-shell/Makefile.in +++ b/servers/slapd/back-shell/Makefile.in @@ -1,30 +1,43 @@ -XSRCS = version.c -SRCS = init.c config.c fork.c search.c bind.c unbind.c add.c delete.c \ - modify.c modrdn.c compare.c abandon.c result.c -OBJS = init.o config.o fork.o search.o bind.o unbind.o add.o delete.o \ - modify.o modrdn.o compare.o abandon.o result.o +# Makefile.in for back-shell +# $OpenLDAP$ +## This work is part of OpenLDAP Software . +## +## Copyright 1998-2005 The OpenLDAP Foundation. +## All rights reserved. +## +## Redistribution and use in source and binary forms, with or without +## modification, are permitted only as authorized by the OpenLDAP +## Public License. +## +## A copy of this license is available in the file LICENSE in the +## top-level directory of the distribution or, alternatively, at +## . + +SRCS = init.c config.c fork.c search.c bind.c unbind.c add.c \ + delete.c modify.c modrdn.c compare.c result.c +OBJS = init.lo config.lo fork.lo search.lo bind.lo unbind.lo add.lo \ + delete.lo modify.lo modrdn.lo compare.lo result.lo LDAP_INCDIR= ../../../include LDAP_LIBDIR= ../../../libraries BUILD_OPT = "--enable-shell" -BUILD_SRV = @BUILD_SHELL@ +BUILD_MOD = @BUILD_SHELL@ -PROGRAMS = libback-shell.a +mod_DEFS = -DSLAPD_IMPORT +MOD_DEFS = $(@BUILD_SHELL@_DEFS) + +shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA) +NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) +UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) + +LIBBASE = back_shell XINCPATH = -I.. -I$(srcdir)/.. XDEFS = $(MODULES_CPPFLAGS) -XLDFLAGS = $(MODULES_LDFLAGS) - -all-local-srv: FORCE - $(MAKE) $(MFLAGS) libback-shell.a -libback-shell.a: version.o - $(AR) ruv $@ $(OBJS) version.o - @$(RANLIB) $@ - @touch ../.backend +all-local-lib: ../.backend -version.c: $(OBJS) $(LDAP_LIBDEPEND) - @-$(RM) $@ - $(MKVERSION) back-shell > $@ +../.backend: lib$(LIBBASE).a + @touch $@