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
|
1999-10-28 15:31:59 +08:00
|
|
|
|
|
|
|
UNIX_PRGS = in.xfingerd
|
|
|
|
PROGRAMS = $(@PLAT@_PRGS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
1999-01-14 09:31:43 +08:00
|
|
|
XLIBS = -lldap -llber -llutil
|
1999-08-05 10:25:19 +08:00
|
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
1999-01-10 10:25:41 +08:00
|
|
|
|
1998-10-25 09:41:42 +08:00
|
|
|
in.xfingerd : version.o
|
1998-11-22 12:22:28 +08:00
|
|
|
$(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
version.c: ${OBJS} ${LDAP_LIBDEPEND}
|
1999-04-28 13:40:17 +08:00
|
|
|
@-$(RM) $@
|
|
|
|
$(MKVERSION) in.xfingerd > $@
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-11-22 12:22:28 +08:00
|
|
|
install-local: $(PROGRAMS) FORCE
|
1999-09-23 05:51:30 +08:00
|
|
|
-$(MKDIR) $(DESTDIR)$(libexecdir)
|
1999-10-28 15:31:59 +08:00
|
|
|
@( \
|
|
|
|
for prg in $(PROGRAMS); do \
|
|
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT) \
|
|
|
|
$(DESTDIR)$(libexecdir); \
|
|
|
|
done \
|
|
|
|
)
|
|
|
|
|