This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.15-353-g9a07f9d


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  9a07f9d01f1689e99e89bbb5ec48e6930da755f1 (commit)
      from  253ef9ae7fe0305eb88234cb4c610dac9c27d134 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9a07f9d01f1689e99e89bbb5ec48e6930da755f1

commit 9a07f9d01f1689e99e89bbb5ec48e6930da755f1
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Sat Mar 10 00:56:21 2012 +0000

    Use standard build rule to build rpcgen.

diff --git a/ChangeLog b/ChangeLog
index b95bb9d..dbc58e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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]
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)
diff --git a/sunrpc/rpcgen.c b/sunrpc/rpcgen.c
new file mode 100644
index 0000000..1b455ba
--- /dev/null
+++ b/sunrpc/rpcgen.c
@@ -0,0 +1,2 @@
+/* Empty file expected by glibc's standard build rules for
+   executables.  */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    7 +++++++
 sunrpc/Makefile |    6 ++----
 sunrpc/rpcgen.c |    2 ++
 3 files changed, 11 insertions(+), 4 deletions(-)
 create mode 100644 sunrpc/rpcgen.c


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]