From 08e0c24b47a9abfd5536ee0cda1d0204bf7cc93c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 18 Jun 2001 20:05:49 +0000 Subject: This commit finishes adding support for the old m68k-coff toolchains by working around a missing header file in the compiler shipped with the uCsimm and uCdimm. This should make the folk in Toronto happy, since now they can use the latest CVS version of uClibc. -Erik --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4c95a4830..7516209e8 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ headers: dummy (cd include/bits; ln -sf ../../../../../uClibc_config.h uClibc_config.h) $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers -uClibc_config.h: Config +uClibc_config.h: Makefile Config @echo "/* WARNING!!! AUTO-GENERATED FILE!!! DO NOT EDIT!!! */" > uClibc_config.h @echo "#if !defined __FEATURES_H && !defined __need_uClibc_config_h" >> uClibc_config.h @echo "#error Never include directly; use instead." >> uClibc_config.h @@ -130,6 +130,11 @@ uClibc_config.h: Config else \ echo "#define HAVE_ELF 1" >> uClibc_config.h ; \ fi + @if [ "$(HAVE_SHARED)" = "false" ] ; then \ + echo "#undef HAVE_SHARED" >> uClibc_config.h ; \ + else \ + echo "#define HAVE_SHARED 1" >> uClibc_config.h ; \ + fi @if [ "$(TARGET_ARCH)" = "sh" ] ; then \ echo "#define NO_UNDERSCORES 1" >> uClibc_config.h ; \ else \ -- cgit v1.2.3