summaryrefslogtreecommitdiff
path: root/usr/src/tools
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2020-05-28 11:45:02 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2020-05-28 11:45:02 +0000
commitca12249c9d3a839d51477c843e135ba49408c537 (patch)
tree6f02afaa57b11f5f0225a4b9e9687342b4614b29 /usr/src/tools
parent4bed2831a184edd4530dcb078dc9725887e8a0c7 (diff)
parent4adc6f153a42519cb03b97bf215e1d4823300ebe (diff)
downloadillumos-joyent-ca12249c9d3a839d51477c843e135ba49408c537.tar.gz
[illumos-gate merge]
commit 4adc6f153a42519cb03b97bf215e1d4823300ebe 12785 grep -h ignored with -r commit c9ad389f76487048d6fde034960b0f5edfb778d7 12788 fix tst.include.ksh for ddi_ufm.h commit 2aeafac3612e19716bf8164f89c3c9196342979c 12787 build needs native rpcgen
Diffstat (limited to 'usr/src/tools')
-rw-r--r--usr/src/tools/Makefile1
-rw-r--r--usr/src/tools/rpcgen/Makefile37
2 files changed, 38 insertions, 0 deletions
diff --git a/usr/src/tools/Makefile b/usr/src/tools/Makefile
index 60c74fb342..64bd18f4e0 100644
--- a/usr/src/tools/Makefile
+++ b/usr/src/tools/Makefile
@@ -77,6 +77,7 @@ UNSHIPPED_SUBDIRS = \
localedef \
man \
mandoc \
+ rpcgen \
tic \
vtfontcvt \
zic
diff --git a/usr/src/tools/rpcgen/Makefile b/usr/src/tools/rpcgen/Makefile
new file mode 100644
index 0000000000..6108ec0700
--- /dev/null
+++ b/usr/src/tools/rpcgen/Makefile
@@ -0,0 +1,37 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2020 Toomas Soome <tsoome@me.com>
+#
+
+CMDDIR= $(SRC)/cmd/rpcgen
+
+include ../Makefile.tools
+include $(CMDDIR)/Makefile.common
+
+.KEEP_STATE:
+
+all: $(PROG)
+
+install: all .WAIT $(ROOTONBLDMACHPROG)
+
+clean:
+ $(RM) $(PROG) $(OBJS)
+
+$(PROG): $(OBJS)
+ $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
+ $(POST_PROCESS)
+
+%.o: $(CMDDIR)/%.c
+ $(COMPILE.c) -o $@ $<
+
+include ../Makefile.targ