mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-01 01:00:10 +00:00
b17277cfa2
1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com> * posix/wordexp-test.c: Avoid duplicate messages. * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and tsearch. Correctly interpret values returned by those functions. (unsetenv): Store pointer to string, not pointer to string pointer. * time/tzfile.c (__tzfile_compute): Take new arguments. Store DST information and offset in them. * time/tzset.c (__tz_convert): Pass extra parameters to __tzfile_compute. Compute equivalent values for use of tz_rules. 1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu> * iconvdata/Makefile (gen-8bit-table): Use move-if-change and stamp files to avoid unnecessary recompilation. (gen-8bit-gap-table): Likewise. (move-if-change): New variable. (all generated .h rules): Change to be .stmp rules. (%.h): New rule; depend on %.stmp; no commands. (distribute): Add gen-8bit.sh, gen-8bit-gap.sh, gen-8bit-gap-1.sh. 1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu> * Makerules (libc-map): Deleted. (load-map-file): Set to the appropriate compiler switch, not just the file name. If libfoo-map is not set, look for a libfoo.map in the current directory and $(..). (map-file): New variable, contains just the mapfile name. (build-shlib): Adjust for new value of load-map-file. (libc.so): Correct dependencies. * extra-lib.mk: Correct shlib dependencies since libfoo-map may not be set anymore. * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map). Delete libdl-map. Tweak ld.so link rule to work with changed variable settings in Makerules. * iconvdata/Makefile: Tweak build-module to work with changed variable settings in Makerules. * db/Makefile: Delete libdb-map. * hesiod/Makefile: Delete libnss_hesiod-map. * linuxthreads/Makefile: Delete libpthread-map. * locale/Makefile: Delete libBrokenLocale-map. * login/Makefile: Delete libutil-map. * math/Makefile: Delete libm-map. * md5-crypt/Makefile: Delete libcrypt-map. * nis/Makefile: Delete libnsl-map, libnss_nis-map, libnss_nisplus-map, and libnss_compat-map. * nss/Makefile: Delete libnss_files-map, libnss_db-map, and libnss_ldap-map. * resolv/Makefile: Delete libresolv-map and libnss_dns-map. * rt/Makefile: Delete librt-map. 1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu> * configure.in: Instead of substituting `yes' or `no' for whether --no-whole-archive is available, set @no_whole_archive@ to the appropriate gcc switch or the empty string. Likewise for -fno-exceptions. * config.make.in: Replace have-no-whole-archive with no-whole-archive and have-no-exceptions with no-exceptions. * Makerules: Delete stanzas setting no-whole-archive and no-exceptions. * sunrpc/Makefile: Use move-if-change to update generated .h and .c files. 1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead of strchr loop. 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * time/tzfile.c (__tzfile_read): Remove unused variable info. (__tzfile_compute): Likewise. 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new defines from Linux 2.1.102.
84 lines
2.6 KiB
Makefile
84 lines
2.6 KiB
Makefile
# Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
|
|
# This file is part of the GNU C Library.
|
|
|
|
# The GNU C Library 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.
|
|
|
|
# The GNU C Library 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 the GNU C Library; see the file COPYING.LIB. If not,
|
|
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
# Boston, MA 02111-1307, USA.
|
|
|
|
#
|
|
# Sub-makefile for MD5 crypt portion of the library.
|
|
#
|
|
subdir := md5-crypt
|
|
|
|
headers := crypt.h
|
|
|
|
distribute := md5.h
|
|
|
|
tests := md5test md5c-test
|
|
|
|
extra-libs := libcrypt
|
|
extra-libs-others := $(extra-libs)
|
|
|
|
md5-routines := crypt-entry md5-crypt md5
|
|
libcrypt-routines := $(md5-routines)
|
|
|
|
onlymd5-routines := onlymd5-entry md5-crypt md5
|
|
distribute += onlymd5-entry.c
|
|
extra-objs = $(patsubst %,onlymd5-entry%,$(object-suffixes))
|
|
|
|
include ../Makeconfig
|
|
|
|
rpath-link := $(common-objpfx)md5-crypt:$(rpath-link)
|
|
|
|
ifeq ($(crypt-in-libc),yes)
|
|
routines += $(libcrypt-routines)
|
|
endif
|
|
|
|
$(objpfx)md5test: $(objpfx)md5.o
|
|
|
|
include ../Rules
|
|
|
|
ifeq ($(build-shared),yes)
|
|
libdepend = $(common-objpfx)md5-crypt/libcrypt.so$(libcrypt.so-version)
|
|
else
|
|
libdepend = $(common-objpfx)md5-crypt/libcrypt.a
|
|
endif
|
|
|
|
$(objpfx)md5test $(objpfx)md5c-test: $(libdepend)
|
|
|
|
.PHONY: libmd5crypt
|
|
libmd5crypt: $(foreach o,$(object-suffixes), \
|
|
$(addprefix $(objpfx),$(patsubst %,$(libtype$o),md5crypt)))
|
|
ifeq ($(build-shared),yes)
|
|
libmd5crypt: $(objpfx)libmd5crypt.so
|
|
# Use the same soname as the real libcrypt, so that it can be used as a
|
|
# drop in replacement.
|
|
LDFLAGS-md5crypt.so = -Wl,-soname=lib$(libprefix)crypt.so$(libcrypt.so-version)
|
|
# We also use the same version script.
|
|
libmd5crypt-map := libcrypt.map
|
|
endif
|
|
|
|
define o-iterator-doit
|
|
$(objpfx)$(patsubst %,$(libtype$o),md5crypt): \
|
|
$(onlymd5-routines:%=$(objpfx)%$o); $$(build-extra-lib)
|
|
endef
|
|
object-suffixes-left = $(object-suffixes)
|
|
include $(patsubst %,$(..)o-iterator.mk,$(object-suffixes))
|
|
|
|
# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
|
|
# This ensures they will load libc.so for needed symbols if loaded by
|
|
# a statically-linked program that hasn't already loaded it.
|
|
$(objpfx)libcrypt.so: $(common-objpfx)libc.so
|
|
$(objpfx)libmd5crypt.so: $(common-objpfx)libc.so
|