diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-01-26 13:54:26 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-01-26 13:54:26 +0100 |
commit | 5682ae1fcf3fc78ab89dd0bad6403cd81502a37c (patch) | |
tree | 59349c5cfb77894c4bf591eb2905a76741080d4a /libc/signal | |
parent | 37e26d6e19558d9f149722e513cb29c4374b8d8d (diff) |
convert to foo-y kbuild style
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/signal')
-rw-r--r-- | libc/signal/Makefile.in | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/libc/signal/Makefile.in b/libc/signal/Makefile.in index f768b7019..9e234b4ce 100644 --- a/libc/signal/Makefile.in +++ b/libc/signal/Makefile.in @@ -7,29 +7,24 @@ subdirs += libc/signal -CSRC := allocrtsig.c killpg.c raise.c sigaction.c sigaddset.c sigandset.c \ +CSRC-y := 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 +CSRC-$(UCLIBC_HAS_OBSOLETE_BSD_SIGNAL) += \ + sighold.c sigignore.c sigrelse.c sigset.c +CSRC-$(UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL) += sysv_signal.c +CSRC-$(UCLIBC_SUSV4_LEGACY) += sigintr.c ifneq ($(strip $(ARCH_OBJS)),) -CSRC := $(filter-out $(notdir $(ARCH_OBJS:.o=.c)),$(CSRC)) +CSRC-y := $(filter-out $(notdir $(ARCH_OBJS:.o=.c)),$(CSRC-y)) 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)) +SIGNAL_SRC := $(patsubst %.c,$(SIGNAL_DIR)/%.c,$(CSRC-y)) +SIGNAL_OBJ := $(patsubst %.c,$(SIGNAL_OUT)/%.o,$(CSRC-y)) libc-y += $(SIGNAL_OBJ) |