5 .include "Makefile.ver"
8 # These were previously defined in gcc.c. Just copy previous values from
9 # there. We ifdef most of them out for FREEBSD_NATIVE builds anyway.
10 # gcc.c won't compile without them though.
11 DRIVER_DEFINES = -DGCC_DRIVER \
12 -DDEFAULT_TARGET_VERSION=\"$(BASEVER)\" \
13 -DDEFAULT_TARGET_MACHINE=\"$(GCC_TARGET)\" \
14 -DENABLE_SHARED_LIBGCC
16 CFLAGS+= ${DRIVER_DEFINES}
18 .PATH: ../cc_tools ${GCCDIR} ${GCCDIR}/doc ${GCCDIR}/config/${GCC_CPU}
20 SRCS= gcc.c opts-common.c options.c intl.c prefix.c version.c
22 # Include -march=native support for native-ish compilers only
23 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64") && \
25 SRCS+= driver-${GCC_CPU}.c
28 DPADD= ${LIBCPP} ${LIBIBERTY}
29 LDADD= ${LIBCPP} ${LIBIBERTY}