summaryrefslogtreecommitdiff
path: root/libihash/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-08-15 09:29:26 +0000
committerRoland McGrath <roland@gnu.org>2001-08-15 09:29:26 +0000
commit175fa7701ded3785c31e82581f74e2fd32db7330 (patch)
tree3f803cb1d0a82472400823a51d74ff5107dcdc72 /libihash/Makefile
parent0642002d933b3b135f9af076f862ad1504c59d4a (diff)
2001-08-15 Roland McGrath <roland@frob.com>
* 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.
Diffstat (limited to 'libihash/Makefile')
-rw-r--r--libihash/Makefile16
1 files changed, 7 insertions, 9 deletions
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