Makefile.inc (32763) | Makefile.inc (34229) |
---|---|
1# | 1# |
2# $Id: Makefile.inc,v 1.21 1998/01/11 04:10:26 jb Exp $ | 2# $Id: Makefile.inc,v 1.22 1998/01/25 09:49:00 jb Exp $ |
3# 4 5# Sometimes this is .include'd several times... 6.if !defined(GCCDIR) 7GCCDIR= ${.CURDIR}/../../../../contrib/gcc 8.PATH: ../cc_tools ${GCCDIR} ${GCCDIR}/cp ${GCCDIR}/objc 9 10BISON?= bison --- 7 unchanged lines hidden (view full) --- 18.if ${MACHINE} == "alpha" 19BINFORMAT= elf 20.else 21# Pick aout for now. the elf config is not binary compatable. 22BINFORMAT?= aout 23#BINFORMAT?= elf 24.endif 25 | 3# 4 5# Sometimes this is .include'd several times... 6.if !defined(GCCDIR) 7GCCDIR= ${.CURDIR}/../../../../contrib/gcc 8.PATH: ../cc_tools ${GCCDIR} ${GCCDIR}/cp ${GCCDIR}/objc 9 10BISON?= bison --- 7 unchanged lines hidden (view full) --- 18.if ${MACHINE} == "alpha" 19BINFORMAT= elf 20.else 21# Pick aout for now. the elf config is not binary compatable. 22BINFORMAT?= aout 23#BINFORMAT?= elf 24.endif 25 |
26# same backend, just change compiled-in default. |
|
26.if ${BINFORMAT} == aout 27CFLAGS+= -DFREEBSD_AOUT | 27.if ${BINFORMAT} == aout 28CFLAGS+= -DFREEBSD_AOUT |
28target= ${MACHINE_ARCH}-unknown-freebsd | |
29.endif 30.if ${BINFORMAT} == elf 31CFLAGS+= -DFREEBSD_ELF | 29.endif 30.if ${BINFORMAT} == elf 31CFLAGS+= -DFREEBSD_ELF |
32target= ${MACHINE_ARCH}-unknown-freebsdelf | |
33.endif 34 | 32.endif 33 |
34target= ${MACHINE_ARCH}-unknown-freebsd |
|
35version!= sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${GCCDIR}/version.c 36 37CFLAGS+= -I${GCCDIR} -I${GCCDIR}/config 38CFLAGS+= -DFREEBSD_NATIVE 39CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\" 40CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\" 41 42.if exists(${.OBJDIR}/../cc_tools) --- 14 unchanged lines hidden --- | 35version!= sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${GCCDIR}/version.c 36 37CFLAGS+= -I${GCCDIR} -I${GCCDIR}/config 38CFLAGS+= -DFREEBSD_NATIVE 39CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\" 40CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\" 41 42.if exists(${.OBJDIR}/../cc_tools) --- 14 unchanged lines hidden --- |