fcb2469be6
disables dysfunctional disinformed namei's, needlessly negating namei cache." These hacks cuts the number futile attempts made by cc and ccp to find cross-compilers and other weird stuff. A make of the BOOTFLP kernel has 20% less namei calls now, that is from 30647 down to 24563 calls.
30 lines
834 B
Makefile
30 lines
834 B
Makefile
#
|
|
# $Id: Makefile.inc,v 1.10 1994/11/15 04:51:21 phk Exp $
|
|
#
|
|
|
|
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../include
|
|
CFLAGS+= -Dbsd4_4
|
|
CFLAGS+= -DGCC_INCLUDE_DIR=\"FOO\"
|
|
CFLAGS+= -DTOOL_INCLUDE_DIR=\"FOO\"
|
|
CFLAGS+= -DGPLUSPLUS_INCLUDE_DIR=\"FOO\"
|
|
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"2.6.2\"
|
|
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"i386--freebsd\"
|
|
CFLAGS+= -DSTANDARD_EXEC_PREFIX=\"/usr/libexec/\"
|
|
CFLAGS+= -DSTANDARD_STARTFILE_PREFIX=\"/usr/lib/\"
|
|
CFLAGS+= -DHAVE_PUTENV
|
|
CFLAGS+= -DGCC_NAME=\"cc\"
|
|
|
|
.if exists(${.CURDIR}/../cc_int/obj)
|
|
LIBDESTDIR= ${.CURDIR}/../cc_int/obj
|
|
.else
|
|
LIBDESTDIR= ${.CURDIR}/../cc_int
|
|
.endif
|
|
|
|
# XXX LDDESTDIR isn't a directory and there is no standard name for the dir
|
|
LDDESTDIR= -L${LIBDESTDIR}
|
|
.if defined(SHARED_LIBCC_INT)
|
|
LIBCC_INT= ${LIBDESTDIR}/libcc_int.so.262.0
|
|
.else
|
|
LIBCC_INT= ${LIBDESTDIR}/libcc_int.a
|
|
.endif
|