~ubuntu-branches/ubuntu/quantal/uclibc/quantal

« back to all changes in this revision

Viewing changes to libc/signal/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Hector Oron
  • Date: 2011-06-11 03:06:20 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110611030620-ywjfvyuqvrpsm282
Tags: 0.9.32-1
* New upstream release
* Add myself as maintainer
* Bump standards version 
* Add Vcs-Git, Vcs-Browser and Homepage fields
* Add watch file 

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6
6
#
7
7
 
8
 
CSRC := allocrtsig.c killpg.c raise.c sigaction.c sigaddset.c sigandset.c \
 
8
subdirs += libc/signal
 
9
 
 
10
CSRC-y := allocrtsig.c killpg.c raise.c sigaction.c sigaddset.c sigandset.c \
9
11
        sigblock.c sigdelset.c sigempty.c sigfillset.c siggetmask.c \
10
 
        sigintr.c sigisempty.c sigismem.c sigjmp.c signal.c \
 
12
        sigisempty.c sigismem.c sigjmp.c signal.c \
11
13
        sigorset.c sigpause.c sigsetmask.c sigsetops.c sigwait.c
12
 
ifeq ($(UCLIBC_HAS_OBSOLETE_BSD_SIGNAL),y)
13
 
CSRC += sighold.c sigignore.c sigrelse.c sigset.c
14
 
endif
15
 
ifeq ($(UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL),y)
16
 
CSRC += sysv_signal.c
 
14
CSRC-$(UCLIBC_HAS_OBSOLETE_BSD_SIGNAL) += \
 
15
        sighold.c sigignore.c sigrelse.c sigset.c
 
16
CSRC-$(UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL) += sysv_signal.c
 
17
CSRC-$(UCLIBC_SUSV4_LEGACY) += sigintr.c
 
18
 
 
19
ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
 
20
CSRC-y:=$(filter-out raise.c sigaction.c,$(CSRC-y))
17
21
endif
18
22
 
19
23
ifneq ($(strip $(ARCH_OBJS)),)
20
 
CSRC := $(filter-out $(notdir $(ARCH_OBJS:.o=.c)),$(CSRC))
 
24
CSRC-y := $(filter-out $(notdir $(ARCH_OBJS:.o=.c)),$(CSRC-y))
21
25
endif
22
26
 
23
27
SIGNAL_DIR := $(top_srcdir)libc/signal
24
28
SIGNAL_OUT := $(top_builddir)libc/signal
25
29
 
26
 
SIGNAL_SRC := $(patsubst %.c,$(SIGNAL_DIR)/%.c,$(CSRC))
27
 
SIGNAL_OBJ := $(patsubst %.c,$(SIGNAL_OUT)/%.o,$(CSRC))
 
30
SIGNAL_SRC := $(patsubst %.c,$(SIGNAL_DIR)/%.c,$(CSRC-y))
 
31
SIGNAL_OBJ := $(patsubst %.c,$(SIGNAL_OUT)/%.o,$(CSRC-y))
28
32
 
29
33
libc-y += $(SIGNAL_OBJ)
30
34
 
31
 
objclean-y += signal_clean
 
35
objclean-y += CLEAN_libc/signal
32
36
 
33
 
signal_clean:
 
37
CLEAN_libc/signal:
34
38
        $(do_rm) $(addprefix $(SIGNAL_OUT)/*., o os)