Make yppush compile again when obj directory exists. *groan*

This commit is contained in:
Bill Paul 1995-04-02 16:00:30 +00:00
parent 3eeb5bdcb3
commit 56e74043f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7587
2 changed files with 3 additions and 4 deletions

View File

@ -1,12 +1,11 @@
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90 # from: @(#)Makefile 5.8 (Berkeley) 7/28/90
# $Id: Makefile,v 1.4 1995/03/02 21:59:51 wpaul Exp $ # $Id: Makefile,v 1.3 1995/04/02 01:10:08 wpaul Exp $
PROG= yppush PROG= yppush
SRCS= yp_svc.c yp_clnt.c yppush.c SRCS= yp_svc.c yp_clnt.c yppush.c
MAN8= yppush.8 MAN8= yppush.8
CLEANFILES= yp_svc.c yp_clnt.c yp.h yp.x CLEANFILES= yp_svc.c yp_clnt.c yp.h yp.x
LDADD=/usr/src/lib/libc/obj/libc.a
yp_svc.c: yp.h yp_svc.c: yp.h
rm -f yp.x rm -f yp.x

View File

@ -18,7 +18,7 @@
Modified for use with FreeBSD 2.x by Bill Paul (wpaul@ctr.columbia.edu) Modified for use with FreeBSD 2.x by Bill Paul (wpaul@ctr.columbia.edu)
$Id: yppush.c,v 1.2 1995/02/05 21:48:00 wpaul Exp $ $Id: yppush.c,v 1.3 1995/04/02 01:10:13 wpaul Exp $
*/ */
#include <stdio.h> #include <stdio.h>
@ -28,7 +28,7 @@
#include <signal.h> #include <signal.h>
#include <rpc/rpc.h> #include <rpc/rpc.h>
#include <paths.h> #include <paths.h>
#include "yp.h" #include <rpcsvc/yp.h>
/* /*
* ypclnt.h does not have a definition for struct dom_binding, * ypclnt.h does not have a definition for struct dom_binding,
* although it is used there. It is defined in yp_prot.h, but * although it is used there. It is defined in yp_prot.h, but