minix/external/gpl3/gcc/usr.bin/cc1/Makefile

25 lines
675 B
Makefile
Raw Normal View History

# $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
.if defined(__MINIX)
LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lz -lm
DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBZ} ${LIBM}
.else
LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
.endif # defined(__MINIX)
.PATH: ${DIST}/gcc ${G_out_file:H}