1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/lib/librpc/Makefile
1994-05-27 05:00:24 +00:00

31 lines
699 B
Makefile

#
# @(#)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
# These are not used by BSD except portmap which lives in
# /usr/src/usr.sbin/portmap.
# SUBDIR= rpcgen etc rpcsvc
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: