summaryrefslogtreecommitdiff
path: root/devel/linuxthreads/files/Makefile.libgcc_r
blob: d6ec9cd3c9a9493ac111e99f0c01aef3524ffef9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libgcc_r,v 1.6 2007-07-03 08:38:00 pav Exp $

PREFIX?=	${DESTDIR}/usr/local
LIBDIR=		${PREFIX:S,^${DESTDIR},,}/lib
SHLIBDIR=	${PREFIX:S,^${DESTDIR},,}/lib
.if defined(USING_GCC4)
INSTALL_PIC_ARCHIVE=yes
.endif

CFLAGS+=-D_PTHREADS -I../ -D__USE_UNIX98
CFLAGS+=-I../sysdeps/i386 -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux
CXXFLAGS=	${CXXINCLUDES} ${CFLAGS:C/-std=[a-z:0-9]+//}

installincludes:

.include "Makefile.inc"

#
# Override various things that are set in the main Makefile.
#

.undef SUBDIR