Browse Source

Remove TOPDIR, update copyright

Peter S. Mazinger 18 years ago
parent
commit
b27c9f6514
2 changed files with 12 additions and 20 deletions
  1. 4 15
      test/Makefile
  2. 8 5
      test/Rules.mak

+ 4 - 15
test/Makefile

@@ -1,23 +1,12 @@
 # Makefile for uClibc
 #
-# Copyright (C) 2000,2001 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
 #
-# This program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU Library General Public License as published by the Free
-# Software Foundation; either version 2 of the License, or (at your option) any
-# later version.
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 #
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more
-# details.
-#
-# You should have received a copy of the GNU Library General Public License
-# along with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
-TOPDIR=../
--include $(TOPDIR).config
+top_builddir=../
+-include $(top_builddir).config
 
 .EXPORT_ALL_VARIABLES:
 

+ 8 - 5
test/Rules.mak

@@ -1,14 +1,17 @@
 # Rules.mak for uClibc test subdirs
 #
 # Copyright (C) 2001 by Lineo, inc.
+# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+#
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 #
 # Note: This does not read the top level Rules.mak file
 #
 
-TOPDIR = ../../
-TESTDIR=$(TOPDIR)test/
+top_builddir = ../../
+TESTDIR=$(top_builddir)test/
 
--include $(TOPDIR).config
+-include $(top_builddir).config
 
 ifndef UCLIBC_LDSO
 UCLIBC_LDSO := ld-uClibc.so.0
@@ -51,7 +54,7 @@ CC         = $(CROSS)gcc
 STRIPTOOL  = strip
 RM         = rm -f
 ifeq ($(LDSO_LDD_SUPPORT),y)
-LDD        = $(TOPDIR)utils/ldd
+LDD        = $(top_builddir)utils/ldd
 else
 LDD        = @true
 endif
@@ -99,5 +102,5 @@ ifneq ($(strip $(HAVE_SHARED)),y)
 	LDFLAGS       += -static
 	GLIBC_LDFLAGS += -static
 else
-	LDFLAGS       += -Wl,-dynamic-linker,$(TOPDIR)lib/$(UCLIBC_LDSO)
+	LDFLAGS       += -Wl,-dynamic-linker,$(top_builddir)lib/$(UCLIBC_LDSO)
 endif