head	1.5;
access;
symbols;
locks; strict;
comment	@# @;


1.5
date	94.05.23.14.47.09;	author md;	state Exp;
branches;
next	1.4;

1.4
date	94.05.23.07.11.36;	author md;	state Exp;
branches;
next	1.3;

1.3
date	94.05.23.06.37.38;	author md;	state Exp;
branches;
next	1.2;

1.2
date	94.05.22.16.41.40;	author md;	state Exp;
branches;
next	1.1;

1.1
date	90.08.23.23.02.35;	author md;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Add rpcsvc
@
text
@#	@@(#)Makefile	5.20 (Berkeley) 7/3/90

SUBDIR=	rpc rpcgen rpcsvc man
# These are not used by BSD except portmap which lives in
# /usr/src/usr.sbin/portmap.
#SUBDIR+=rpcgen etc rpcsvc

.include <bsd.subdir.mk>
@


1.4
log
@Add rpcgen
@
text
@d3 1
a3 1
SUBDIR=	rpc rpcgen man
@


1.3
log
@Build man pages too.
@
text
@d3 1
a3 1
SUBDIR=	rpc man
@


1.2
log
@Replace with a minimal 4.4 version
@
text
@d3 1
a3 1
SUBDIR=	rpc
@


1.1
log
@Initial revision
@
text
@d1 1
a1 11
#
# @@(#)Makefile	2.1 88/08/11 4.0 RPCSRC
#
#   Build and install everything.
#
# These directories are presumed to exist in DESTDIR:
#    /usr/lib /usr/bin /usr/include
#
DESTDIR=
CFLAGS=-O
MAKE=make
d3 1
d6 1
a6 1
# SUBDIR= rpcgen etc rpcsvc
d8 1
a8 14
all install:	rpclib ${SUBDIR}

rpclib:	FRC
	@@echo "Building and installing RPC library"
	cd rpc; $(MAKE) ${MFLAGS} all DESTDIR=${DESTDIR}; \
        $(MAKE) ${MFLAGS} install DESTDIR=${DESTDIR}

${SUBDIR}:	FRC
	@@echo "Building and installing files from: $@@"
	cd $@@; $(MAKE) ${MFLAGS} DESTDIR=${DESTDIR} CFLAGS=${CFLAGS};\
        $(MAKE) ${MFLAGS} install DESTDIR=${DESTDIR}

FRC:

@
