summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--extra/scripts/Makefile.arch.lvl34
-rw-r--r--extra/scripts/Makefile.arch.lvl44
-rw-r--r--extra/scripts/Makefile.libs.lvl04
-rw-r--r--extra/scripts/Makefile.libs.lvl14
-rw-r--r--extra/scripts/Makefile.libs.lvl24
-rw-r--r--extra/scripts/Makefile.objs.lvl24
-rw-r--r--extra/scripts/Makefile.objs.lvl34
-rw-r--r--extra/scripts/Makefile.objs.lvl44
-rw-r--r--ldso/Makefile4
-rw-r--r--ldso/ldso/Makefile4
-rw-r--r--ldso/libdl/Makefile4
-rw-r--r--libc/Makefile4
-rw-r--r--libc/inet/Makefile4
-rw-r--r--libc/inet/rpc/Makefile4
-rw-r--r--libc/misc/Makefile4
-rw-r--r--libc/misc/assert/Makefile4
-rw-r--r--libc/misc/ctype/Makefile4
-rw-r--r--libc/misc/dirent/Makefile4
-rw-r--r--libc/misc/error/Makefile4
-rw-r--r--libc/misc/file/Makefile4
-rw-r--r--libc/misc/fnmatch/Makefile4
-rw-r--r--libc/misc/ftw/Makefile4
-rw-r--r--libc/misc/glob/Makefile4
-rw-r--r--libc/misc/gnu/Makefile4
-rw-r--r--libc/misc/internals/Makefile4
-rw-r--r--libc/misc/intl/Makefile4
-rw-r--r--libc/misc/locale/Makefile4
-rw-r--r--libc/misc/mntent/Makefile4
-rw-r--r--libc/misc/pthread/Makefile4
-rw-r--r--libc/misc/regex/Makefile4
-rw-r--r--libc/misc/search/Makefile4
-rw-r--r--libc/misc/statfs/Makefile4
-rw-r--r--libc/misc/syslog/Makefile4
-rw-r--r--libc/misc/sysvipc/Makefile4
-rw-r--r--libc/misc/time/Makefile4
-rw-r--r--libc/misc/ttyent/Makefile4
-rw-r--r--libc/misc/utmp/Makefile4
-rw-r--r--libc/misc/wchar/Makefile4
-rw-r--r--libc/misc/wctype/Makefile4
-rw-r--r--libc/misc/wordexp/Makefile4
-rw-r--r--libc/pwd_grp/Makefile4
-rw-r--r--libc/signal/Makefile4
-rw-r--r--libc/stdio/Makefile4
-rw-r--r--libc/stdlib/Makefile4
-rw-r--r--libc/stdlib/malloc-simple/Makefile4
-rw-r--r--libc/stdlib/malloc-standard/Makefile4
-rw-r--r--libc/stdlib/malloc/Makefile4
-rw-r--r--libc/string/Makefile4
-rw-r--r--libc/string/arm/Makefile4
-rw-r--r--libc/string/frv/Makefile4
-rw-r--r--libc/string/generic/Makefile4
-rw-r--r--libc/string/i386/Makefile4
-rw-r--r--libc/string/mips/Makefile4
-rw-r--r--libc/string/powerpc/Makefile4
-rw-r--r--libc/string/sh64/Makefile4
-rw-r--r--libc/string/sparc/Makefile4
-rw-r--r--libc/string/x86_64/Makefile4
-rw-r--r--libc/sysdeps/Makefile4
-rw-r--r--libc/sysdeps/linux/Makefile4
-rw-r--r--libc/sysdeps/linux/alpha/Makefile4
-rw-r--r--libc/sysdeps/linux/arm/Makefile4
-rw-r--r--libc/sysdeps/linux/common/Makefile4
-rw-r--r--libc/sysdeps/linux/cris/Makefile4
-rw-r--r--libc/sysdeps/linux/hppa/Makefile4
-rw-r--r--libc/sysdeps/linux/i386/Makefile4
-rw-r--r--libc/sysdeps/linux/m68k/Makefile4
-rw-r--r--libc/sysdeps/linux/mips/Makefile4
-rw-r--r--libc/sysdeps/linux/powerpc/Makefile4
-rw-r--r--libc/sysdeps/linux/sh/Makefile4
-rw-r--r--libc/sysdeps/linux/sparc/Makefile4
-rw-r--r--libc/sysdeps/linux/x86_64/Makefile4
-rw-r--r--libc/termios/Makefile4
-rw-r--r--libc/unistd/Makefile4
-rw-r--r--libcrypt/Makefile4
-rw-r--r--libintl/Makefile4
-rw-r--r--libm/Makefile4
-rw-r--r--libnsl/Makefile4
-rw-r--r--libpthread/Makefile4
-rw-r--r--libpthread/linuxthreads.old/Makefile4
-rw-r--r--libpthread/linuxthreads.old_db/Makefile4
-rw-r--r--libpthread/linuxthreads_db/Makefile4
-rw-r--r--libresolv/Makefile4
-rw-r--r--librt/Makefile4
-rw-r--r--libutil/Makefile4
85 files changed, 85 insertions, 255 deletions
diff --git a/Makefile b/Makefile
index 655d04313..4709fc2ca 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=./
-
-top_srcdir=$(TOPDIR)
+top_srcdir=./
top_builddir=./
#include $(top_builddir)Rules.mak
#all: libs
diff --git a/extra/scripts/Makefile.arch.lvl3 b/extra/scripts/Makefile.arch.lvl3
index a7cbf6fa1..ac0063770 100644
--- a/extra/scripts/Makefile.arch.lvl3
+++ b/extra/scripts/Makefile.arch.lvl3
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/extra/scripts/Makefile.arch.lvl4 b/extra/scripts/Makefile.arch.lvl4
index b1bf1ef10..633c91f3e 100644
--- a/extra/scripts/Makefile.arch.lvl4
+++ b/extra/scripts/Makefile.arch.lvl4
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/extra/scripts/Makefile.libs.lvl0 b/extra/scripts/Makefile.libs.lvl0
index 655d04313..4709fc2ca 100644
--- a/extra/scripts/Makefile.libs.lvl0
+++ b/extra/scripts/Makefile.libs.lvl0
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=./
-
-top_srcdir=$(TOPDIR)
+top_srcdir=./
top_builddir=./
#include $(top_builddir)Rules.mak
#all: libs
diff --git a/extra/scripts/Makefile.libs.lvl1 b/extra/scripts/Makefile.libs.lvl1
index 2dea1b3e9..c8dc9b466 100644
--- a/extra/scripts/Makefile.libs.lvl1
+++ b/extra/scripts/Makefile.libs.lvl1
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs
diff --git a/extra/scripts/Makefile.libs.lvl2 b/extra/scripts/Makefile.libs.lvl2
index f92f205a5..f9100219a 100644
--- a/extra/scripts/Makefile.libs.lvl2
+++ b/extra/scripts/Makefile.libs.lvl2
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
include $(top_builddir)Rules.mak
all: libs
diff --git a/extra/scripts/Makefile.objs.lvl2 b/extra/scripts/Makefile.objs.lvl2
index 41567d9e9..11f362a5e 100644
--- a/extra/scripts/Makefile.objs.lvl2
+++ b/extra/scripts/Makefile.objs.lvl2
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/extra/scripts/Makefile.objs.lvl3 b/extra/scripts/Makefile.objs.lvl3
index 493484b27..4a8f4a072 100644
--- a/extra/scripts/Makefile.objs.lvl3
+++ b/extra/scripts/Makefile.objs.lvl3
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/extra/scripts/Makefile.objs.lvl4 b/extra/scripts/Makefile.objs.lvl4
index 4f2969fcd..3ed177ae2 100644
--- a/extra/scripts/Makefile.objs.lvl4
+++ b/extra/scripts/Makefile.objs.lvl4
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/ldso/Makefile b/ldso/Makefile
index 2dea1b3e9..c8dc9b466 100644
--- a/ldso/Makefile
+++ b/ldso/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index f92f205a5..f9100219a 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
include $(top_builddir)Rules.mak
all: libs
diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile
index f92f205a5..f9100219a 100644
--- a/ldso/libdl/Makefile
+++ b/ldso/libdl/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libc/Makefile b/libc/Makefile
index 2dea1b3e9..c8dc9b466 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libc/inet/Makefile b/libc/inet/Makefile
index 41567d9e9..11f362a5e 100644
--- a/libc/inet/Makefile
+++ b/libc/inet/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/inet/rpc/Makefile b/libc/inet/rpc/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/inet/rpc/Makefile
+++ b/libc/inet/rpc/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/Makefile b/libc/misc/Makefile
index 41567d9e9..11f362a5e 100644
--- a/libc/misc/Makefile
+++ b/libc/misc/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/assert/Makefile b/libc/misc/assert/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/assert/Makefile
+++ b/libc/misc/assert/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/ctype/Makefile b/libc/misc/ctype/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/ctype/Makefile
+++ b/libc/misc/ctype/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/dirent/Makefile b/libc/misc/dirent/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/dirent/Makefile
+++ b/libc/misc/dirent/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/error/Makefile b/libc/misc/error/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/error/Makefile
+++ b/libc/misc/error/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/file/Makefile b/libc/misc/file/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/file/Makefile
+++ b/libc/misc/file/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/fnmatch/Makefile b/libc/misc/fnmatch/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/fnmatch/Makefile
+++ b/libc/misc/fnmatch/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/ftw/Makefile b/libc/misc/ftw/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/ftw/Makefile
+++ b/libc/misc/ftw/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/glob/Makefile b/libc/misc/glob/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/glob/Makefile
+++ b/libc/misc/glob/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/gnu/Makefile b/libc/misc/gnu/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/gnu/Makefile
+++ b/libc/misc/gnu/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/internals/Makefile
+++ b/libc/misc/internals/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/intl/Makefile b/libc/misc/intl/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/intl/Makefile
+++ b/libc/misc/intl/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/locale/Makefile b/libc/misc/locale/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/locale/Makefile
+++ b/libc/misc/locale/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/mntent/Makefile b/libc/misc/mntent/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/mntent/Makefile
+++ b/libc/misc/mntent/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/pthread/Makefile b/libc/misc/pthread/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/pthread/Makefile
+++ b/libc/misc/pthread/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/regex/Makefile b/libc/misc/regex/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/regex/Makefile
+++ b/libc/misc/regex/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/search/Makefile b/libc/misc/search/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/search/Makefile
+++ b/libc/misc/search/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/statfs/Makefile b/libc/misc/statfs/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/statfs/Makefile
+++ b/libc/misc/statfs/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/syslog/Makefile b/libc/misc/syslog/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/syslog/Makefile
+++ b/libc/misc/syslog/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/sysvipc/Makefile b/libc/misc/sysvipc/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/sysvipc/Makefile
+++ b/libc/misc/sysvipc/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/time/Makefile b/libc/misc/time/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/time/Makefile
+++ b/libc/misc/time/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/ttyent/Makefile b/libc/misc/ttyent/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/ttyent/Makefile
+++ b/libc/misc/ttyent/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/utmp/Makefile b/libc/misc/utmp/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/utmp/Makefile
+++ b/libc/misc/utmp/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/wchar/Makefile b/libc/misc/wchar/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/wchar/Makefile
+++ b/libc/misc/wchar/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/wctype/Makefile b/libc/misc/wctype/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/wctype/Makefile
+++ b/libc/misc/wctype/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/misc/wordexp/Makefile b/libc/misc/wordexp/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/misc/wordexp/Makefile
+++ b/libc/misc/wordexp/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/pwd_grp/Makefile b/libc/pwd_grp/Makefile
index 41567d9e9..11f362a5e 100644
--- a/libc/pwd_grp/Makefile
+++ b/libc/pwd_grp/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/signal/Makefile b/libc/signal/Makefile
index 41567d9e9..11f362a5e 100644
--- a/libc/signal/Makefile
+++ b/libc/signal/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/stdio/Makefile b/libc/stdio/Makefile
index 41567d9e9..11f362a5e 100644
--- a/libc/stdio/Makefile
+++ b/libc/stdio/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile
index 41567d9e9..11f362a5e 100644
--- a/libc/stdlib/Makefile
+++ b/libc/stdlib/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/stdlib/malloc-simple/Makefile b/libc/stdlib/malloc-simple/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/stdlib/malloc-simple/Makefile
+++ b/libc/stdlib/malloc-simple/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/stdlib/malloc-standard/Makefile b/libc/stdlib/malloc-standard/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/stdlib/malloc-standard/Makefile
+++ b/libc/stdlib/malloc-standard/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/stdlib/malloc/Makefile b/libc/stdlib/malloc/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/stdlib/malloc/Makefile
+++ b/libc/stdlib/malloc/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/string/Makefile b/libc/string/Makefile
index 41567d9e9..11f362a5e 100644
--- a/libc/string/Makefile
+++ b/libc/string/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/string/arm/Makefile b/libc/string/arm/Makefile
index a7cbf6fa1..ac0063770 100644
--- a/libc/string/arm/Makefile
+++ b/libc/string/arm/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/string/frv/Makefile b/libc/string/frv/Makefile
index a7cbf6fa1..ac0063770 100644
--- a/libc/string/frv/Makefile
+++ b/libc/string/frv/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/string/generic/Makefile b/libc/string/generic/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/string/generic/Makefile
+++ b/libc/string/generic/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/string/i386/Makefile b/libc/string/i386/Makefile
index a7cbf6fa1..ac0063770 100644
--- a/libc/string/i386/Makefile
+++ b/libc/string/i386/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/string/mips/Makefile b/libc/string/mips/Makefile
index a7cbf6fa1..ac0063770 100644
--- a/libc/string/mips/Makefile
+++ b/libc/string/mips/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/string/powerpc/Makefile b/libc/string/powerpc/Makefile
index a7cbf6fa1..ac0063770 100644
--- a/libc/string/powerpc/Makefile
+++ b/libc/string/powerpc/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/string/sh64/Makefile b/libc/string/sh64/Makefile
index a7cbf6fa1..ac0063770 100644
--- a/libc/string/sh64/Makefile
+++ b/libc/string/sh64/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/string/sparc/Makefile b/libc/string/sparc/Makefile
index a7cbf6fa1..ac0063770 100644
--- a/libc/string/sparc/Makefile
+++ b/libc/string/sparc/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/string/x86_64/Makefile b/libc/string/x86_64/Makefile
index a7cbf6fa1..ac0063770 100644
--- a/libc/string/x86_64/Makefile
+++ b/libc/string/x86_64/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/Makefile b/libc/sysdeps/Makefile
index 41567d9e9..11f362a5e 100644
--- a/libc/sysdeps/Makefile
+++ b/libc/sysdeps/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/Makefile b/libc/sysdeps/linux/Makefile
index 493484b27..4a8f4a072 100644
--- a/libc/sysdeps/linux/Makefile
+++ b/libc/sysdeps/linux/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../
top_builddir=../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/alpha/Makefile b/libc/sysdeps/linux/alpha/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/alpha/Makefile
+++ b/libc/sysdeps/linux/alpha/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/arm/Makefile b/libc/sysdeps/linux/arm/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/arm/Makefile
+++ b/libc/sysdeps/linux/arm/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index 4f2969fcd..3ed177ae2 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/cris/Makefile b/libc/sysdeps/linux/cris/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/cris/Makefile
+++ b/libc/sysdeps/linux/cris/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/hppa/Makefile b/libc/sysdeps/linux/hppa/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/hppa/Makefile
+++ b/libc/sysdeps/linux/hppa/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/i386/Makefile
+++ b/libc/sysdeps/linux/i386/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/m68k/Makefile
+++ b/libc/sysdeps/linux/m68k/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/mips/Makefile
+++ b/libc/sysdeps/linux/mips/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/powerpc/Makefile b/libc/sysdeps/linux/powerpc/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/powerpc/Makefile
+++ b/libc/sysdeps/linux/powerpc/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/sh/Makefile b/libc/sysdeps/linux/sh/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/sh/Makefile
+++ b/libc/sysdeps/linux/sh/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/sparc/Makefile b/libc/sysdeps/linux/sparc/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/sparc/Makefile
+++ b/libc/sysdeps/linux/sparc/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/sysdeps/linux/x86_64/Makefile b/libc/sysdeps/linux/x86_64/Makefile
index b1bf1ef10..633c91f3e 100644
--- a/libc/sysdeps/linux/x86_64/Makefile
+++ b/libc/sysdeps/linux/x86_64/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../../../
top_builddir=../../../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/termios/Makefile b/libc/termios/Makefile
index 41567d9e9..11f362a5e 100644
--- a/libc/termios/Makefile
+++ b/libc/termios/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile
index 41567d9e9..11f362a5e 100644
--- a/libc/unistd/Makefile
+++ b/libc/unistd/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
all: objs
include $(top_builddir)Rules.mak
diff --git a/libcrypt/Makefile b/libcrypt/Makefile
index 2dea1b3e9..c8dc9b466 100644
--- a/libcrypt/Makefile
+++ b/libcrypt/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libintl/Makefile b/libintl/Makefile
index 2dea1b3e9..c8dc9b466 100644
--- a/libintl/Makefile
+++ b/libintl/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libm/Makefile b/libm/Makefile
index 2dea1b3e9..c8dc9b466 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libnsl/Makefile b/libnsl/Makefile
index 2dea1b3e9..c8dc9b466 100644
--- a/libnsl/Makefile
+++ b/libnsl/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libpthread/Makefile b/libpthread/Makefile
index 2dea1b3e9..c8dc9b466 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libpthread/linuxthreads.old/Makefile b/libpthread/linuxthreads.old/Makefile
index f92f205a5..f9100219a 100644
--- a/libpthread/linuxthreads.old/Makefile
+++ b/libpthread/linuxthreads.old/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libpthread/linuxthreads.old_db/Makefile b/libpthread/linuxthreads.old_db/Makefile
index f92f205a5..f9100219a 100644
--- a/libpthread/linuxthreads.old_db/Makefile
+++ b/libpthread/linuxthreads.old_db/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libpthread/linuxthreads_db/Makefile b/libpthread/linuxthreads_db/Makefile
index f92f205a5..f9100219a 100644
--- a/libpthread/linuxthreads_db/Makefile
+++ b/libpthread/linuxthreads_db/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../../
top_builddir=../../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libresolv/Makefile b/libresolv/Makefile
index 2dea1b3e9..c8dc9b466 100644
--- a/libresolv/Makefile
+++ b/libresolv/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs
diff --git a/librt/Makefile b/librt/Makefile
index 2dea1b3e9..c8dc9b466 100644
--- a/librt/Makefile
+++ b/librt/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs
diff --git a/libutil/Makefile b/libutil/Makefile
index 2dea1b3e9..c8dc9b466 100644
--- a/libutil/Makefile
+++ b/libutil/Makefile
@@ -5,9 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-TOPDIR=../
-
-top_srcdir=$(TOPDIR)
+top_srcdir=../
top_builddir=../
include $(top_builddir)Rules.mak
all: libs