+2012-03-10 Joseph Myers <joseph@codesourcery.com>
+
+ * sunrpc/Makefile (others): Add rpcgen.
+ ($(objpfx)rpcgen): Remove special build rule and dependency on
+ libc.
+ * sunrpc/rpcgen.c: New file.
+
2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
[BZ #13673]
rpc_scan.o rpc_util.o rpc_svcout.o rpc_clntout.o \
rpc_tblout.o rpc_sample.o
extra-objs = $(rpcgen-objs)
+others += rpcgen
all: # Make this the default target; it will be defined in Rules.
$(objpfx)tst-xdrmem: $(common-objpfx)linkobj/libc.so
$(objpfx)tst-xdrmem2: $(common-objpfx)linkobj/libc.so
-$(objpfx)rpcgen: $(addprefix $(objpfx),$(rpcgen-objs)) \
- $(sort $(filter $(common-objpfx)libc%,$(link-libc))) \
- $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
- $(+link)
+$(objpfx)rpcgen: $(addprefix $(objpfx),$(rpcgen-objs))
# This makes sure -DNOT_IN_libc is passed for all these modules.
cpp-srcs-left := $(rpcgen-objs:.o=.c)