Makefile (182627) | Makefile (209867) |
---|---|
1# $FreeBSD: head/gnu/usr.bin/cc/cc_tools/Makefile 182627 2008-09-01 18:46:03Z obrien $ | 1# $FreeBSD: head/gnu/usr.bin/cc/cc_tools/Makefile 209867 2010-07-10 02:29:22Z nwhitehorn $ |
2 3.include <bsd.own.mk> 4 5CFLAGS+= -I. 6 7.include "../Makefile.inc" 8 9CFLAGS+= -g --- 37 unchanged lines hidden (view full) --- 47TARGET_INC+= ${GCC_CPU}/x86-64.h 48.endif 49.if ${TARGET_ARCH} == "arm" || ${TARGET_ARCH} == "mips" 50TARGET_INC+= ${GCC_CPU}/elf.h 51.endif 52.if ${TARGET_ARCH} == "arm" 53TARGET_INC+= ${GCC_CPU}/aout.h 54.endif | 2 3.include <bsd.own.mk> 4 5CFLAGS+= -I. 6 7.include "../Makefile.inc" 8 9CFLAGS+= -g --- 37 unchanged lines hidden (view full) --- 47TARGET_INC+= ${GCC_CPU}/x86-64.h 48.endif 49.if ${TARGET_ARCH} == "arm" || ${TARGET_ARCH} == "mips" 50TARGET_INC+= ${GCC_CPU}/elf.h 51.endif 52.if ${TARGET_ARCH} == "arm" 53TARGET_INC+= ${GCC_CPU}/aout.h 54.endif |
55.if ${TARGET_ARCH} == "powerpc64" 56TARGET_INC+= ${GCC_CPU}/biarch64.h 57TARGET_INC+= ${GCC_CPU}/default64.h 58.endif |
|
55TARGET_INC+= ${GCC_CPU}/freebsd.h 56.if ${TARGET_ARCH} == "amd64" 57TARGET_INC+= ${GCC_CPU}/freebsd64.h 58.endif 59.if ${TARGET_ARCH} == "arm" 60TARGET_INC+= ${GCC_CPU}/arm.h 61.endif 62TARGET_INC+= defaults.h --- 103 unchanged lines hidden (view full) --- 166.if exists(${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}.opt) 167OPT_FILES+= ${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}.opt 168.endif 169 170.if exists(${.CURDIR}/${GCC_CPU}-freebsd.opt) 171OPT_FILES+= ${.CURDIR}/${GCC_CPU}-freebsd.opt 172.endif 173 | 59TARGET_INC+= ${GCC_CPU}/freebsd.h 60.if ${TARGET_ARCH} == "amd64" 61TARGET_INC+= ${GCC_CPU}/freebsd64.h 62.endif 63.if ${TARGET_ARCH} == "arm" 64TARGET_INC+= ${GCC_CPU}/arm.h 65.endif 66TARGET_INC+= defaults.h --- 103 unchanged lines hidden (view full) --- 170.if exists(${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}.opt) 171OPT_FILES+= ${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}.opt 172.endif 173 174.if exists(${.CURDIR}/${GCC_CPU}-freebsd.opt) 175OPT_FILES+= ${.CURDIR}/${GCC_CPU}-freebsd.opt 176.endif 177 |
174.if ${TARGET_ARCH} == "powerpc" | 178.if ${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "powerpc64" |
175OPT_FILES+= ${GCCDIR}/config/${GCC_CPU}/sysv4.opt 176.endif 177 178.if ${TARGET_ARCH} == "sparc64" 179OPT_FILES+= ${GCCDIR}/config/${GCC_CPU}/long-double-switch.opt 180.endif 181 182.if exists(${.CURDIR}/freebsd.opt) --- 115 unchanged lines hidden (view full) --- 298# Version header for gcov 299gcov-iov.h: 300 echo "#define GCOV_VERSION ((gcov_unsigned_t)0x34303270)" >> ${.TARGET} 301 302GENSRCS+= gcov-iov.h 303 304# Multilib config file 305multilib.h: | 179OPT_FILES+= ${GCCDIR}/config/${GCC_CPU}/sysv4.opt 180.endif 181 182.if ${TARGET_ARCH} == "sparc64" 183OPT_FILES+= ${GCCDIR}/config/${GCC_CPU}/long-double-switch.opt 184.endif 185 186.if exists(${.CURDIR}/freebsd.opt) --- 115 unchanged lines hidden (view full) --- 302# Version header for gcov 303gcov-iov.h: 304 echo "#define GCOV_VERSION ((gcov_unsigned_t)0x34303270)" >> ${.TARGET} 305 306GENSRCS+= gcov-iov.h 307 308# Multilib config file 309multilib.h: |
310.if ${TARGET_ARCH} == "powerpc64" |
|
306 echo 'static const char *const multilib_raw[] = { \ | 311 echo 'static const char *const multilib_raw[] = { \ |
312 ". !m64 !m32;", \ 313 "64:../lib m64 !m32;", \ 314 "32:../lib32 !m64 m32;", NULL };' > ${.TARGET} 315 echo 'static const char *multilib_options = "m64/m32";' >> ${.TARGET} 316 echo 'static const char *const multilib_matches_raw[] = { \ 317 "m64 m64;", "m32 m32;", NULL };' >> ${.TARGET} 318.else 319 echo 'static const char *const multilib_raw[] = { \ |
|
307 ". ;", NULL };' > ${.TARGET} | 320 ". ;", NULL };' > ${.TARGET} |
321 echo 'static const char *multilib_options = "";' >> ${.TARGET} |
|
308 echo 'static const char *const multilib_matches_raw[] = { \ 309 NULL };' >> ${.TARGET} | 322 echo 'static const char *const multilib_matches_raw[] = { \ 323 NULL };' >> ${.TARGET} |
324.endif |
|
310 echo 'static const char *multilib_extra = "";' >> ${.TARGET} | 325 echo 'static const char *multilib_extra = "";' >> ${.TARGET} |
311 echo 'static const char *multilib_options = "";' >> ${.TARGET} | |
312 echo 'static const char *const multilib_exclusions_raw[] = { \ 313 NULL };' >> ${.TARGET} 314 315GENSRCS+= multilib.h 316 317configargs.h: 318 echo 'static const char configuration_arguments[] =' > ${.TARGET} 319 echo ' "FreeBSD/${TARGET_ARCH} system compiler";' >> ${.TARGET} --- 222 unchanged lines hidden --- | 326 echo 'static const char *const multilib_exclusions_raw[] = { \ 327 NULL };' >> ${.TARGET} 328 329GENSRCS+= multilib.h 330 331configargs.h: 332 echo 'static const char configuration_arguments[] =' > ${.TARGET} 333 echo ' "FreeBSD/${TARGET_ARCH} system compiler";' >> ${.TARGET} --- 222 unchanged lines hidden --- |