From 175fa7701ded3785c31e82581f74e2fd32db7330 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 15 Aug 2001 09:29:26 +0000 Subject: 2001-08-15 Roland McGrath * sizes.c: New file, a list of prime numbers useful for table sizes. * priv.h (_ihash_sizes, _ihash_nsizes): Declare. (_ihash_nextprime): Don't. * ihash.c (ihash_add): Select sizes from the _ihash_sizes array instead of using _ihash_nextprime. * Makefile: Clean up whitespace, reorder all the variable definitions. (SRCS): Remove primes.c, add sizes.c instead. (OBJS): Define dynamically. --- libihash/Makefile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'libihash/Makefile') diff --git a/libihash/Makefile b/libihash/Makefile index 92078c63..902ff6d3 100644 --- a/libihash/Makefile +++ b/libihash/Makefile @@ -1,6 +1,5 @@ -# -# Copyright (C) 1995, 1996 Free Software Foundation, Inc. -# Written by Michael I. Bushnell. +# +# Copyright (C) 1995,96,2001 Free Software Foundation, Inc. # # This file is part of the GNU Hurd. # @@ -17,16 +16,15 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - + dir := libihash makemode := library -SRCS=ihash.c primes.c -LCLHDRS=ihash.h priv.h -OBJS=ihash.o primes.o libname := libihash +SRCS = ihash.c sizes.c installhdrs = ihash.h +LCLHDRS = $(installhdrs) priv.h -include ../Makeconf - +OBJS = $(SRCS:.c=.o) +include ../Makeconf -- cgit v1.2.3