openldap/clients/mail500/Makefile.in

32 lines
589 B
Makefile
Raw Normal View History

1999-09-02 08:52:43 +08:00
# $OpenLDAP$
UNIX_PRGS = mail500
PROGRAMS = $(@PLAT@_PRGS)
1998-10-25 09:41:42 +08:00
SRCS= main.c
XSRCS= version.c
OBJS= main.o
LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries
XLIBS = $(LDAP_L)
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
1998-10-25 09:41:42 +08:00
mail500 : version.o
$(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
1998-10-25 09:41:42 +08:00
version.c: $(OBJS) $(XLIBS)
@-$(RM) $@
$(MKVERSION) mail500 > $@
1998-10-25 09:41:42 +08:00
install-local: $(PROGRAMS) FORCE
-$(MKDIR) $(DESTDIR)$(libexecdir)
@( \
for prg in $(PROGRAMS); do \
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \
$(DESTDIR)$(libexecdir); \
done \
)