openldap/clients/finger/Makefile.in

32 lines
622 B
Makefile
Raw Normal View History

1999-09-02 08:52:43 +08:00
# $OpenLDAP$
1998-10-25 09:41:42 +08:00
SRCS= main.c
XSRCS= version.c
OBJS= main.o
UNIX_PRGS = in.xfingerd
PROGRAMS = $(@PLAT@_PRGS)
1998-10-25 09:41:42 +08:00
LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries
XLIBS = -lldap -llber -llutil
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
1998-10-25 09:41:42 +08:00
in.xfingerd : version.o
$(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
1998-10-25 09:41:42 +08:00
version.c: ${OBJS} ${LDAP_LIBDEPEND}
@-$(RM) $@
$(MKVERSION) in.xfingerd > $@
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 \
)