Remove building with NOCRYPTO option
[minix.git] / external / gpl3 / gcc / usr.bin / cc1obj / Makefile
blobbf99beab65e7342f40565af897ed648472d4bd07
1 # $NetBSD: Makefile,v 1.8 2014/05/31 22:55:17 mrg Exp $
3 MYOBJS= ${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS}
4 PROG= cc1obj
5 SRCS= ${MYOBJS:S,objc/,,:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
7 CPPFLAGS+= -I${DIST}/gcc/objc
8 CPPFLAGS.prefix.c+= -DPREFIX=\"/usr\"
10 .include "../Makefile.backend"
11 .include "../Makefile.backtrace"
12 .include "../Makefile.common"
13 .include "../Makefile.common-target"
14 .include "../Makefile.libcpp"
15 .include "../Makefile.libdecnumber"
16 .include "../Makefile.libiberty"
18 CHECKSUM_OBJS= ${BACKENDOBJ}/libbackend.a \
19 main.o \
20 ${LIBBACKTRACEOBJ}/libbacktrace.a \
21 ${COMMONOBJ}/libcommon.a \
22 ${COMMONTARGETOBJ}/libcommon-target.a \
23 ${LIBCPPOBJ}/libcpp.a \
24 ${LIBDECNUMBEROBJ}/libdecnumber.a \
25 ${LIBIBERTYOBJ}/libiberty.a \
26 ${MYOBJS:S,objc/,,:S,c-family/,,:S,c/,,} \
27 checksum-options
29 .include "../Makefile.checksum"
31 # XXX check this out
32 # LDFLAGS+= -rdynamic
34 # VER_CPPFLAGS from Makefile.inc
35 CPPFLAGS.c-cppbuiltin.c= ${VER_CPPFLAGS}
36 c-cppbuiltin.c: ${GCCARCH}/defs.mk
38 COPTS.c-ada-spec.c+= -Wno-stack-protector
39 COPTS.c-aux-info.c+= -Wno-stack-protector
40 COPTS.c-common.c+= -Wno-stack-protector
41 COPTS.c-cppbuiltin.c+= -Wno-stack-protector
42 COPTS.c-format.c+= -Wno-stack-protector
43 COPTS.c-lex.c+= -Wno-stack-protector
44 COPTS.c-ppoutput.c+= -Wno-stack-protector
45 COPTS.c-pragma.c+= -Wno-stack-protector
46 COPTS.c-typeck.c+= -Wno-stack-protector
47 COPTS.objc-act.c+= -Wno-stack-protector
48 COPTS.objc-gnu-runtime-abi-01.c+= -Wno-stack-protector
49 COPTS.objc-next-runtime-abi-01.c+= -Wno-stack-protector
51 .if defined(__MINIX)
52 LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lz -lm
53 DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBZ} ${LIBM}
54 .else
55 LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
56 DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
57 .endif # defined(__MINIX)
59 .PATH: ${DIST}/gcc/objc ${DIST}/gcc/c ${DIST}/gcc/c-family
60 .PATH: ${DIST}/gcc ${DIST}/gcc/config
61 .PATH: ${G_out_file:H}