head	1.9;
access;
symbols
	RELENG_2_1_7_RELEASE:1.7.4.1
	RELENG_2_1_6_1_RELEASE:1.7.4.1
	RELENG_2_1_6_RELEASE:1.7.4.1
	RELENG_2_1_5_RELEASE:1.7.4.1
	RELENG_2_1_0_RELEASE:1.7.4.1
	RELENG_2_1_0:1.7.0.4
	RELENG_2_1_0_BP:1.7
	RELENG_2_0_5_RELEASE:1.7
	RELENG_2_0_5:1.7.0.2
	RELENG_2_0_5_BP:1.7
	RELENG_2_0_5_ALPHA:1.6;
locks; strict;
comment	@# @;


1.9
date	96.01.12.06.46.17;	author wpaul;	state dead;
branches;
next	1.8;

1.8
date	95.07.04.08.39.27;	author bde;	state Exp;
branches;
next	1.7;

1.7
date	95.05.30.05.05.19;	author rgrimes;	state Exp;
branches
	1.7.4.1;
next	1.6;

1.6
date	95.04.02.20.28.09;	author wpaul;	state Exp;
branches;
next	1.5;

1.5
date	95.04.02.20.01.48;	author wpaul;	state Exp;
branches;
next	1.4;

1.4
date	95.04.02.16.00.28;	author wpaul;	state Exp;
branches;
next	1.3;

1.3
date	95.04.02.01.10.08;	author wpaul;	state Exp;
branches;
next	1.2;

1.2
date	95.02.05.21.47.51;	author wpaul;	state Exp;
branches;
next	1.1;

1.1
date	95.01.31.09.47.04;	author wpaul;	state Exp;
branches;
next	;

1.7.4.1
date	95.08.30.07.16.34;	author davidg;	state Exp;
branches;
next	1.7.4.2;

1.7.4.2
date	99.09.05.11.11.30;	author peter;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Toss the old yppush into the attic.
@
text
@#	from: @@(#)Makefile	5.8 (Berkeley) 7/28/90
#	$Id: Makefile,v 1.8 1995/07/04 08:39:27 bde Exp wpaul $

PROG=	yppush
SRCS=	yp_clnt.c yppush.c

MAN8=	yppush.8
CLEANFILES= yp_clnt.c yp.h

RPCSRC=	${DESTDIR}/usr/include/rpcsvc/yp.x

yp_clnt.c: ${RPCSRC} yp.h
	rpcgen -l -o ${.TARGET} ${RPCSRC}

yp.h: ${RPCSRC}
	rpcgen -h -o ${.TARGET} ${RPCSRC}

.include <bsd.prog.mk>
@


1.8
log
@Add a dependency on the .x source file and avoid copying it.

bootparam_prot.x was changed for nfsv3 but bootparamd and callbootd
kept using the old version which fortunately failed at build time.
Copying hasn't been necessary since path handling was fixed in
rpcgen/rpc_main.c some time ago.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1995/05/30 05:05:19 rgrimes Exp $
@


1.7
log
@Remove trailing whitespace.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1995/04/02 20:28:09 wpaul Exp $
d8 1
a8 1
CLEANFILES= yp_clnt.c yp.h yp.x
d10 1
a10 4
yp_clnt.c: yp.h
	rm -f yp.x
	cp ${DESTDIR}/usr/include/rpcsvc/yp.x .
	rpcgen  -l -o yp_clnt.c yp.x
d12 5
a16 4
yp.h:
	rm -f yp.x
	cp ${DESTDIR}/usr/include/rpcsvc/yp.x .
	rpcgen  -h -o yp.h yp.x
@


1.7.4.1
log
@Brought in change from rev 1.8: fix dependency
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1995/05/30 05:05:19 rgrimes Exp $
d8 1
a8 1
CLEANFILES= yp_clnt.c yp.h
d10 4
a13 1
RPCSRC=	${DESTDIR}/usr/include/rpcsvc/yp.x
d15 4
a18 5
yp_clnt.c: ${RPCSRC} yp.h
	rpcgen -l -o ${.TARGET} ${RPCSRC}

yp.h: ${RPCSRC}
	rpcgen -h -o ${.TARGET} ${RPCSRC}
@


1.7.4.2
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.6
log
@Take yp_svc.c out of CLEANFILES rule.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.5 1995/04/02 20:01:48 wpaul Exp $
d15 1
a15 1
yp.h: 
@


1.5
log
@Add back some stuff to yppush.c that I was a little over-zealous in
removing. Also do away with compiling yp_svc.c: yppush doesn't need it.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.3 1995/04/02 01:10:08 wpaul Exp $
d8 1
a8 1
CLEANFILES= yp_svc.c yp_clnt.c yp.h yp.x
@


1.4
log
@Make yppush compile again when obj directory exists. *groan*
@
text
@d5 1
a5 1
SRCS=	yp_svc.c yp_clnt.c yppush.c
a8 5

yp_svc.c: yp.h
	rm -f yp.x
	cp ${DESTDIR}/usr/include/rpcsvc/yp.x .
	rpcgen  -m -o yp_svc.c yp.x
@


1.3
log
@Reduce yppush. Now that all the required yp_xdr functions are
in libc, we can get rid of the private/special copies of yp_*.c
files and rpcgen them at compile time instead. This leaves us with
just one unique source files: yppush.c
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.4 1995/03/02 21:59:51 wpaul Exp $
a8 1
LDADD=/usr/src/lib/libc/obj/libc.a
@


1.2
log
@Wrote manual page for yppush and edited Makefile to install it.
Added conditional definition for _PATH_YP in yppush.c in case _PATH_YP
isn't defined anywhere else.
@
text
@d1 2
d5 2
d8 12
d21 4
a24 1
SRCS= yppush.c yppush_s.c yp_clnt.c yp_xdr.c ypclnt.c
@


1.1
log
@Obtained from: The NYS project
This is a ported/modified version of the yppush program from the
yps-0.21 package from the NYS project. This program is used to propagate
updated NIS maps from an NIS master to an NIS slave. It's normally invoked
by /var/yp/Makefile.

This version of yppush has been modified in the following ways:

- Cleared up several Linux/BSD incompatibilities, largely involving
  header files.

- converted from GDBM to DB with extreme predjudice. (well, not really...)

- removed lots of ugly debugging code that really didn't do anyone any good.

- Fixed a couple of inaccurate/badly formatted error messages.

- Renamed some functions to avoid collisions with certain YP routines
  hidden inside libc.

- Small signal handling kludge: Linux has different struct sigaction
  that us.

- Incorporated some functions from the yps-0.21 library that yppush was
  dependent on.

Like ypxfr, this works, but could use come cleaning up.
@
text
@d3 1
a3 1
MAN8=
a5 3

BINOWN= bin
BINMODE=555
@
