mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
e99eab787f
See README 1.27 log
32 lines
619 B
Makefile
32 lines
619 B
Makefile
# $OpenLDAP$
|
|
|
|
SRCS= main.c
|
|
XSRCS= version.c
|
|
OBJS= main.o
|
|
|
|
UNIX_PRGS = in.xfingerd
|
|
PROGRAMS = $(@PLAT@_PRGS)
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
XLIBS = -lldap -llber -llutil
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
|
|
|
in.xfingerd : version.o
|
|
$(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
|
|
|
|
version.c: ${OBJS} ${LDAP_LIBDEPEND}
|
|
@-$(RM) $@
|
|
$(MKVERSION) in.xfingerd > $@
|
|
|
|
install-local: $(PROGRAMS) FORCE
|
|
-$(MKDIR) $(DESTDIR)$(libexecdir)
|
|
@( \
|
|
for prg in $(PROGRAMS); do \
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT) \
|
|
$(DESTDIR)$(libexecdir); \
|
|
done \
|
|
)
|
|
|