OSDN Git Service

libpthread/nptl: core of the "Native Posix Threading Library" for uClibc
[uclinux-h8/uClibc.git] / libpthread / nptl / sysdeps / generic / Makefile.in
1 # Makefile for uClibc NPTL
2 #
3 # Copyright (C) 2006 Steven J. Hill <sjhill@uclibc.org>
4 #
5 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6 #
7
8 #
9 # NOTE: Alpha and MIPS have their own versions of 'libc-tls.c' in
10 #       their architecture specific directory which will override
11 #       the one here.
12 #
13 libc_a_CSRC = dl-tls.c libc-tls.c
14
15
16 CFLAGS-generic = $(SSP_ALL_CFLAGS)
17 #CFLAGS:=$(CFLAGS:-O1=-O2)
18
19 PTHREAD_GENERIC_OUT:=$(top_builddir)libpthread/nptl/sysdeps/generic
20
21 LIBC_GENERIC_OBJ:=$(patsubst %.c,$(PTHREAD_GENERIC_OUT)/%.o,$(libc_a_CSRC))
22
23 libc-static-y+=$(LIBC_GENERIC_OBJ)
24
25 libc-nomulti-y+=$(LIBC_GENERIC_OBJ)
26
27 objclean-y+=nptl_pthread_generic_clean
28
29 nptl_pthread_generic_clean:
30         $(do_rm) $(addprefix $(PTHREAD_GENERIC_OUT)/*., o os oS)