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 .if exists(${GCCDIR}/config/${GCC_CPU}/driver-${GCC_CPU}.c)
23 SRCS+= driver-${GCC_CPU}.c
26 DPADD= ${LIBCPP} ${LIBIBERTY}
27 LDADD= ${LIBCPP} ${LIBIBERTY}