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

28 lines
790 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.5 2011/08/09 12:56:41 joerg Exp $
MYOBJS= ${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS}
PROG= cc1obj
SRCS= ${MYOBJS:S/objc\///:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
CPPFLAGS+= -I${DIST}/gcc/objc
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}
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/objc ${DIST}/gcc ${G_out_file:H}