diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-17 22:56:02 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-17 22:56:02 +0000 |
commit | 0a7b9d5d57021e616dc5e4b5dfaa3b93131381af (patch) | |
tree | c8f59bd3d11749d7512393e5e34e17a7270c5bc6 /libc/misc | |
parent | c24e561a344c12f829ffffbf1b5b7b179409b0da (diff) |
Include all lib*/Makefile.in in top_srcdir/Makefile.in, allows adding foreign objects to a lib
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/internals/Makefile.in | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/misc/internals/Makefile.in b/libc/misc/internals/Makefile.in index 2916475ec..bfae764e4 100644 --- a/libc/misc/internals/Makefile.in +++ b/libc/misc/internals/Makefile.in @@ -6,7 +6,7 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # -CFLAGS-__uClibc_main.c=$(SSP_DISABLE_FLAGS) +CFLAGS-__uClibc_main.c:=$(SSP_DISABLE_FLAGS) CSRC:=tempname.c errno.c __errno_location.c __h_errno_location.c @@ -16,9 +16,7 @@ MISC_INTERNALS_OUT:=$(top_builddir)libc/misc/internals MISC_INTERNALS_SRC:=$(patsubst %.c,$(MISC_INTERNALS_DIR)/%.c,$(CSRC)) MISC_INTERNALS_OBJ:=$(patsubst %.c,$(MISC_INTERNALS_OUT)/%.o,$(CSRC)) -STATIC_SRC:=__uClibc_main.c - -$(MISC_INTERNALS_OUT)/interp.c: $(MISC_INTERNALS_DIR)/Makefile.in +$(MISC_INTERNALS_OUT)/interp.c: headers_root $(Q)echo "/* Force shared libraries to know about the correct library loader */" > $@ $(Q)echo "#include <features.h>" >> $@ $(Q)echo "#ifdef __HAVE_ELF__" >> $@ @@ -29,8 +27,7 @@ $(MISC_INTERNALS_OUT)/interp.c: $(MISC_INTERNALS_DIR)/Makefile.in libc-a-y+=$(MISC_INTERNALS_OBJ) libc-so-y+=$(MISC_INTERNALS_OBJ:.o=.os) libc-shared-y+=$(MISC_INTERNALS_OUT)/__uClibc_main.oS -libc-static-y+=$(patsubst %.c,$(MISC_INTERNALS_OUT)/%.o,$(STATIC_SRC)) -other-y+=$(MISC_INTERNALS_OUT)/interp.os +libc-static-y+=$(MISC_INTERNALS_OUT)/__uClibc_main.o libc-multi-y+=$(MISC_INTERNALS_SRC) |