freebsd-ports/devel/linuxthreads/files/Makefile.libsupc++
Tor Egge 87937c3ca2 Adjust to changed compilation environment (Makefiles setup) in 5.1-CURRENT.
Link with liblgcc_r when creating linuxthreads versions of shared
libraries.
2003-06-09 00:25:05 +00:00

19 lines
492 B
Text

# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libsupc++,v 1.2 2003-06-09 00:25:05 tegge Exp $
PREFIX?= ${DESTDIR}/usr/local
LIBDIR= ${PREFIX:S,^${DESTDIR},,}/lib
CFLAGS+=-D_PTHREADS -I../
CFLAGS+=-I../sysdeps/i386 -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux
CXXFLAGS= ${CXXINCLUDES} ${CFLAGS:C/-std=[a-z:0-9]+//}
LDADD=../libgcc_r/liblgcc_r.a
installincludes:
.include "Makefile.inc"
#
# Override various things that are set in the main Makefile.
#
.undef SUBDIR