]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - gnu/usr.bin/cc/Makefile.fe
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / gnu / usr.bin / cc / Makefile.fe
1 # $FreeBSD$
2
3 #       Front-end-only bits
4
5 .include "Makefile.ver"
6
7 #
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
15
16 CFLAGS+= ${DRIVER_DEFINES}
17
18 .PATH: ../cc_tools ${GCCDIR} ${GCCDIR}/doc ${GCCDIR}/config/${GCC_CPU}
19
20 SRCS=   gcc.c opts-common.c options.c intl.c prefix.c version.c
21
22 .if exists(${GCCDIR}/config/${GCC_CPU}/driver-${GCC_CPU}.c)
23 SRCS+=  driver-${GCC_CPU}.c
24 .endif
25
26 DPADD=  ${LIBCPP} ${LIBIBERTY}
27 LDADD=  ${LIBCPP} ${LIBIBERTY}