Makefile.in 871 B

1234567891011121314151617181920212223242526272829
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2006 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 sighold.c \
  9. sigignore.c sigintr.c sigisempty.c sigismem.c sigjmp.c signal.c \
  10. sigorset.c sigpause.c sigrelse.c sigset.c sigsetmask.c sigsetops.c \
  11. sysv_signal.c sigwait.c
  12. ifneq ($(strip $(ARCH_OBJS)),)
  13. CSRC := $(filter-out $(notdir $(ARCH_OBJS:.o=.c)),$(CSRC))
  14. endif
  15. SIGNAL_DIR := $(top_srcdir)libc/signal
  16. SIGNAL_OUT := $(top_builddir)libc/signal
  17. SIGNAL_SRC := $(patsubst %.c,$(SIGNAL_DIR)/%.c,$(CSRC))
  18. SIGNAL_OBJ := $(patsubst %.c,$(SIGNAL_OUT)/%.o,$(CSRC))
  19. libc-y += $(SIGNAL_OBJ)
  20. objclean-y += signal_objclean
  21. signal_objclean:
  22. $(RM) $(SIGNAL_OUT)/*.{o,os}