Index: rpc/Makefile
===================================================================
--- rpc/Makefile	(revision 271)
+++ rpc/Makefile	(working copy)
@@ -1,12 +1,7 @@
 # uClibc rpc tests
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 
-TESTS := getrpcent
-
-ifeq ($(UCLIBC_HAS_REENTRANT_RPC),y)
-TESTS += getrpcent_r
-endif
-
+top_builddir=../../
+include ../Rules.mak
+include Makefile.in
 include ../Test.mak
-
-DODIFF_getrpcent := 1
Index: Test.mak
===================================================================
--- Test.mak	(revision 271)
+++ Test.mak	(working copy)
@@ -18,9 +18,6 @@
 $(error Sanity check: cannot have a test named "test.c")
 endif
 
-top_builddir = ../../
-include ../Rules.mak
-
 U_TARGETS := $(TESTS)
 G_TARGETS := $(patsubst %,%_glibc,$(U_TARGETS))
 
Index: rpc/Makefile.in
===================================================================
--- rpc/Makefile.in	(revision 0)
+++ rpc/Makefile.in	(revision 0)
@@ -0,0 +1,11 @@
+# uClibc rpc tests
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+
+TESTS := getrpcent
+
+ifeq ($(UCLIBC_HAS_REENTRANT_RPC),y)
+TESTS += getrpcent_r
+endif
+
+DODIFF_getrpcent := 1
+
