Makefile.in 993 B

12345678910111213141516171819202122232425262728293031323334
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. CSRC := allocrtsig.c killpg.c raise.c sigaction.c sigaddset.c sigandset.c \
  8. sigblock.c sigdelset.c sigempty.c sigfillset.c siggetmask.c \
  9. sigintr.c sigisempty.c sigismem.c sigjmp.c signal.c \
  10. sigorset.c sigpause.c sigsetmask.c sigsetops.c sigwait.c
  11. ifeq ($(UCLIBC_HAS_OBSOLETE_BSD_SIGNAL),y)
  12. CSRC += sighold.c sigignore.c sigrelse.c sigset.c
  13. endif
  14. ifeq ($(UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL),y)
  15. CSRC += sysv_signal.c
  16. endif
  17. ifneq ($(strip $(ARCH_OBJS)),)
  18. CSRC := $(filter-out $(notdir $(ARCH_OBJS:.o=.c)),$(CSRC))
  19. endif
  20. SIGNAL_DIR := $(top_srcdir)libc/signal
  21. SIGNAL_OUT := $(top_builddir)libc/signal
  22. SIGNAL_SRC := $(patsubst %.c,$(SIGNAL_DIR)/%.c,$(CSRC))
  23. SIGNAL_OBJ := $(patsubst %.c,$(SIGNAL_OUT)/%.o,$(CSRC))
  24. libc-y += $(SIGNAL_OBJ)
  25. objclean-y += signal_clean
  26. signal_clean:
  27. $(do_rm) $(addprefix $(SIGNAL_OUT)/*., o os)