123456789101112131415161718192021222324252627282930313233343536373839 |
- # Makefile for uClibc
- #
- # Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
- #
- # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
- #
- subdirs += libc/signal
- CSRC := allocrtsig.c killpg.c raise.c sigaction.c sigaddset.c sigandset.c \
- sigblock.c sigdelset.c sigempty.c sigfillset.c siggetmask.c \
- sigisempty.c sigismem.c sigjmp.c signal.c \
- sigorset.c sigpause.c sigsetmask.c sigsetops.c sigwait.c
- ifeq ($(UCLIBC_HAS_OBSOLETE_BSD_SIGNAL),y)
- CSRC += sighold.c sigignore.c sigrelse.c sigset.c
- endif
- ifeq ($(UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL),y)
- CSRC += sysv_signal.c
- endif
- ifeq ($(UCLIBC_SUSV4_LEGACY),y)
- CSRC += sigintr.c
- endif
- ifneq ($(strip $(ARCH_OBJS)),)
- CSRC := $(filter-out $(notdir $(ARCH_OBJS:.o=.c)),$(CSRC))
- endif
- SIGNAL_DIR := $(top_srcdir)libc/signal
- SIGNAL_OUT := $(top_builddir)libc/signal
- SIGNAL_SRC := $(patsubst %.c,$(SIGNAL_DIR)/%.c,$(CSRC))
- SIGNAL_OBJ := $(patsubst %.c,$(SIGNAL_OUT)/%.o,$(CSRC))
- libc-y += $(SIGNAL_OBJ)
- objclean-y += signal_clean
- signal_clean:
- $(do_rm) $(addprefix $(SIGNAL_OUT)/*., o os)
|