Makefile.in 940 B

123456789101112131415161718192021222324252627282930313233
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2005 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 $(SIGNAL_DIR)/%.c,$(SIGNAL_OUT)/%.o,$(SIGNAL_SRC))
  19. libc-a-y+=$(SIGNAL_OBJ)
  20. libc-so-y+=$(SIGNAL_OBJ:.o=.os)
  21. libc-multi-y+=$(SIGNAL_SRC)
  22. objclean-y+=signal_objclean
  23. signal_objclean:
  24. $(RM) $(SIGNAL_OUT)/*.{o,os}