Makefile.in 713 B

1234567891011121314151617181920
  1. # Copyright (C) 2008 STMicroelectronics Ltd.
  2. # Author: Carmelo Amoroso <carmelo.amoroso@st.com>
  3. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  4. #
  5. libc_a_CSRC = dl-support.c dl-core.c dl-iterate-phdr.c
  6. CFLAGS-dl-iterate-phdr.c=-D_GNU_SOURCE -I$(top_srcdir)ldso/ldso/$(TARGET_ARCH) -I$(top_srcdir)ldso/include
  7. CFLAGS-dl-core.c=-I$(top_srcdir)ldso/ldso/$(TARGET_ARCH) -I$(top_srcdir)ldso/include
  8. MISC_ELF_OUT:=$(top_builddir)libc/misc/elf
  9. MISC_ELF_OBJ:=$(patsubst %.c,$(MISC_ELF_OUT)/%.o,$(libc_a_CSRC))
  10. libc-static-y += $(MISC_ELF_OBJ)
  11. libc-shared-y += $(MISC_ELF_OUT)/dl-iterate-phdr.oS
  12. objclean-y+= misc_elf_clean
  13. misc_elf_clean:
  14. $(do_rm) $(addprefix $(MISC_ELF_OUT)/*., o os oS)