summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/generic/Makefile.in
blob: eb656ee17ee2e6f3af6ccdb658673da6252d9cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Makefile for uClibc NPTL
#
# Copyright (C) 2006 Steven J. Hill <sjhill@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
subdirs += libpthread/nptl/sysdeps/generic
#
# NOTE: Alpha and MIPS have their own versions of 'libc-tls.c' in
#       their architecture specific directory which will override
#       the one here.
#
libpthread_generic_DIR := $(top_srcdir)libpthread/nptl/sysdeps/generic
libpthread_generic_OUT := $(top_builddir)libpthread/nptl/sysdeps/generic

libpthread_generic_libc_a_CSRC = libc-tls.c
libpthread_generic_libc_a_COBJ = $(patsubst %.c,$(libpthread_generic_OUT)/%.o,$(libpthread_generic_libc_a_CSRC))
libpthread_generic_libc_a_OBJS = $(libpthread_generic_libc_a_COBJ)
libpthread_ld_tls_CSRC = dl-tls.c
libpthread_ld_tls_COBJ = $(patsubst %.c,$(libpthread_generic_OUT)/%.o,$(libpthread_ld_tls_CSRC))

objclean-y += CLEAN_libpthread/nptl/sysdeps/generic

CLEAN_libpthread/nptl/sysdeps/generic:
	$(do_rm) $(addprefix $(libpthread_generic_OUT)/*., o os oS)