mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
434584a95a
This program does what the old one did, PLUS: - Supports parallel jobs (like the SunOS yppush) - Does everything in one proces instead of fork()ing off children processes as callback listeners (this is done using async socket I/O). - Can be used to transmit maps to user-specified hosts. - Has a much more verbose verbose option. - Reuses existing code from ypserv and ypxfr. - Uses some rpcgen-erated code as well. - Isn't fattening. :) Note that this is going in /usr/sbin rather than /usr/bin like the old one. yppush is an administrative command it it's anything.
27 lines
632 B
Makefile
27 lines
632 B
Makefile
# $Id: Makefile,v 1.6 1995/12/16 04:03:02 wpaul Exp $
|
|
|
|
PROG= yppush
|
|
SRCS= yp_clnt.c ypxfr_getmap.c yp_dblookup.c yppush_svc.c \
|
|
yp_error.c ypxfr_misc.c yppush_main.c
|
|
|
|
.PATH: ${.CURDIR}/../ypserv ${.CURDIR}/../../libexec/ypxfr
|
|
|
|
MAN8= yppush.8
|
|
CFLAGS+=-I. -I${.CURDIR}/../../libexec/ypxfr
|
|
|
|
CLEANFILES= yp.h yp_clnt.c yppush_svc.c
|
|
|
|
RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/yp.x
|
|
RPCGEN= rpcgen -C
|
|
|
|
yppush_svc.c: ${RPCSRC} yp.h
|
|
${RPCGEN} -DYPPUSH_ONLY -m -o ${.TARGET} ${RPCSRC}
|
|
|
|
yp_clnt.c: ${RPCSRC} yp.h
|
|
${RPCGEN} -DYPSERV_ONLY -l -o ${.TARGET} ${RPCSRC}
|
|
|
|
yp.h: ${RPCSRC}
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|
|
|
|
.include <bsd.prog.mk>
|