1 SRCS = init.c config.c fork.c search.c bind.c unbind.c add.c delete.c \
2 modify.c modrdn.c compare.c abandon.c result.c
3 OBJS = init.o config.o fork.o search.o bind.o unbind.o add.o delete.o \
4 modify.o modrdn.o compare.o abandon.o result.o
6 BUILD_OPT = "--enable-shell"
7 BUILD_SRV = @SLAPD_SHELL@
9 PROGRAMS = libback-shell.a
11 XDEFS = @LTHREAD_DEFS@
14 $(MAKE) $(MFLAGS) libback-shell.a
16 libback-shell.a: version.o
17 $(AR) ruv $@ $(OBJS) version.o
23 (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
24 t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
25 -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
26 -e "s|%VERSION%|$${v}|" \