mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
dba57a312c
identification strings compatible with ident(1) and what(1). Uses $(VERSION) generated from configure.in. rm build/version rm old version .c files
22 lines
460 B
Makefile
22 lines
460 B
Makefile
SRCS= main.c
|
|
XSRCS= version.c
|
|
OBJS= main.o
|
|
PROGRAMS= in.xfingerd
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
XLIBS = -lldap -llber -llutil
|
|
XXLIBS = $(KRB_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) $(libexecdir)
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 in.xfingerd $(libexecdir)
|