7 LDAP_INCDIR= ../../include
8 LDAP_LIBDIR= ../../libraries
11 $(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
13 version.c: ${OBJS} $(LDAP_LIBDEPEND)
15 (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
16 t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
17 -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
18 -e "s|%VERSION%|$${v}|" \
19 < $(srcdir)/Version.c > $@)
21 install-local: $(PROGRAMS) FORCE
22 -$(MKDIR) $(libexecdir)
23 $(LTINSTALL) $(INSTALLFLAGS) -m 755 mail500 $(libexecdir)