diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-03-10 00:56:21 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-03-10 00:56:21 +0000 |
commit | 9a07f9d01f1689e99e89bbb5ec48e6930da755f1 (patch) | |
tree | 1743d212f2a25e1b3e9c44d92e8bbfa9e362887e /sunrpc/Makefile | |
parent | 253ef9ae7fe0305eb88234cb4c610dac9c27d134 (diff) | |
download | glibc-9a07f9d01f1689e99e89bbb5ec48e6930da755f1.zip glibc-9a07f9d01f1689e99e89bbb5ec48e6930da755f1.tar.gz glibc-9a07f9d01f1689e99e89bbb5ec48e6930da755f1.tar.bz2 |
Use standard build rule to build rpcgen.
Diffstat (limited to 'sunrpc/Makefile')
-rw-r--r-- | sunrpc/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sunrpc/Makefile b/sunrpc/Makefile index 329d3f3..e0339ad 100644 --- a/sunrpc/Makefile +++ b/sunrpc/Makefile @@ -86,6 +86,7 @@ rpcgen-objs = rpc_main.o rpc_hout.o rpc_cout.o rpc_parse.o \ 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. @@ -149,10 +150,7 @@ $(objpfx)tst-getmyaddr: $(common-objpfx)linkobj/libc.so $(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) |