386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Thu, 23 Aug 1990 23:02:50 +0000 (15:02 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Thu, 23 Aug 1990 23:02:50 +0000 (15:02 -0800)
Work on file usr/src/lib/librpc/Makefile

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/src/lib/librpc/Makefile [new file with mode: 0644]

diff --git a/usr/src/lib/librpc/Makefile b/usr/src/lib/librpc/Makefile
new file mode 100644 (file)
index 0000000..bafff29
--- /dev/null
@@ -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:
+