1 # Makefile for uClibc NPTL
3 # Copyright (C) 2006 Steven J. Hill <sjhill@uclibc.org>
5 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
7 subdirs += libpthread/nptl/sysdeps/generic
9 # NOTE: Alpha and MIPS have their own versions of 'libc-tls.c' in
10 # their architecture specific directory which will override
13 libpthread_generic_DIR := $(top_srcdir)libpthread/nptl/sysdeps/generic
14 libpthread_generic_OUT := $(top_builddir)libpthread/nptl/sysdeps/generic
16 libpthread_generic_libc_a_CSRC = libc-tls.c
17 libpthread_generic_libc_a_COBJ = $(patsubst %.c,$(libpthread_generic_OUT)/%.o,$(libpthread_generic_libc_a_CSRC))
18 libpthread_generic_libc_a_OBJS = $(libpthread_generic_libc_a_COBJ)
19 libpthread_ld_tls_CSRC = dl-tls.c
20 libpthread_ld_tls_COBJ = $(patsubst %.c,$(libpthread_generic_OUT)/%.o,$(libpthread_ld_tls_CSRC))
22 objclean-y += CLEAN_libpthread/nptl/sysdeps/generic
24 CLEAN_libpthread/nptl/sysdeps/generic:
25 $(do_rm) $(addprefix $(libpthread_generic_OUT)/*., o os oS)