summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/mips/Makefile.arch
blob: 7b6bfd48e9a7a39a11a85bdfa67b83968d4fc62f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Makefile for uClibc NPTL
#
# Copyright (C) 2005 Steven J. Hill <sjhill@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#

libpthread_SSRC = pthread_spin_lock.S pthread_spin_trylock.S	\
		  nptl-sysdep.S

libc_a_CSRC = libc-tls.c

CFLAGS-pt-raise.c = -DNOT_IN_libc=1 -DIS_IN_libpthread=1

ASFLAGS-pthread_spin_lock.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1
ASFLAGS-pthread_spin_trylock.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1
ASFLAGS-nptl-sysdep.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1	\
			-D_LIBC_REENTRANT \
		        -I$(top_srcdir)libc/sysdeps/linux/mips

CFLAGS-mips = $(SSP_ALL_CFLAGS)