summaryrefslogtreecommitdiff
path: root/lib/librpc/Makefile
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1994-05-27 05:00:24 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1994-05-27 05:00:24 +0000
commit58f0484fa251c266ede97b591b499fe3dd4f578e (patch)
tree41932a7161f4cd72005330a9c69747e7bab2ee5b /lib/librpc/Makefile
parentfb49e767ba942f74b1cee8814e085e5f2615ac53 (diff)
Notes
Diffstat (limited to 'lib/librpc/Makefile')
-rw-r--r--lib/librpc/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/librpc/Makefile b/lib/librpc/Makefile
new file mode 100644
index 000000000000..bafff291ebd0
--- /dev/null
+++ b/lib/librpc/Makefile
@@ -0,0 +1,30 @@
+#
+# @(#)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:
+