summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-03-13 06:51:32 +0000
committerRoland McGrath <roland@gnu.org>1995-03-13 06:51:32 +0000
commit01a36ad3073c62dec584a72e869d6e2963333d34 (patch)
tree8f60cdf62ccfcb5d1ad4a05fbd7bf54c4a7cd7e6 /Makefile
parent4ca6860994510e83ae70975c669a5dc37f89919a (diff)
downloadglibc-01a36ad3073c62dec584a72e869d6e2963333d34.tar.gz
glibc-01a36ad3073c62dec584a72e869d6e2963333d34.tar.xz
glibc-01a36ad3073c62dec584a72e869d6e2963333d34.zip
Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* Makefile ($(libc.a)(__.SYMDEF)): Target removed.
	[$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so.

	* sysdeps/stub/ulimit.c: Don't include gnu-stabs.h.
	* sysdeps/stub/pause.c: Likewise.
	* sysdeps/stub/time.c: Likewise.

	* stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the
 	locale data format is implemented.
	* stdlib/wctomb.c: Likewise.

	* mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the
 	gcc bug is fixed.
	* mach/errsystems.c: File removed.

	* Makeconfig (libc.a): Variable removed.
	(+link): Don't use it.

	* configure.in (AC_ARG_ENABLE calls): Use $enableval instead of
 	assuming `yes'.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3b1cefa7ae..e3ec603ced 100644
--- a/Makefile
+++ b/Makefile
@@ -103,8 +103,13 @@ include Makerules
 # Install from subdirectories too.
 install: subdir_install
 
-lib-noranlib $(libc.a)(__.SYMDEF): subdir_lib
+# Build subdirectory lib objects.
+lib-noranlib: subdir_lib
 
+ifeq (yes,$(build-shared))
+# Build the shared object from the PIC object library.
+lib: $(common-objpfx)libc.so
+endif
 
 $(objpfx)sysd-dirs: $(+sysdir_pfx)config.make
 	(echo define sysdep-subdirs;					      \