]> git.sur5r.net Git - openldap/blob - clients/mail500/Makefile.in
* build/top.mk: removed references to TMPROOT and added DESTDIR support
[openldap] / clients / mail500 / Makefile.in
1 # $OpenLDAP$
2
3 PROGRAMS= mail500
4
5 SRCS=   main.c
6 XSRCS= version.c
7 OBJS=   main.o
8
9 LDAP_INCDIR= ../../include
10 LDAP_LIBDIR= ../../libraries
11
12 XLIBS =  -lldap -llber -llutil
13 XXLIBS  = $(SECURITY_LIBS) $(LUTIL_LIBS)
14
15 mail500 : version.o
16         $(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
17
18 version.c: ${OBJS} $(LDAP_LIBDEPEND)
19         @-$(RM) $@
20         $(MKVERSION) mail500 > $@
21
22 install-local: $(PROGRAMS) FORCE
23         -$(MKDIR) $(DESTDIR)$(libexecdir)
24         $(LTINSTALL) $(INSTALLFLAGS) -m 755 mail500 $(DESTDIR)$(libexecdir)