2012-06-06 15:06:52 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2011/08/09 12:56:41 joerg Exp $
|
|
|
|
|
|
|
|
PROG= cc1
|
|
|
|
SRCS= ${G_C_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
|
|
|
|
CPPFLAGS+= -DPREFIX=\"/usr\"
|
|
|
|
|
|
|
|
.include "../Makefile.backend"
|
|
|
|
.include "../Makefile.libcpp"
|
|
|
|
.include "../Makefile.libdecnumber"
|
|
|
|
|
|
|
|
# VER_CPPFLAGS from Makefile.inc
|
|
|
|
CPPFLAGS.c-cppbuiltin.c= ${VER_CPPFLAGS}
|
|
|
|
|
|
|
|
COPTS+= -Wno-stack-protector
|
|
|
|
|
2013-04-24 18:57:59 +02:00
|
|
|
.if defined(__MINIX)
|
|
|
|
LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lz -lm
|
|
|
|
DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBZ} ${LIBM}
|
|
|
|
.else
|
2012-06-06 15:06:52 +02:00
|
|
|
LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
|
|
|
|
DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
|
2013-04-24 18:57:59 +02:00
|
|
|
.endif # defined(__MINIX)
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
.PATH: ${DIST}/gcc ${G_out_file:H}
|