Makefile.in 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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-a-pic-y+=$(SIGNAL_OBJ:.o=.os)
  21. libc-so-y+=$(SIGNAL_OBJ:.o=.os)
  22. # either sigaction or allocrtsig have to be removed
  23. #libc-multi-y+=$(SIGNAL_SRC)
  24. libc-nomulti-y+=$(SIGNAL_OBJ)
  25. objclean-y+=signal_objclean
  26. signal_objclean:
  27. $(RM) $(SIGNAL_OUT)/*.{o,os}