23 lines
660 B
Makefile
23 lines
660 B
Makefile
|
# $NetBSD: Makefile,v 1.5 2011/08/09 12:56:42 joerg Exp $
|
||
|
|
||
|
PROG= cc1plus
|
||
|
SRCS= ${G_CXX_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
|
||
|
|
||
|
CPPFLAGS+= -I${DIST}/gcc/cp
|
||
|
CPPFLAGS.prefix.c+= -DPREFIX=\"/usr\"
|
||
|
|
||
|
.include "../Makefile.backend"
|
||
|
.include "../Makefile.libcpp"
|
||
|
.include "../Makefile.libdecnumber"
|
||
|
|
||
|
# VER_CPPFLAGS from Makefile.inc
|
||
|
CPPFLAGS.c-cppbuiltin.c= ${VER_CPPFLAGS}
|
||
|
|
||
|
# YUCK. but see timevar.h:POP_TIMEVAR_AND_RETURN
|
||
|
CFLAGS+= -Wno-error # not good enough: -Wno-return-type
|
||
|
|
||
|
LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
|
||
|
DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
|
||
|
|
||
|
.PATH: ${DIST}/gcc/cp ${DIST}/gcc ${G_out_file:H}
|